[jboss-user] [JBoss Seam] - Re: EL Enhancements dont work in facelets tag file

mbolcina do-not-reply at jboss.com
Mon Apr 2 05:56:21 EDT 2007


I am having similar problem. I am using facelets source tag:

taglib.xml

  | <facelet-taglib>
  |       <namespace>http://Test</namespace>
  | 	<tag>
  | 		<tag-name>test</tag-name>
  | 		<source>Test.xhtml</source>
  | 	</tag>
  | </facelet-taglib>

Test.xhtml (source of test tag)

  | <ui:composition xmlns="http://www.w3.org/1999/xhtml" ...>
  |      <h:commandLink action="#{backingBean.test('123')}">
  | 		testWithParam
  |      </h:commandLink>
  |      <h:commandLink action="#{backingBean.testNoParam}">
  | 	        testNoParam
  |       </h:commandLink>
  | </ui:composition>
  | 

some xhtml file using test tag

  | <ui:composition xmlns="http://www.w3.org/1999/xhtml" ...
  | 	                xmlns:t="http://Test">
  |    <t:test backingBean="#{testBean}"/>
  | </ui:composition>



Link testNoParam is working. 
Link testWithParam is NOT working. I get exception:

11:15:57,258 ERROR [ExceptionFilter] uncaught exception
javax.servlet.ServletException: Error calling action method of component with id test:_id54
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
        at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
        at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
        at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
        at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
        at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
        at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
        at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
        at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
        at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)



I am using seam 1.2.1GA, project was created using seam-gen. 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033634#4033634

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033634



More information about the jboss-user mailing list