I have a layout with some link (commandLink) on my left hand side and each time a user clicks on one of the link, I get the link trough a backing Bean to know wich one has been clicked and I opene the corresponding page on the Center layout unit. On the commandLinks here are on one form (form1)
The problem is that my center layout unit get it's source also from the backing Bean with <ui:include src="#{myBean.pageControl}" inside another form (form2)
Anytime I click on a link the value of the link is well retrived from the Bean with the corresponding page. But I do not know how to update the <ui:include src="#{myBean.pageControl}" component.
When I use <h:commandLink, it works but the page is reloaded and that is what I want to avoid
Thanks for your help
<p:commandLink with Ajax, updating <ui:include
-
- Information
-
Who is online
Users browsing this forum: No registered users and 28 guests