Yee,
Currently, all of the myfaces-api, myfaces-impl, tomahawk, and sandbox
jar files must be from the same release. You can't use tomahawk from
the nightlies and myfaces impl/api from 1.1.1.
This is because both impl and tomahawk share the same "shared" code subproject.
At some point in the future, we will probably come up with a way to
use two versions of the shared code at the same time (one for impl,
and one for tomahawk) so that you can mix-and-match impl and tomahawk
versions, but this is currently not possible.
On 12/18/05, Yee CN <[EMAIL PROTECTED]> wrote:
>
>
>
> 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(UIComponentTagUtils.java:237)
>
> at
> org.apache.myfaces.taglib.UIComponentTagBase.setActionProperty(UIComponentTagBase.java:172)
>
> at
> org.apache.myfaces.custom.navmenu.HtmlNavigationMenuItemTag.setProperties(HtmlNavigationMenuItemTag.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.home_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:322)
>
> 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(ApplicationFilterChain.java:252)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
>
> at
> org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:415)
>
> at
> org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.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(ApplicationFilterChain.java:252)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>
> at
> org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:129)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>
> at
> com.traleva.erp.web.filter.HibernateFilter.doFilter(HibernateFilter.java:56)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>
> at
> de.mindmatters.faces.spring.support.RequestHandledFilter.doFilter(RequestHandledFilter.java:150)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>
> at
> com.traleva.erp.web.security.SecurityFilter.doFilter(SecurityFilter.java:80)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java: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.processConnection(Http11BaseProtocol.java:663)
>
> at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>
> at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>
> at java.lang.Thread.run(Thread.java:595)