not really sure what you are doing, mixing jspx / xhtml ?

I'd never use JSPX... and on facelets you don't need f:view

please check the facesgoodie, that is a working example (including facelets)

-M

On Tue, Aug 11, 2009 at 3:10 PM, Shaun Campbell<campbell.sh...@gmail.com> wrote:
> One more piece of information.  I put progressIndicator.jspx into my project
> and tried to run it.  I get an error:
>
> java.lang.RuntimeException: FacesContext not found
>       
> javax.faces.webapp.UIComponentClassicTagBase.getFacesContext(UIComponentClassicTagBase.java:238)
>
>       
> javax.faces.webapp.UIComponentClassicTagBase.getPreviousJspIdsSet(UIComponentClassicTagBase.java:1219)
>       
> javax.faces.webapp.UIComponentClassicTagBase.checkIfItIsInAnIterator(UIComponentClassicTagBase.java:1204)
>       
> javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClassicTagBase.java:165)
>
>       
> org.apache.jsp.progressIndicator_jspx._jspx_meth_f_005fview_005f0(progressIndicator_jspx.java:83)
>       
> org.apache.jsp.progressIndicator_jspx._jspService(progressIndicator_jspx.java:60)
>       org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>       
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
>       org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
>
>       org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>
> It appears to be to do with the lines:
>
>   <f:view>
>     <tr:document title="ProgressIndicator Demo">
>
> Don't know if it's related to the problem I have with my xhtml file.
>
> A simple jspx file runs ok and all my other JSF/MyFaces xhtml screens run
> ok.
>
> Thanks
> Shaun
>
>
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Reply via email to