Can not view event details created in primefaces schedule

0

This is intriguing has a time, I use in the project the schedule of the primefaces to add events, so long, 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 some computers are sure to see events registered by one but on another PC is not possible, I have no idea why this is happening or how to solve.

I created this on my PC and I can see it. ThiswascreatedonanotherPCandIcanstillsee(frommypc). ThisonewascreatedinanotherPCandIcannotsee(butstillanotherPCwithoutbeingwhatIcanseetheevents,canshowthoseones.)

So maybe it was confusing, I think the events are showing up in pairs (I do not know if they really are even) but I know the 4 that I tested 2 can see the details of their events and the others do not.

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

    
asked by anonymous 17.11.2016 / 20:48

1 answer

0

This is related to Ajax events

That is, when you set (or not, but should limit the refresh scope of the page ) the process="@ this" property only processes the current tag if you use the update="@form", there it updates the parent form component tree (definition at didactic level setting for its context).

Why does it work the first time? or second to an hour no longer work. You update the JSF component tree last time before giving error, but did not notify the next one that certain part of the page has changed.

In that, come and go, the view scop (component tree is out of date, with respect to the state it knows, so there it is)

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

This seems complex, but it is Ajax and its concepts, updating the DOM and not notifying everyone. type had a street, now has a hole in the street, but there is no sign warning ( then problem ) to not have problem let everyone know or whom it matters.

    
17.11.2016 / 21:09