DRY partials with optional ajax listener

UI Components for JSF
Post Reply
qpias
Posts: 14
Joined: 22 Nov 2011, 23:41

12 Dec 2011, 19:13

We're trying to keep our templates (PF3) DRY by using ui:includes and ui:params. Now there's a slight problem, when one of otherwise similar sections needs an ajax listener while the others do not. It seems that the "rendered" attribute can not be used with p:ajax tag, but, for such a small difference, it would feel very annoying to create a completely separate partial. Is there a nice and clean "Primefaces Way" to achieve this kind of functionality?

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 31 guests