Thanks guys. so nice of you.
Hasnain
On 5/3/06, Mert Çalışkan <[EMAIL PROTECTED]> wrote:
Yes as Volker stated above.
and h:datatable can also be nested elements in h:columns like,
<h:dataTable id="table" value="#{bean.list}" var="varInnerList" ....>
<h:column>
<f:facet name="header">
<h:outputText value="List"></h:outputText>
</f:facet>
<h:dataTable id="nestedTable" value="#{varInnerList}" var="varNestedList"....>
<h:column>
<f:facet name="header">
<h:outputText value="Nested List"></h:outputText>
</f:facet>
<h:outputText value="#{varNestedList}">
</h:outputText>
</h:column>
</h:dataTable>
</h:column>
</h:dataTable>
Regards,
Mert
On 5/3/06, Volker Weber <[EMAIL PROTECTED] > wrote:Hi Hasnain,
i'm not sure if i understand you correct, but if so : yes why not.
If you have a ( 1.5 Syntax) ArrayList<ArrayList<String>> you can do:
<h:dataTable value="#{bean.list}" var="innerList" ...>
<h:column>
<h:outputText value="#{innerList[0]}"/>
</h:column>
<h:column>
<h:outputText value="#{innerList[1]}"/>
</h:column>
...
Regards,
Volker
Hasnain Badami wrote:
> hi
>
> I want to specify an ArrayList of ArrayLists as the value for my data
> table.
> Can an arraylist of arraylists be used and how? any help shall be highly
> appreciated.
>
> Hassnain
>
--
Don't answer to From: address!
Mail to this account are droped if not recieved via mailinglist.
To contact me direct create the mail address by
concatenating my forename to my senders domain.

