You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Sven Homburg <ho...@googlemail.com> on 2008/09/03 10:29:24 UTC
T5: AjaxFormLoop parameter "addRow"
Hi there,
in one of the last tapestry commits, the parameter addRow from component
AjaxFormLoop
was changed to defaultBinding "literal"
makes that sense ?
--
with regards
Sven Homburg
http://www.chenillekit.org
http://tapestry5-components.googlecode.com
Re: T5: AjaxFormLoop parameter "addRow"
Posted by Howard Lewis Ship <hl...@gmail.com>.
Yes.
For parameters of type Block you will usually use the <t:parameter> construct.
Alternately, you can use block: prefix to reference a block by id.
By allowing for simple literal strings, and taking into account the
fact that a String can be coerced to a Renderable and then to a Block,
this means that you can specify a string as the addRow parameter.
It's more useful for things like Grid's empty parameter.
On Wed, Sep 3, 2008 at 1:29 AM, Sven Homburg <ho...@googlemail.com> wrote:
> Hi there,
>
> in one of the last tapestry commits, the parameter addRow from component
> AjaxFormLoop
> was changed to defaultBinding "literal"
>
> makes that sense ?
>
> --
> with regards
> Sven Homburg
> http://www.chenillekit.org
> http://tapestry5-components.googlecode.com
>
--
Howard M. Lewis Ship
Creator Apache Tapestry and Apache HiveMind
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org