Em Thu, 27 Aug 2009 21:41:27 -0300, ThirstyCrow <5451vs5...@gmail.com>
escreveu:
But how to express "a list of strings" in the template?
Two ways, and they work for other types besides String:
t:context="[property1, property2]"
or
t:context="context"
public List getContext() {
List list = new ArrayList();
list.add(property1);
list.add(property2);
return list;
}
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org