You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Michael Musson <mu...@gmail.com> on 2005/05/27 12:39:43 UTC
ListEdit problem inside another component
Hi,
I am trying to use a ListEdit inside another component (not directly
in a page like the examples). I am running into a problem with my
associated ListEditMap. The examples override pageBeginRender() to set
up the ListEditMap. This method does not exist for components so I am
using prepareForRender(). However, prepareForRender() is not called
during the rewind so my ListEditMap is not setup for the rewind
leading to an exception trying to set the map key.
What method should I be overriding to set up the ListEditMap inside a component?
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: ListEdit problem inside another component
Posted by Jamie Orchard-Hays <ja...@dang.com>.
Can you use a lazy load somehow? That's the general strategy for
component properties.
Jamie
Michael Musson wrote:
> Hi,
>
> I am trying to use a ListEdit inside another component (not directly
> in a page like the examples). I am running into a problem with my
> associated ListEditMap. The examples override pageBeginRender() to set
> up the ListEditMap. This method does not exist for components so I am
> using prepareForRender(). However, prepareForRender() is not called
> during the rewind so my ListEditMap is not setup for the rewind
> leading to an exception trying to set the map key.
>
> What method should I be overriding to set up the ListEditMap inside a component?
>
> Thanks.
>
> ---------------------------------------------------------------------
> 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