1 Reply Latest reply on Sep 10, 2007 8:40 AM by Natalia Ponomareva

    bug in HEAD or am I doing something wrong?

    Mike Kohout Newbie

      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?

      Thanks
      Mike Kohout