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.
No comments:
Post a Comment
Feel free to write into us