Because the beta 1 release has a bug, which makes my application not-runnable, 
i can't  use it. So i built seam 2 from the CVS myself.

i have a stateful bean, a long-running conversation. In a step a table is 
displayed with clickable links made by <s:link>. from the "action" i'm calling 
a method of the bean with a parameter. The method is called successfully but 
the parameter is always null. I am using <rich:dataTable>. Here how it looks 
like (shortened)

 <rich:dataTable var="gene" value="#{methcancerpipe.genes}">
  |     <f:facet name="header"> Column Headers ... </f:facet>
  | 
  |     <rich:column>
  |        <ui:repeat value="#{gene.geneinfo.isoforms}" var="isoform">
  |           <s:link action="#{methcancerpipe.displayCpGInfos(isoform)}" 
value="#{isoform.name} "/>
  |        </ui:repeat>
  |      </rich:column>
  | </rich:dataTable>

Somehow "isoform" set to null on the way. it is not null because the name 
(value="#{isoform.name} ) is shown correctly.

But if i set the parameter statically like this:
<ui:repeat value="#{gene.geneinfo.isoforms}" var="isoform">
  |    <s:link 
action="#{methcancerpipe.displayCpGInfos(methcancerpipe.genes[0].geneinfo.isoforms[0])}"
 value="#{isoform.name} "/>
  | </ui:repeat>
it works as expected. i think, this is a bug. What do you think?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062717
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to