Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.

Posts: 213
Registered: ‎10-02-2010
My Device: Z10 and Z30
My Carrier: Play and Plus

MenuItem sample app problem

[ Edited ]

When I try to run code provided on page http://supportforums.blackberry.com/t5/Web-Development/Adding-Menu-Items-using-the-BlackBerry-Widget...


on OS 5 there are no problems but when I run it on OS 6 (BB 9800 emulator and device) I always get exeption error and menu is not displayed.




Ok, menuItem is not working on BB OS 6. Menu is not displayed also on RSS reader sample app.

Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: MenuItem sample app problem



Are you still experiencing this error?


Have you modified the config.xml document at all?  The reason I ask is because the following known issue currently exists with WebWorks apps running BlacKBerry 6:



  • The blackberry.ui.menu and blackberry.ui.dialog features cannot be used in the same application (namespace conflict).  If both of these features have been included in the application's configuration document (config.xml), you will likely see an exception when the application tries to initialize the menu items while running on BlackBerry 6.



We are currently working on resolving this issue.  In the meantime, it is recommend to avoid using the blackberry.ui.dialog feature if your application needs to use blackberry.ui.menu.


Finally, if you haven't already done so, I'd encourage you to update your BlackBerry Web Development Tools.  The latest version of the Widget Packager (v1.5) includes many defect fixes and performance enhancements.




Follow me on Twitter: @n_adam_stanley
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
Posts: 21
Registered: ‎12-03-2010
My Device: Blackberry Bold 9700

Re: MenuItem sample app problem

I can confirm that this bug still happens...

I've removed the "blackberry.ui.dialog" from the config file and created an javascript extension to generate the dialogs.