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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to