Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » tab key
tab key [message #515575] Fri, 19 February 2010 12:40 Go to next message
Dmitry Pryadkin is currently offline Dmitry PryadkinFriend
Messages: 146
Registered: July 2009
Senior Member
Hello Everybody,

Does anybody know if RAP intercepts the Tab-key event at javascript
side? Where to look at if it does?

I have a flash content, and when I press Tab - the focus goes away from
it. It happens only in Chrome. Provided that the "seamlesstabbing" was
set to false in flash params.

If I run the same content without RAP - the focus doesn't go out of the
flash content.

Thanks,

Dmitry
Re: tab key [message #515907 is a reply to message #515575] Mon, 22 February 2010 08:14 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2429
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Dmitry,

if your flash content is wrapped in a custom widget (client side
javascript widget), you can add a "keypress" listener to it and stop the
propagation of the event if the "Tab" key is pressed.

HTH,
Ivan

On 2/19/2010 2:40 PM, Dmitry Pryadkin wrote:
> Hello Everybody,
>
> Does anybody know if RAP intercepts the Tab-key event at javascript
> side? Where to look at if it does?
>
> I have a flash content, and when I press Tab - the focus goes away
> from it. It happens only in Chrome. Provided that the
> "seamlesstabbing" was set to false in flash params.
>
> If I run the same content without RAP - the focus doesn't go out of
> the flash content.
>
> Thanks,
>
> Dmitry
Re: tab key [message #517162 is a reply to message #515907] Fri, 26 February 2010 12:24 Go to previous message
Dmitry Pryadkin is currently offline Dmitry PryadkinFriend
Messages: 146
Registered: July 2009
Senior Member
Hello Ivan,

I've found out a solution. I hook to
org.eclipse.rwt.AsyncKeyEventUtil.prototype.intercept and
org.eclipse.rwt.SyncKeyEventUtil.prototype.intercept - these handlers
are first places where the filtering starts.

Dmitry


Ivan Furnadjiev wrote:
> Hi Dmitry,
>
> if your flash content is wrapped in a custom widget (client side
> javascript widget), you can add a "keypress" listener to it and stop the
> propagation of the event if the "Tab" key is pressed.
>
> HTH,
> Ivan
>
> On 2/19/2010 2:40 PM, Dmitry Pryadkin wrote:
>> Hello Everybody,
>>
>> Does anybody know if RAP intercepts the Tab-key event at javascript
>> side? Where to look at if it does?
>>
>> I have a flash content, and when I press Tab - the focus goes away
>> from it. It happens only in Chrome. Provided that the
>> "seamlesstabbing" was set to false in flash params.
>>
>> If I run the same content without RAP - the focus doesn't go out of
>> the flash content.
>>
>> Thanks,
>>
>> Dmitry
Previous Topic:[Upload] Upload widget after latest update
Next Topic:View PDF, CHM files within a RAP Application
Goto Forum:
  


Current Time: Sat Dec 21 16:20:12 GMT 2024

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

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

Back to the top