There is no need for it, the type is inferred from the parameter. So in your Gallery.java you would have
@Parameter private Person person; See http://tapestry.apache.org/component-parameters.html The same goes for when you're looping: <t:loop source="persons" value="person"> ... </t:loop> only needs @Property private List<Person> person; @Property private Person person; Steve. On 4 September 2011 13:31, Ken in Nashua <kcola...@live.com> wrote: > > Hi All, > > I am doing a custom gallery widget... ok I am upgrading my t-4.1.2 gallery to > T5... fun stuff... > > Is the class type notation still legal ? > > <t:Gallery t:id="GalleryWidget" > > collectionType="ognl:@org.tynamo.examples.hibernatesecurity.model.admin.Person@class" > itemsPerPage="itemsPerPage" > tableColumns="tableColumns" > cursor="cursor" > /> > > I am referring to this guy... > collectionType="ognl:@org.tynamo.examples.hibernatesecurity.model.admin.Person@class" > > > What should this look like for T5 ? > > Thanks in advance > > KEN > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org