For the sake of people who might not know how you fixed it, did you
create an array or List of PropertySelections to use in the Foreach,
or something else?
Todd
On May 9, 2005, at 5:11 AM, Ron Piterman wrote:
It is a bug, but not in tapestry :-), sorry, it was my mistake...
Hi,
I am using a PropertySelection inside a ForEach:
<span jwcid="@PropertySelection" model="ognl:allProperties"
value="ognl:property.id.property"/>
the page method getAllProperties() creates on each call a new model:
public IPropertySelectionModel getAllProperties() {
return new MyModel();
}
The constructed model is on each call different, but all
"instances" of the PropertySelection use the same one.
Is this a bug? is there a workaround?
Cheers,
Ron
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]