[jboss-user] [JBoss Seam] - ui:include and seam extended EL

greko do-not-reply at jboss.com
Fri Jun 22 09:38:26 EDT 2007


Hi all !

I have an issue, using Seam 1.2.1.GA (i dont know with other versions).

Here is a working code, using EL with params :


  | <h:commandLink value="#{p10}" actionListener="#{bean.setPageSize(p10)}" />
  | 

But, when i use this code inside a ui:include 

  | <ui:include src="layout/w_resultsPerPage.xhtml">
  |   <ui:param name="x" value="#{bean}" />
  | </ui:include>
  | 
  | ..
  | 
  | <h:commandLink value="#{p10}" actionListener="#{x.setPageSize(p10)}" />
  | 
  | 

... then i got an exception


  | ...
  | 15:25:00,093 ERROR [org.jboss.seam.web.ExceptionFilter] exception root cause
  | java.lang.NullPointerException
  | 	at org.jboss.seam.ui.facelet.MethodExpressionHelper.findParamTypes(MethodExpressionHelper.java:146)
  | 	at org.jboss.seam.ui.facelet.MethodExpressionHelper.invokeTheExpression(MethodExpressionHelper.java:98)
  | 	at org.jboss.seam.ui.facelet.ParamMethodExpression.invoke(ParamMethodExpression.java:62)
  | 	at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
  | 	at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69)
  | ...
  | 

Anyone has already had such an error ?
Am I doing something wrong ? (maybe)

Thanks !

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

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



More information about the jboss-user mailing list