myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yee CN <ye...@streamyx.com>
Subject Tomhawk 20051214 is breaking my program
Date Mon, 19 Dec 2005 02:19:09 GMT
The myfaces-api.jar and myfaces-impl.jar are from 1.1.1 release. Component
nav_1 is a navigationMenuItem:

 

<t:navigationMenuItem id="nav_1" itemLabel="#{bundle['nav_Home']}"
action="go_home" />

 

I also tried using the nightly built of myfaces-impl and myfaces-api - but
they gave me other problems. This got me a bit nervous - that there could be
some fundamental flaw in the way I use JSF.

 

Any idea?

 

Many thanks,

Yee

 

---------------------------------------------------

10:04:07,092 ERROR [jsp]:704 - Servlet.service() for servlet jsp threw
exception

java.lang.IllegalArgumentException: Component nav_1 is no UICommand

      at
org.apache.myfaces.taglib.UIComponentTagUtils.setActionProperty(UIComponentT
agUtils.java:237)

      at
org.apache.myfaces.taglib.UIComponentTagBase.setActionProperty(UIComponentTa
gBase.java:172)

      at
org.apache.myfaces.custom.navmenu.HtmlNavigationMenuItemTag.setProperties(Ht
mlNavigationMenuItemTag.java:76)

      at
javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:392)

      at
javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:219)

      at
org.apache.jsp.home_jsp._jspx_meth_t_navigationMenuItem_0(org.apache.jsp.hom
e_jsp:343)

      at org.apache.jsp.home_jsp._jspService(org.apache.jsp.home_jsp:189)

      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

      at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
22)

      at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)

      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)

      at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)

     at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:672)

      at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDis
patcher.java:463)

      at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:398)

      at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:301)

      at
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(Servl
etExternalContextImpl.java:415)

      at
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHand
lerImpl.java:234)

      at
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)

      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)

      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)

      at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)

      at
org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsF
ilter.java:129)

      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)

      at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)

      at
com.traleva.erp.web.filter.HibernateFilter.doFilter(HibernateFilter.java:56)

      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)

      at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)

      at
de.mindmatters.faces.spring.support.RequestHandledFilter.doFilter(RequestHan
dledFilter.java:150)

      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)

      at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)

      at
com.traleva.erp.web.security.SecurityFilter.doFilter(SecurityFilter.java:80)

      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)

      at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)

      at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)

      at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)

      at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)

      at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)

      at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)

      at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

      at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)

      at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
onnection(Http11BaseProtocol.java:663)

      at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:527)

      at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
rkerThread.java:80)

      at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)

      at java.lang.Thread.run(Thread.java:595)


Mime
View raw message