Stick with T4.1? On 6/9/07, Allen Guo <[EMAIL PROTECTED]> wrote:
Can anybody give some suggestion?Allen Guo 写道: > Hi All, > > If I use loop component in html template like this > <t:loop source="sorts" value="sort"> > <a t:type="actionlink" t:id="select" context="_sort.Id">${_sort.name}</a> > </t:loop> > > I have to define the property in corresponding page class like this > public class SortList { > ..... > private Sort sort; > private List sorts; > public Sort getSort() { > return sort; > } > > public void setSort(Sort sort) { > this.sort = sort; > } > ..... > } > It seems that the 'sort' must be defined in page class. It's so terrible.:( > If I can remove the property 'sort' from page class like T4.1, it will > be great. > > > Thanks > Allen Guo > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Apache HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
