Welcome!

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

Reply
New Developer
catchphraze
Posts: 8
Registered: ‎11-13-2011
My Device: Tour 9630

Exception in colorPickerAsync:TypeError undefined is not a function

I'm creating a webworks app that requires the use of the colorPickerAsync, I have set everything as it should be I.e the config file contains a feature tag with ID of blackberry.ui.dialog. I also followed the exact code on the API reference, but yet anytime I run it on either ripple or a blackberry simulator (9630/5.0.0.624) it gives me the error:

Exception in colorPickerAsync:TypeError undefined is not a function

Is there something I am doing wrong? Because everything seems to be in the right place. I understand that it may not work on ripple because its not listed in the supported platforms, but I'd at least expect it to work on a simulator.