Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Deprecation of PhaseListeners
Deprecation of PhaseListeners [message #1406597] Sun, 10 August 2014 14:58 Go to next message
Thomas Kratz is currently offline Thomas KratzFriend
Messages: 165
Registered: July 2009
Senior Member
I rely in my selenium tests heavily on inserting information to the dom by a Phaselistener. Now it's been deprecated, and I guess it will be removed by 3.0.
Is there going to be a way to process the widgets in the tree in 3.0 other than PhaseListeners?

Regards
Thomas
Re: Deprecation of PhaseListeners [message #1406826 is a reply to message #1406597] Mon, 11 August 2014 07:46 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2339
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Thomas,
yes - PhaseListeners are deprecated and probably will be removed from
RAP 3.0. As a replacement (not completely) we implemented MessageFilter
- still internal, but we will make it API for 3.0 release. MassageFilter
could be added to ApplicationContext(Impl). It's similar to
ServletFilter and allows you to execute a code
(MessageFilter#handleMessage) for every request/response (with
incoming/outgoing protocol message as parameter). I'm not sure if the
new MessageFilter will be suitable for you - there is no access to
display (only to protocol message) and in case of SWT operational mode
(workbench) it is executed outside UI thread.
Best,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:How can i add Google Analytics?
Next Topic:ClientScripting callback/messagebox
Goto Forum:
  


Current Time: Sat May 30 09:48:40 GMT 2020

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

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

Back to the top