Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Custom trigger of phase-events
Custom trigger of phase-events [message #542354] Thu, 24 June 2010 14:58 Go to next message
Philipp Leusmann is currently offline Philipp LeusmannFriend
Messages: 36
Registered: July 2009
Member
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 13:57 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

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 Apr 26 07:58:23 GMT 2024

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

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

Back to the top