jsf - Dynamic table headers in html -
i need display headers inside tag based upon condition.
<th class="header"><h:outputtext value="#{supplierscorecard.treeitemlist[1].m1.header}" /> </th>
this current code. requirement need display particular header if value present kind of javascript validation.
note: not using jsf datatable here table header separately printed.
ive put tags inside a4j:outputpanel rendered condition , worked fine.
<a4j:outputpanel rendered="#{supplierscorecard.treeitemlist[1].m4.header ne null}"> <th class="header treetableothers fixed"><h:outputtext value="#{supplierscorecard.treeitemlist[1].m4.header}" /> </th> </a4j:outputpanel>
thanks update #erencan
Comments
Post a Comment