Hugh, Derrell,

that helped. I got it working now.

Thanks a lot,
Rüdiger


Rüdiger Herrmann wrote:
> Hi Hugh,
> 
> maybe you know what's wrong with my next step, too...
> 
> I back-ported the qx.Class.patch function (appeared to be the only 
> change between 0.7.3 and latest from the 0.7.x legacy branch).
> 
> Then I created a class (see code below) that contains one function 
> (_idealKeyHandler) that should 'override' the one in 
> qx.event.handler.KeyEventHandler. The defer-function calls the 
> patch-method.
> 
> Any idea what is missing?
> 
> Thanks
> Rüdiger
> 
> ------------- Code ----------------
> qx.Class.define( "org.eclipse.rwt.KeyEventPatch",
> {
>    extend : qx.core.Object,
> 
>    members : {
>      _idealKeyHandler : function( keyCode, charCode, eventType, 
> domEvent ) {
> this.debug( "Patched keyHandler" );
> 
>        this.base( arguments );
>      }
> 
>    },
> 
>    defer : function( statics, members, properties ) {
>      qx.Class.patch( qx.event.handler.KeyEventHandler,
>                      org.eclipse.rwt.KeyEventPatch );
>    }
> } );
> 
> 
> Hugh Gibson wrote:
>> Rüdiger,
>>
>>> That would be exactly what I need. Only that I am working with the 
>>> 0.7.3 release and can't switch to anything newer in short time.
>>> The bug doesn't state a target milestone yet, but from the revision 
>>> it looks like the fix was applied after 0.7.3.
>>> Can you confirm that? 
>> Yes, it was applied after 0.7.3.
>>  
>>> And if so, is there maybe another solution to this?
>> Probably you need to work with
>> qx.event.handler.KeyEventHandler.prototype._idealKeyHandler
>>
>> Can't help you much more. If you have more problems I suggest that you
>> look carefully at the code in qx.Class.__addMembers, before and after the
>> fix was applied from bug 323.
>>
>> Hugh
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to