blackberry / BB10-WebWorks-Community-Samples

WebWorks Samples for the BlackBerry 10 Platform contributed by the Community
Apache License 2.0
44 stars 91 forks source link

'contextmenu' example not working in Blackberry10 Dev Alpha #20

Closed mushtaq34 closed 11 years ago

mushtaq34 commented 11 years ago

Hi, I downloaded 'ContextMenu' from https://github.com/blackberry/BB10-WebWorks-Community-Samples/tree/master/contextmenu. It's not working on the device. If I check in simulator getting "uncaught TypeError: Cannot read property 'CONTEXT_ALL' of undefined" exception.

Note: I'm using BlackBerry 10 WebWorks SDK 1.0.3.8 and it's webworks.js.

splatterb0y commented 11 years ago

You should use the gold sdk and check if the problem still persists.

mushtaq34 commented 11 years ago

I tried, raising the same problem.

splatterb0y commented 11 years ago

Have you added:

<!-- Required features. -->
<feature id="blackberry.ui.contextmenu" />

to your config.xml?

mushtaq34 commented 11 years ago

Yes added as well as using the same example from from "https://github.com/blackberry/BB10-WebWorks-Community-Samples/tree/master/contextmenu" without any changes but getting "uncaught TypeError: Cannot read property 'CONTEXT_ALL' of undefined" exception.

Did you use this example ?? Its working for you??

oros commented 11 years ago

Have you tried the sample here? https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/CustomContext

This community sample may be in need of an update. I'll give it a look.

timwindsor commented 11 years ago

Just checking in on what the status is with this issue

oros commented 11 years ago

Will put in an update today.