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

Native Development

Reply
Regular Contributor
Posts: 60
Registered: ‎06-08-2012
My Device: 8900,9550
My Carrier: tatadocomo

First page and Second page

[ Edited ]

login page  is first page ,after login then  go to second page  with out using navigation pane concept

after  logout go to login page

Contributor
Posts: 11
Registered: ‎05-17-2013
My Device: Z10
My Carrier: AIS

Re: First page and Second page

[ Edited ]

maybe you can use c++
root->setScene(secondpage);

 

but without navigationpane stack you probably get lost.

Regular Contributor
Posts: 51
Registered: ‎04-24-2013
My Device: Z10
My Carrier: Telkomsel

Re: First page and Second page

May be you can use  ComponentDefinition.

Regular Contributor
Posts: 60
Registered: ‎06-08-2012
My Device: 8900,9550
My Carrier: tatadocomo

Re: First page and Second page

what is ComponentDefinition?

Regular Contributor
Posts: 51
Registered: ‎04-24-2013
My Device: Z10
My Carrier: Telkomsel

Re: First page and Second page

I have example like this: 

NavigationPane {
  id: navPane
  
  Page{
     Container{
         Button{
          onClicked:{
                 var page = secondPage.createObject();
//you can pass variable using property navPane.push(page); } } } attachedObjects: [ ComponentDefinition { id: secondPage /*here your second page *you can use source to call qml *like : source : "secondPage.qml" * or */ Page{ Container{ //your elements } } } ] } }