Re: Stale Link Exception on Disabled Select Component
bryans panth13 at 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
Stale Link Exception on Disabled Select Component
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: select jwcid=@Select disabled=ognl:selectDisabled multiple=true validators=validators:required span jwcid=@For source=ognl:customers value=ognl:currentCustomer index=ognl:currentCustomerIndex option jwcid=custopt...@option selected=ognl:selection[currentCustomerIndex] label=ognl:currentCustomer/ /span /select 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
Re: Stale Link Exception on Disabled Select Component
try setting volatile to true in the @For component On Wed, Jun 10, 2009 at 6:10 PM, bryanspant...@gmail.com 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: select jwcid=@Select disabled=ognl:selectDisabled multiple=true validators=validators:required span jwcid=@For source=ognl:customers value=ognl:currentCustomer index=ognl:currentCustomerIndex option jwcid=custopt...@option selected=ognl:selection[currentCustomerIndex] label=ognl:currentCustomer/ /span /select 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
Re: Stale Link Exception on Disabled Select Component
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