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: 21
Registered: ‎05-02-2010
My Device: Storm2 9550
My Carrier: Verizon

Passing Data between QMLs



So, I have a main.qml file that asks for user input and calculates information based on that input. OnSubmit of the information, the data is computed. I need that data to then be passed to another "displayData.qml" QML file. This file will then present the data that was computed on click from the Main.qml file. How would I accomplish this?

Posts: 262
Registered: ‎07-13-2012
My Device: PlayBook, DA B, DA C, LE Z10 #102, Q10, Z30
My Carrier: T-Mobile

Re: Passing Data between QMLs

Megha_9_dec answered this same question for me in another thread: http://supportforums.blackberry.com/t5/Cascades-Development/Calling-an-element-id-from-one-QML-file-...


Also I plan on doing a full write up on this on my blog in a few days.

Check out my BB10 Cascades Coding site: BBcascades.com & Cascades Blog: bbcascadescode.tumblr.com

My Built for BlackBerry app: The Dive Plan