You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Daniel Daniel <ho...@hotmail.com> on 2005/01/21 08:42:43 UTC

Binding a collection

Hi all,

How do I bind a collection to a parameter in tapestry.

Cheers,
Daniel

_________________________________________________________________
Credit Card. Apply online. 60 sec response. Must be over 18. AU only:  
http://ad.au.doubleclick.net/clk;11046970;10638934;f?http://www.anz.com/aus/promo/first1004ninemsn/default.asp


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Binding a collection

Posted by Daniel Daniel <ho...@hotmail.com>.
Thanks for the advice,

at the time of writing it slipped my mind that an implementation of 
collection is an object and can be bound as such and then cast.

Cheers,
Daniel

>From: Erik Hatcher <er...@ehatchersolutions.com>
>Reply-To: "Tapestry users" <ta...@jakarta.apache.org>
>To: "Tapestry users" <ta...@jakarta.apache.org>
>Subject: Re: Binding a collection
>Date: Fri, 21 Jan 2005 04:56:24 -0500
>
>
>On Jan 21, 2005, at 2:42 AM, Daniel Daniel wrote:
>>How do I bind a collection to a parameter in tapestry.
>
>No different than you'd bind any other type of object:
>
>	<span jwcid="@Component" parameter="ognl:collection"/>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>

_________________________________________________________________
Sell your car for $9 on carpoint.com.au  
http://server-au.imrworldwide.com/cgi-bin/b?cg=link&ci=ninemsn&tu=http://carpoint.ninemsn.com.au?refid=hotmail_tagline


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Binding a collection

Posted by Erik Hatcher <er...@ehatchersolutions.com>.
On Jan 21, 2005, at 2:42 AM, Daniel Daniel wrote:
> How do I bind a collection to a parameter in tapestry.

No different than you'd bind any other type of object:

	<span jwcid="@Component" parameter="ognl:collection"/>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org