Default Context Menu [message #130564] |
Tue, 28 April 2009 10:19  |
Eclipse User |
|
|
|
Originally posted by: markus.wolf.nmmn.com
Hi there,
is there a way to enable the default browser context menu?
Per default it is disabled in RWT.
Thanks
Markus Wolf
--
NMMN - New Media Markets & Networks GmbH
Geschäftsführung: Kfm. Michael Schütt
Finanzamt HH-Altona UStID DE 812 699 852 HRB 71102 Hamburg
HypoVereinsbank - BLZ 200 300 00 - Konto-Nr. 156 29 82
http://www.nmmn.com Tel.: +49 40 284 118 -0
Langbehnstrasse 6 Entwicklung: -720
22761 Hamburg Fax: -999
|
|
|
|
|
|
|
Re: Default Context Menu [message #130699 is a reply to message #130646] |
Tue, 28 April 2009 11:36  |
Eclipse User |
|
|
|
Hi Markus,
as qx.event.handler.EventHandler class is a singleton you can call
...........
qx.event.handler.EventHandler.getInstance().setAllowClientCo ntextMenu(true);
...........
from everywhere - custom widget or other js code.
Best,
Ivan
Markus Wolf wrote:
> Hi Ivan,
>
> thanks for all your help. :)
> I'm just unsure on how to add this to a RAP/RWT application. Do I have
> to create a custom widget to enable this 'client' code? Any hint on this
> would be great.
>
> Thanks
> Markus
>
>
>> I short search on qooxdoo documentation gives me this result [1]. Please
>> note that this is not tested with RAP and some side effects are expected.
>>
>> [1]
>> http://qooxdoo.org/documentation/0.7/snippets/how_do_i_enabl e_the_browser_context_menu
>>
>>
>> Best,
>> Ivan
>>
>> Markus Wolf wrote:
>>
>>> Hi Ivan,
>>>
>>> thanks for pointing this out. But we want the native context menu
>>> everywhere.
>>> Can anyone point me to some documentation on how to enable it with
>>> client side qooxdoo code? I'm not aware on how to add qooxdoo code to
>>> our RWT application.
>>>
>>> Thanks
>>> Markus
>>>
>>>
>>>
>>>> Hi Markus,
>>>>
>>>> there is already an enhancement request for this:
>>>> 273214: [Text] Use the "native" context menu if there is no servers-side
>>>> context menu attached
>>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=273214
>>>>
>>>> Best,
>>>> Ivan
>>>>
>>>> Markus Wolf wrote:
>>>>
>>>>
>>>>> Hi there,
>>>>>
>>>>> is there a way to enable the default browser context menu?
>>>>> Per default it is disabled in RWT.
>>>>>
>>>>> Thanks
>>>>> Markus Wolf
>>>>>
>>>>>
>>>
>>>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03199 seconds