[jboss-user] [JBoss Seam] - bug in HEAD or am I doing something wrong?

mwkohout do-not-reply at jboss.com
Thu Sep 6 15:57:28 EDT 2007

I'm getting a strange error:

from a facelet, I'm generating a bunch of action type links:

  | <rich:dataTable value="#{studyHome.getAll().toArray()}" var="study">
  |                 <rich:column>
  |                     <f:facet name="header">Click To View</f:facet>
  |                     <s:link value="View Study #{study.name}" action="#{viewStudyAction.viewStudy(study)}" >
  |                         <a4j:actionparam name="studyID" value="#{study.id}"/>
  |                     </s:link>  
  |                     </rich:column>
  |             </rich:dataTable>

when the user clicks the generated link, the app is supposed to call viewStudyAction.viewStudy(study), passing in the study to view.

in my app the viewStudy method is called, but the passed Study object is null for some reason.  I don't know why.  

FYI, I've got the generator of the list studyHome.getAll() annotated with @DataModel but it didn't work either way...

any ideas?

Mike Kohout

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

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

More information about the jboss-user mailing list