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: [email protected]
For additional commands, e-mail: [email protected]