You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by James Hays <ja...@mac.com> on 2003/09/03 17:53:41 UTC

ListEdit example

Can somebody send an example of how to use a ListEdit component.  I have 
the component rendering similar to a Foreach and hidden components are 
being generated.  What I want to do is have a list of similar objects in 
which when I click on the the name of the object, I want to go to an 
edit screen for that object.  I attempted to use a DirectLink in which I 
passed in it via parameters the same object that the ListEdit created 
with the value binding.  When I get to my listener, it is null.

Howard, you pointed me to using the ListEdit instead of Foreach a few 
days ago, but without an example, I'm having trouble using it.

Any pointers would be appreciated.

James


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


Re: ListEdit example

Posted by James Hays <ja...@mac.com>.
Nevermind.  I got it working.  I wasn't using the 
cycle.getServiceParameters()

James Hays wrote:

> Can somebody send an example of how to use a ListEdit component.  I 
> have the component rendering similar to a Foreach and hidden 
> components are being generated.  What I want to do is have a list of 
> similar objects in which when I click on the the name of the object, I 
> want to go to an edit screen for that object.  I attempted to use a 
> DirectLink in which I passed in it via parameters the same object that 
> the ListEdit created with the value binding.  When I get to my 
> listener, it is null.
>
> Howard, you pointed me to using the ListEdit instead of Foreach a few 
> days ago, but without an example, I'm having trouble using it.
>
> Any pointers would be appreciated.
>
> James
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>


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