Unable to view event details created in the first faces Schedule

Asked

Viewed 85 times

0

This is intriguing me has a time, use in the project the Schedule of the primefaces to add events, even then it’s okay, all the computers add and send to the online database, there is also a method that lists all the details of each event when you click on it, only that some computers right see events registered by one but on another PC is not possible, I have no idea why this is happening and nor how to solve.

I created this on my PC and I can see. localhost This was created on another PC and I can still see ( from my pc). outra maquina com view This was created on another PC and I can’t see ( but on another PC other than what I can see events, can show those.) outro sem view

So maybe I was confused, it seems to me that events are appearing in pairs ( I don’t know if they really are pairs) but I know that the 4 I tested 2 can see the details of their events and the others can not.

Detail all events appear in the scheuld for all PC but the details do not.

1 answer

0


This is related to Ajax events

That is, when you define (or not, but should limit the scope of the page update) the process="@this" property processes only the Current tag, if you use the update="@form" property, then it updates the Parent form component tree (didactically set to fit its context).

Why does it work the first time? or Monday until a non-functional hour more. You last updated the JSF component tree before error, but did not notify the next one that a particular part of the page has changed.

In this, come and go, the view Scop (component tree is outdated, with respect to the state he knows, here it happens)

Suggested solution, when you have a complex component, use a p:outpuPanel, and process and update it, always visible, decreases the complexity of this DOM update.

This looks complex, but it’s Ajax and its concepts, updating the DOM and not notifying everyone. Guy had a street, now he’s got a hole in the street, but there’s no sign warning (then problem) to have no problem warn everyone or to whom it matters.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.