DRY partials with optional ajax listener
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?
-
- Information
-
Who is online
Users browsing this forum: No registered users and 31 guests