Михаил Слободянюк wrote
> 
> Hi!
> 
Hi!

Михаил Слободянюк wrote
> 
> When i wrote bean display/edit block i must know state of other properties
> of object in addition to current editable.
> Why Grid, BeanEditor and BeanDisplay do not provide it possibility?
> 
A good question - it would be helpful to have the current bean in the
BeanEditContext. 
@Devs: is there a reason that it's not in there?

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.


Михаил Слободянюк wrote
> 
> Mihail.
> 
Christian

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Current-Bean-in-Environment-tp5476313p5479391.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

Reply via email to