<p:commandLink with Ajax, updating <ui:include

UI Components for JSF
Post Reply
mesken
Posts: 68
Joined: 27 Mar 2011, 02:53

08 May 2011, 15:39

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
Eclipse Helios 3.6 | Glassfish 3.1 | PrimeFaces 2.2.1

mesken
Posts: 68
Joined: 27 Mar 2011, 02:53

09 May 2011, 21:07

I have not yet succeeded aupdate <ui:include src="#{myBean.pageControl}" through Ajax or PRP using <h:commandLink. Any idea ?

Thanks for you support.
Eclipse Helios 3.6 | Glassfish 3.1 | PrimeFaces 2.2.1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 28 guests