dear fellows,
the problem is i am using nested dataTables. the outer data table is displaying
the heading of category of users, and the inner dataTable is displaying the
users in that category. Now the problem is the inner dataTable is not
displaying the column headers given in the respective facet tag.
when i remove the rendered attribute from the h:column It start working, but i
need the rendered attribute because it has the condition that it displays the
list of users according the category, otherwise it displays all the users list
irrespective of the category displayed on the top.
can anybody help me please, following is my code.
thanks in advance
|
| <h:dataTable rows="5" value="#{List1}" var="list1" >
|
| <h:column>
| <h:outputText value="#{list[1]}"/><br></br>
|
| <h:dataTable rows="10" value="#{list2}" var="list2" >
|
| <h:column id="col1" rendered="#{list1[0] == list2[6]}">
| <f:facet name="header">
| <h:outputText value="name"/>
| </f:facet>
<h:outputText value="#{list2[2]}"/>
| </h:column>
|
| <h:column id="col2" rendered="#{list1[0] == list2[6]}">
|
| <f:facet name="header">
| <h:outputText value="Address" />
| </f:facet>
| <h:outputText value="#{list2[3]}"/>
| </h:column>
|
| <h:column id="col3" rendered="#{list1[0] == list2[6]}">
| <f:facet name="header">
| <h:outputText value="Phone" />
| </f:facet>
|
<h:outputText value="#{list2[4]}"/>
| </h:column>
|
| </h:dataTable>
| </h:column>
| </h:dataTable>
|
|
thank for reading
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020653#4020653
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020653
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user