Re: BeanEditor contribution, context and Ajax request

2013-06-28 Thread Raphaël Ouazana-Sustowski
Le 28/06/2013 13:40, Thiago H de Paula Figueiredo a écrit : On Fri, 28 Jun 2013 08:14:21 -0300, Raphaël Ouazana-Sustowski wrote: Do you need the field in onProvideCompletions()? Yes I do. My purpose is to do a generic autocomplete editor. So I need some configuration that is in the cont

Re: BeanEditor contribution, context and Ajax request

2013-06-28 Thread Thiago H de Paula Figueiredo
On Fri, 28 Jun 2013 08:14:21 -0300, Raphaël Ouazana-Sustowski wrote: Do you need the field in onProvideCompletions()? Yes I do. My purpose is to do a generic autocomplete editor. So I need some configuration that is in the context. Which configuration? Just curious. :) I already tried

Re: BeanEditor contribution, context and Ajax request

2013-06-28 Thread Raphaël Ouazana-Sustowski
Le 28/06/2013 13:03, Thiago H de Paula Figueiredo a écrit : On Fri, 28 Jun 2013 07:39:09 -0300, Raphaël Ouazana-Sustowski wrote: Hi, Le 27/06/2013 19:35, Thiago H de Paula Figueiredo a écrit : The issue is with the Ajax request for autocompletion. When the method onProvideCompletionsFrom i

Re: BeanEditor contribution, context and Ajax request

2013-06-28 Thread Thiago H de Paula Figueiredo
On Fri, 28 Jun 2013 07:39:09 -0300, Raphaël Ouazana-Sustowski wrote: Hi, Le 27/06/2013 19:35, Thiago H de Paula Figueiredo a écrit : The issue is with the Ajax request for autocompletion. When the method onProvideCompletionsFrom is called, the environment is not aware anymore of the co

Re: BeanEditor contribution, context and Ajax request

2013-06-28 Thread Raphaël Ouazana-Sustowski
Hi, Le 27/06/2013 19:35, Thiago H de Paula Figueiredo a écrit : 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? Have you tried to create a component enca

Re: BeanEditor contribution, context and Ajax request

2013-06-27 Thread Thiago H de Paula Figueiredo
On Thu, 27 Jun 2013 12:42:26 -0300, Raphaël Ouazana-Sustowski wrote: Hi, Hi! 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? Have you tried to cre

BeanEditor contribution, context and Ajax request

2013-06-27 Thread Raphaël Ouazana-Sustowski
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 wit