Hi.

I have a problem that a method expressions with parameter in the nested 
<h:dataTable> doesn't work.

this is the situation

Parent class has a List named children. and xhtml is like this;


  |         <h:dataTable id="parent" var="parent" value="#{parents}">  
  |             <h:column>
  |                     <h:outputText value="#{parent.field1}"/>
  |             </h:column>
  |             <h:dataTable value="#{parent.children}"  var="child" 
id="childrenList">
  |                 <h:column>
  |                     <h:outputText value="#{child.field1}"/>
  |                 </h:column>
  |                 <h:column>
  |                     <h:outputText value="#{child.field2}"/>
  |                 </h:column>
  |                 <h:column>
  |                     <s:link id="someAction" value="SomeAction" 
  |                     action="#{someAction.do(child)}" />
  |                 </h:column>
  |             </h:dataTable>
  |         </h:dataTable>

browsered html is fine.
My problem is , in someAction#do method, child object is not null, but all 
field is a default value of the field type; 

Could you give me any hints?

Thanks in advance.

Shige


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

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

Reply via email to