Re: Stale Link Exception on Disabled Select Component

2012-10-30 Thread shekharreddy
bryans  gmail.com> writes:

> 
> 
> This worked. Thank you.
> 
> Andreas Andreou-4 wrote:
> > 
> > try setting volatile to true in the @For component
> > 
> > 
> > 
> 



hi , @For component having volatile true in html page but still i am getting
stale link exception. 

please help to solve this exception.

thanks in advance!

regards,
shekhar reddy



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Stale Link Exception on Disabled Select Component

2009-06-10 Thread bryans


This worked. Thank you.


Andreas Andreou-4 wrote:
> 
> try setting volatile to true in the @For component
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Stale-Link-Exception-on-Disabled-Select-Component-tp23964397p23970088.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Stale Link Exception on Disabled Select Component

2009-06-10 Thread Andreas Andreou
try setting volatile to true in the @For component

On Wed, Jun 10, 2009 at 6:10 PM, bryans wrote:
>
> I've got a page where I want to disable a @Select component. However when
> rewinding the form, it generates a StaleLink because the @For loop which
> populates the select doesn't get rewound due to the @Select being disabled:
>
>
>
>  validators="validators:required">
>    < span jwcid="@For" source="ognl:customers" value="ognl:currentCustomer"
> index="ognl:currentCustomerIndex" >
>         selected="ognl:selection[currentCustomerIndex]"
> label="ognl:currentCustomer"/>
>    < /span>
> 
>
> Since the @Select component doesn't overide the getRenderBodyOnRewind
> method, it doesn't rewind the For loop, and therefore generates a SLE.
>
> Does anyone have any ideas on how to get around this or fix it? Thanks!
>
> -B
> --
> View this message in context: 
> http://www.nabble.com/Stale-Link-Exception-on-Disabled-Select-Component-tp23964397p23964397.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
Andreas Andreou - andy...@apache.org - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org