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

Native Development

Posts: 669
Registered: ‎02-19-2011
My Device: BlackBerry PlayBook 32GB
My Carrier: Sprint

postMessage from main.qml to a newly created page

Kind of a different approach to trying to solve the issue I have here: http://supportforums.blackberry.com/t5/Cascades-Development/postMessage-between-different-webViews/t...


How do I send a message to a webview inside a newly created page?


Code in main.qml:


stackExplorerPage = stackExplorerPageDefinition.createObject();


SOMETHING.pushMessage('message for the webview on the newly created page');


I need to know what to put in 'SOMETHING'. Any ideas?

I've tried all sorts of things with properties and aliases and whatnot but I keep getting errors about whatever I put in 'SOMETHING' not existing / being found.



Staff UI Prototyper (read: full-time hacker)

My BB10 apps: Screamager | Scientific RPN Calculator | The Last Weather App