Here are rules when including JSF pages that need to be followed.
i) The "top level" JSF page must have an
ii) The content of the included JSF (faces) page fragments need to be surrounded with
iii) All non JSF tags and content in the included JSF (faces) page fragments need to be surrounded by f:verbatim tags.
If you're using JSF with a JSP renderer, make sure you're following all of these rules.
If you're building a system with lots of includes and you're using JSF, I'd probably suggest that you consider Facelets. It eliminates requirement (iii) and has expanded support for templating and dynamic inclusion. It does however introduce a few other requirements, most notably that your pages be strict XML.
jsp:include page - Error - javax.servlet.jsp.JspException: Assertion Failed
Labels: JSF, JSF Portlets Apllication
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment