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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Cascades Development

Reply
Contributor
subramanyaraviteja
Posts: 20
Registered: ‎09-12-2012
My Carrier: Docomo

Page Navigation in Qml Cascades

hai there is problem in page navigation by using qml i have created a new project it creates a default qml (main.qml) and i have added a new qml page and then iam trying to navigate from main.qml to created page but it was not navigating here is the code check....

 

navigationPane.deprecatedPushQmlByString("Detail.qml") ;

 

Deatail is the page created by me this method was used in main.qml which was created defaultly

 

Please use plain text.
Contributor
satishmukku
Posts: 42
Registered: ‎08-30-2012
My Carrier: Aircel

Re: Page Navigation in Qml Cascades

navigationPaneId.push(id of the push page);

and that will work

Please use plain text.
Contributor
subramanyaraviteja
Posts: 20
Registered: ‎09-12-2012
My Carrier: Docomo

Re: Page Navigation in Qml Cascades

i tried this but its not working
Please use plain text.
Contributor
subramanyaraviteja
Posts: 20
Registered: ‎09-12-2012
My Carrier: Docomo

Re: Page Navigation in Qml Cascades

but if the (.qml) pages are different is it work

Please use plain text.
Developer
shahumang8
Posts: 461
Registered: ‎08-09-2010

Re: Page Navigation in Qml Cascades

Please provide some code.

Please use plain text.
Contributor
subramanyaraviteja
Posts: 20
Registered: ‎09-12-2012
My Carrier: Docomo

Re: Page Navigation in Qml Cascades


NavigationPane {
id: navigationPane
Page {
Container {
Button {
text: qsTr ("Click Me")
onClicked: {
navigationPane.deprecatedPushQmlByString("Page2.qml")
}
}
}
}
}

Please use plain text.
Developer
shahumang8
Posts: 461
Registered: ‎08-09-2010

Re: Page Navigation in Qml Cascades

Hi,

 

 Check attachement .

 

Thanks.

 

-------------------------------------------------------------------------------------------------------------------------

feel free to press the like button on the right side to thank the user that helped you.

Please use plain text.
Contributor
subramanyaraviteja
Posts: 20
Registered: ‎09-12-2012
My Carrier: Docomo

Re: Page Navigation in Qml Cascades

thank u

Please use plain text.
Visitor
ZogG
Posts: 1
Registered: ‎09-26-2012
My Carrier: -

Re: Page Navigation in Qml Cascades

Let's make it little bit harder. 

If i have main as TabbedPane wich would show list of data on each tab, but when i click the the item itself i want it to be opened in NavigatePane with item info and the back would kick me back to TabbedPane. I know it's possible because BBM on bb10dev alpha acts this way when you go into conversation.

Please use plain text.
Developer
ekke
Posts: 913
Registered: ‎04-08-2010
My Carrier: vodafone

Re: Page Navigation in Qml Cascades


ZogG wrote:

Let's make it little bit harder. 

If i have main as TabbedPane wich would show list of data on each tab, but when i click the the item itself i want it to be opened in NavigatePane with item info and the back would kick me back to TabbedPane. I know it's possible because BBM on bb10dev alpha acts this way when you go into conversation.


I have a TabbedPane where tabs gave Lists,

and on each tab a NavigationPane is on top with some Pages

Back brings you back to the Tabs

(Im displaying all Tabs in Actionbar only at topmost Screen,

after selöecting a Tab, all Tabs are displayed in left Sidebar to have space for Actions in the Actionbar besides the selected Tab

 

you can found all of this in my Open Source project OpenDataSpace

 

-------------------------------------------------------------------------------
ekke (independent software architect, rosenheim, germany)

BlackBerry Elite Developer
International Development Mobile Apps BlackBerry 10 Cascades
Cascades - Workshops / Trainings / Bootcamps

Open Source Enthusiast
blog: http://ekkes-corner.org videos: https://vimeo.com/ekkescorner/videos
bb10-development: http://appbus.org Twitter: @ekkescorner
Please use plain text.