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
<[email protected]> 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 context. Is there a way to get it?
Have you tried to create a component encapsulating the content of
your block?
I just tried. I have then the same issue: when
onProvideCompletionsFrom is called, the components tries to get the
parameters again and so does not found the context in the block.
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.
I already tried to make different editors for each configuration type,
and it works.
Isn't this an issue that the context is not available in Ajax requests?
Regards,
Raphaël Ouazana.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]