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 […]