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]