Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Custom trigger of phase-events
Custom trigger of phase-events [message #542354] Thu, 24 June 2010 10:58 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:[ANN] RAP 1.3 is available
Next Topic:Alternative to tabbed properties
Goto Forum:
  


Current Time: Fri Jul 04 15:20:03 EDT 2025

Powered by FUDForum. Page generated in 0.02668 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top