myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Yee <richard.k....@gmail.com>
Subject Re: Can't get statusIndicator or progressIndicator to work.
Date Tue, 11 Aug 2009 14:47:22 GMT
What URL are you using? You probably are missing the 'faces/' on your  
URL that is mapped to the faces servlet. Try viewing the source of  
your web page to see if the tags are getting processed.

Richard

Sent from my iPhone

On Aug 11, 2009, at 6:10 AM, Shaun Campbell <campbell.shaun@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
>
>

Mime
View raw message