Hi,

I have defined an edit block (essentially a TextField) which is used as a contribution of a BeanEditor.

The goal of this edit block is to be configurable and to handle Ajax request (for autocompletion).

I get the configuration and the value of the block from the context (getting it with @Environmental or with environment.peek(...).

The issue is with the Ajax request for autocompletion. When the method onProvideCompletionsFrom is called, the environment is not aware anymore of the context. Is there a way to get it?

I tried to persist the context, but this causes issues about configuration of the edit block: all blocks seems to share the same configuration, which is not what I want (I can have different instances of the block in the beanEditor to provide different completions; if they all share the same configuration, all the textfields will suggest the same completions).

Any hint or idea?

Regards,
Raphaël Ouazana.

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

Reply via email to