Hi, I am interested with primefaces and ajax rendering the page. I have a button <p:commandButton update="part" value="DO" actionListener="#{backingBean.listenDO}" process="@all" />
It is working only after second click on button. But the method in listener is done after first click. I tryied update page refreshing F5 in browser and it helps, after page has changed after first click.
I have also similar problem with using <p:dialog>, the button updates part of <p:panel > after seconf click on it. I think problem is that the part of page I would like to change is rendered before the actionlistener method is done. How the rendering cycle works, can be the method done before rendering part of page?
thanks
Ajax, partial page update
-
- Information
-
Who is online
Users browsing this forum: No registered users and 18 guests