Em Fri, 10 Oct 2008 18:55:14 -0300, Tobias Wehrum <[EMAIL PROTECTED]>
escreveu:
Same here. We have some sites too which need several parameters, and
furthermore not all of them are set at any given time. The list: Binding
used with null for empty parameters is an okay workaround, but having
any sort of named context parameters (though I don't know how they would
look like?) would be great.
You don't need to use the list binding. Just use the prop binding:
<a href="#" t:type="PageLink" t:page="page"
t:context="prop:context">...</a>
Actually, you don't even need to specify the prop:binding, as it is the
default for the context parameter.
Then provide a getter in your page class:
public List getContext() {
return ...;
}
There doesn't seem to be a JIRA feature request yet - do you mind
opening one? You have my vote for it.
Everyone can open a JIRA issue (including feature requests). Just create
an account there.
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
Consultor, desenvolvedor e instrutor em Java
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]