Ok, thanks for your help, Mike. I appreciate it. The openDataTable.jsp example I mention below uses <t:columns> the way it is described in the documentation, so I'll take a look at the example and see if I can make it work.
-----Original Message----- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Thursday, May 18, 2006 4:33 PM To: MyFaces Discussion Subject: Re: FW: t:columns and iterating through row objects that contain list of column objects. Jeff, I don't know what else to say other than it should work. t:columns is a UIData object just like t:dataTable, and there shouldn't be any difference between nesting a t:dataTable and nesting a t:columns, but I've never used it that way myself. On 5/18/06, Reid, Jeff (Liquidity & Risk Technology) <[EMAIL PROTECTED]> wrote: > I noticed the myFaces example masterDetail.jsp has nested > <t:dataTable>s. The inner dataTable var refers to the outer dataTable > var and it works Ok. Maybe there's something funky with <t:columns>, > but it seems like it would be a very common thing to want to iterate > over rows containing lists of columns and display those columns in a > <t:columns>. > > The openDataTable.jsp example uses <t:columns>, but not in the obvious > way I'd like to. Maybe this example displays a work-around. > > From masterDetail.jsp: > > <t:dataTable id="data" var="country" value="#{countryList.countries}" > preserveDataModel="true" > > > <t:dataTable id="cities" var="city" value="#{country.cities}" > preserveDataModel="false"> > <h:column><h:outputText value="#{city}" style="font-size: 11px" > /></h:column> > </t:dataTable> > -------------------------------------------------------- > > If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ > -------------------------------------------------------- >

