Custom trigger of phase-events [message #542354] |
Thu, 24 June 2010 10:58  |
Eclipse User |
|
|
|
Hi,
In our RAP-Application we rely on a PhaseListener for some sanitation tasks.
Now a big part of our application is a graphical editor written in plain
JavaScript (No widget).
Is there any chance to trigger PhaseEvents from within this external
JS-app, for exmaple by custom Ajax-Calls?
Regards,
Philipp
|
|
|
Re: Custom trigger of phase-events [message #542637 is a reply to message #542354] |
Fri, 25 June 2010 09:57  |
Eclipse User |
|
|
|
Hi Philipp,
you should definitely not fire PhaseEvents yourself. For every request,
each phase will be passed and all registered PhaseListeners will be
called. The phases of the RAP request life cycle are explained in the
custom widget tutorial in the RAP Developer Guide. This tutorial also
explains how to trigger an Ajax request.
If that doesn't help, please explain your use case more detailed.
Regards, Ralf
Philipp Leusmann wrote:
> Hi,
>
> In our RAP-Application we rely on a PhaseListener for some sanitation
> tasks.
> Now a big part of our application is a graphical editor written in plain
> JavaScript (No widget).
> Is there any chance to trigger PhaseEvents from within this external
> JS-app, for exmaple by custom Ajax-Calls?
>
> Regards,
> Philipp
|
|
|
Powered by
FUDForum. Page generated in 0.02668 seconds