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
Developer
grenadedylex
Posts: 73
Registered: ‎04-08-2014
My Device: Z10
Accepted Solution

Page 1 to Page 2 without navigation pane? (change with cancel button)

Hi..

as the subject already explained

how i click button 1 for example and it will go to new page 2 without navigation pane

if i want to go back to page 1, just click the button cancel

any sample code of this? thanks

Developer
xnike
Posts: 63
Registered: ‎11-04-2011
My Device: PlayBook, DAC, STL100-1, STL100-2

Re: Page 1 to Page 2 without navigation pane? (change with cancel button)

Developer
simon_hain
Posts: 16,364
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: Page 1 to Page 2 without navigation pane? (change with cancel button)

well, the navigationPane is intended for this purpose exactly, i would ask myself why i would want to do that without it first.

if you really want to you could use c++ and replace your root object from page1 to page2. Cascades can use a page as a root object, but there is no built-in navigation functionality, that would be within navigationPane.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
pyth
Posts: 508
Registered: ‎01-19-2011
My Device: My Trusty Red Plane

Re: Page 1 to Page 2 without navigation pane? (change with cancel button)

or just use a single page with two containers
-----------------------------------------------------------------------
I'm a bird from outer space. But I'm not flappy o.o
Developer
pyth
Posts: 508
Registered: ‎01-19-2011
My Device: My Trusty Red Plane

Re: Page 1 to Page 2 without navigation pane? (change with cancel button)

actually, it sounds like what you need is a sheet. like a 'page' for settings/about-us/help etc.

see here
https://developer.blackberry.com/native/reference/cascades/bb__cascades__sheet.html
-----------------------------------------------------------------------
I'm a bird from outer space. But I'm not flappy o.o
Developer
grenadedylex
Posts: 73
Registered: ‎04-08-2014
My Device: Z10

Re: Page 1 to Page 2 without navigation pane? (change with cancel button)

thank u xmike

it really save me

cheers up (y)