Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Call sequence of the Listeners(Call sequence of the Listeners)
Call sequence of the Listeners [message #531557] Wed, 05 May 2010 12:19 Go to next message
zhang  is currently offline zhang Friend
Messages: 6
Registered: July 2009
Junior Member
Hi all,

I have a question about the call sequence of a composite listeners in RAP.

I have a Text composite with a TraverseListener and a FocusOutListener to validate the field data. A TAB-key event calls normally the TraverseListener and the FocusOutListener. But sometimes the call sequence is reversed (i.e. FocusOutListener called before TraverseListener) which causes an incorrect result.

Can someone telle me what is the call orders of those listeners in RAP? My RAP version is 1.3M2.

Thanks for your reponse.

Lifei ZHANG
Re: Call sequence of the Listeners [message #531818 is a reply to message #531557] Thu, 06 May 2010 09:24 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi Lifei,

what are you using the TraverseListener for? Maybe you can find a more
suitable approach that circumvents this problem. TraverseListeners have
been implemented to support JFace CellEditors, they might not work
perfectly in all regards.

However, feel free to open a bug for this problem.

Best regards, Ralf

zhang wrote:
> Hi all,
>
> I have a question about the call sequence of a composite listeners in RAP.
> I have a Text composite with a TraverseListener and a FocusOutListener
> to validate the field data. A TAB-key event calls normally the
> TraverseListener and the FocusOutListener. But sometimes the call
> sequence is reversed (i.e. FocusOutListener called before
> TraverseListener) which causes an incorrect result.
> Can someone telle me what is the call orders of those listeners in RAP?
> My RAP version is 1.3M2.
>
> Thanks for your reponse.
>
> Lifei ZHANG
Previous Topic:Updates to upload widget
Next Topic:Need Deployment Files have no CVS
Goto Forum:
  


Current Time: Thu Dec 12 20:35:04 GMT 2024

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

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

Back to the top