myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yee CN <ye...@streamyx.com>
Subject RE: Tomhawk 20051214 is breaking my program
Date Mon, 19 Dec 2005 02:37:17 GMT
<t:jscookMenu layout="hbr" theme="ThemeOffice">

      <t:navigationMenuItem id="nav_1"

            itemLabel="#{bundle['nav_Home']}" action="go_home" />

      .           

 

 

  _____  

From: Thomas Spiegl [mailto:thomas.spiegl@gmail.com] 
Sent: Monday, 19 December 2005 10:34 AM
To: MyFaces Discussion; yeecn@streamyx.com
Subject: Re: Tomhawk 20051214 is breaking my program

 

What is the parent of 

< t:navigationMenuItem

?

Thomas

On 12/19/05, Yee CN <yeecn@streamyx.com> 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.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: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.processC
onnection( 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 )




-- 
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces 


Mime
View raw message