« Return to Thread: [t5] remove in grid not working

Re: [t5] remove in grid not working

by Filip S. Adamsen-2 :: Rate this Message:

Reply to Author | View in Thread

Hi,

It's exclude all right - the component reference seems to be outdated.
When in doubt, check the source code.

Anyhow, add and remove were renamed to include and exclude, respectively
some time ago. There's no change in functionality.

-Filip

On 2008-07-22 16:42, photos@... wrote:

> "remove" does not appear to work:
>
> <t:grid t:source="allDigitalItems" t:reorder="article, issue,title"
> t:remove="id" t:row="listItem">
>             <t:parameter t:name="articleCell">
>                 <t:PageLink t:page="details" t:context="listItem.id">
>                     ${listItem.article}
>                 </t:PageLink>
>             </t:parameter>
>         </t:grid>
>
>
> I have looked for previous advice on this and someone said that
> "exclude" should be used instead (without saying why).  Well, "exclude"
> is not listed in:
>
> http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html#orgapachetapestrycorelibcomponentsgrid 
>
>
> I have tried it and it does work.
>
> Would anyone care to comment on why "remove" has been removed and
> "exclude" is not listed.  Is it a direct replacement (or renaming), or
> does it have different functionality?
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: [t5] remove in grid not working

LightInTheBox - Buy quality products at wholesale price!