Hello,
5.3 adds Environment cloaking which breaks some 5.2 stuff, I would like to
consider this as a bug.
In our app I have discoverd two cases when there is a problem:
First, I have a ComponentEventRequestFilter which triggers events to a
component, if event handler add something into Environment in the rendering
phase environment will become cloaked and returns null. Filter is used to set
some values from the request similiar to onActivate/Passivate.
Second, ajax request will lose environments set in its action method:
Object onAction(EventContext context)
{
environment.push(...);
return myBlock; // environment is cloaked while rendering myBlock
}
myBlock is a block from a different page, which uses the environment as a way
how to communicate, concept similiar to the BeanEditor and its contributions.
Denis
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]