They are accessed via getters. Please post your code of the sheet, maybe i can find the problem.
Have you looked at the sheet in the tobago examples? Regards, Volker John wrote: > Are the properties accessed directly (they must be public)? Or, are they > accessed via getters (they can be private)? > Right now they are private with getters. I'm using the syntax you stated > in the sheet - not working. > > Thanks, > > John > > -----Original Message----- > From: Volker Weber [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 03, 2006 12:17 PM > To: MyFaces Discussion > Subject: Re: Question on passing List to Sheet in Tobago > > John, > > each of the lists objects could accessed while rendering a row by the > name set to the var attribute of the sheet. > > e.g.: you have a managedBean "bean" with a property "persons", which is > a list of person objects. The person object has a property "name". > > <tc:sheet value="#{bean.persons}" var="data"> > <tc:column label="Header"> > <tc:out value="#{data.name}"/> > <tc:column> > </tc:sheet> > > here var="data" means you can access the person object inside the sheet > by #{data}. > > Regards, > Volker > > John wrote: > >>When using a List as a datasource for a sheet, where the List contains > > >>objects that represent row field data, how does the sheet know how to >>break the object's data apart for display in the various fields. >> >>I originally thought that I could just do getters in the object >>matching the field names in the sheet, but it doesn't get the data. It > > >>shows the right number of rows, so I know it's retrieving the List >>members ok, it just doesn't display the field data. >> >>John >> > > > -- > 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. > -- 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.

