FAQ Database Discussion Community


Handling TagAttributeException and change ui:includeSrc

validation,jsf,facelets,jsf-2.2,uiinclude
We have dynamic menu items in a page and the links for include-source .xhtml stored in the DB, in this scenario if source xhtml is wrongly input or failed to find the application context it throws TagAttributeException with Invalid Path message. After this event, if we make any ajax request...

Every include should refer to other instance

jsf,jsf-2,reference,uiinclude
I include a part of the XHTML page to my Web Application. This part can be included multiple times. And that's the problem! Because every include refers to the same java object. That means that every element has the same value. But I want for each include a new Java...