If you are familiar with JavaServer Faces, maybe already read or heard someone talk about JSF implicit objects.In short, an implicit object is similar to a managed bean, but one that is created and maintained by the JSF engine, which you may make reference to with EL. The implicit EL object #{facesContext} maintained by the […]

If you are getting this error, just add the following parameter to your web.xml file:     <context-param>        <param-name>facelets.REFRESH_PERIOD</param-name>        <param-value>-1</param-value>    </context-param> facelets.REFRESH_PERIODWhen a page is requested, what interval in seconds should the compiler check for changes. If you don’t want the compiler to check for changes once the page is compiled, then use a value of […]

If you want to use javascript, with the <script> tag in Facelets xhtml file, and your script have characters like ‘>’, ‘<’, you may get this error message: com.sun.facelets.FaceletException: Error Parsing /filename.xhtml: Error Traced[line: xx] The content of elements must consist of well-formed character data or markup. … To avoid this parsing error use the […]

Hello everyone! Looking at Mojarra jars (jsf-api.jar and jsf-impl.jar), reference implementation of JavaServer Faces, depending of which version you are using, you’ll find at least one file named Messages.properties. This file holds the standard messages for converters, validators, component errors and other implementation defined messages. In the lasted version of Mojarra (1.2_11-b01-FCS), those messages are […]

These days I was looking an alternative solution to JBoss Seam, to provide conversation scope to my JavaServer Faces backing beans, and I wanted that this new solution be easily integrated with Spring Framework and others frameworks used in the application, like JBoss RichFaces, Facelets, Hibernate. So I’ve found the MyFaces Orchestra project through this […]