Friday, May 22, 2009

JSF tips and Tricks

If you are using JSF in your application, then you should probably read through. This blog covers all the problems that I faced while using Apache Trinidad Implementation of JSF and the solutions to those problems. RTL Language Switching: If your application has both LTR ( languages like English) and RTL(languages like Arabic, Hebrew) support, then be extra careful while creating your jspx pages. Make sure your jspx page doesn't contain any free text between tags. It can mess with your page swap functionality. Make sure that the jspx is a has proper XML structure. If the XML structure is not proper, no error will be thrown but most of the JSF functionality will not work. Verbatim Tag Use verbatim tag if you want to write html code/ free text inside jspx page. The verbatim tag is standard tag supported by all JSF implementations. This tag display the enclosed content as is and Expression within the tag will NOT be evaluated.

No comments:

Post a Comment