I do something similar using a mixin.
Take a look at Tynamos's BeanModelAdvisor [1]

TynamoBeanContext.getObject always returns the current iterated item
based on the container's iterator property name (in this case: "row").

I hope it helps.
Alejandro.

[1] 
http://svn.codehaus.org/tynamo/trunk/tapestry-model/tapestry-model-core/src/main/java/org/tynamo/mixins/BeanModelAdvisor.java


2012/2/13 Михаил Слободянюк <slobodyanu...@gmail.com>:
> 2012/2/13 derkoe <tapestry.christian.koeb...@gmail.com>
>
>> A workaround could be to create your own context and push the object to the
>> Environment in BeginRender of your enclosing component.
>> Or you could use the BeanValidationContext but then you have to add your
>> object as validate to the Form.
>>
>
> In the case if Grid Context must be reassigned by each row. It possible
> push in context on getObject() getter, but not possible pop after row has
> been already processed.

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

Reply via email to