NavigationPane push a new NavigationPane

Hello

The app I am train consists on a NavigationPane with action points.

For the moment, action items opens a new page. But what happens if I want to push a new NavigationPane, we will open other pages?

Are we limited to one level or could we use as many levels of NavigationPane we want?

Thanks for your help,

Laurent

AS FAR AS I KNOW:

on top a NavigationPane you won't get only Pages - NavigationPane

but to open a new workflow, you can open a worksheet and this sheet can be again a NavigationPane

BTW: the root of the application may be a TabbedPane, where each tab can be a NavigationPane

Tags: BlackBerry Developers

Similar Questions

  • How to push a new page after the current pop page

    Hi all

    Is it possible for me to push a new page after the current page to burst?

    For example, main.qml I push page1.qml push page2.qml and pop page1.qml? (so the left in the stack are main.qml-> page2.qml)

    Can any ideas on how I do this?

    Thanks in advance.

    Of course! :-)

    You can use the NavigationPane remove() function...

    http://developer.BlackBerry.com/native/reference/Cascades/bb__cascades__navigationpane.html#function...

  • ListView onTriggered event to push a new page

    Currently, I started to learn and develop applications for bb10. I saw troubled when wants to push a new page when click the item in the listview.

    ListView {
                dataModel: XmlDataModel {
                    source: "model.xml"
                }
    
                listItemComponents: [
                    ListItemComponent {
                        type: "listItem"
                        StandardListItem {
                            title: ListItemData.title
                            description: ListItemData.subtitle
                            status: ListItemData.status
                        }
                    }
                ]
                onTriggered: {
                    var new_page = nextpage.createObject();
                    navigationPane.push(new_page);
                }
    
                attachedObjects: [
                    ComponentDefinition {
                        id: nextpage
                        source: "newqml.qml"
                    }
                ]
            }
    

    The code that I use, I expect to get to the newqml.qml, then click on any point on the listview however is not doing. How can I change the code to obtain the result.

    and if I want it open different page each item in listview how does?

    Thanks in advance.

    Hello

    I'm new on this, but I have a tip that could help: create a new project, select stunts, then on the models page, select ListView.

    This will automatically create a default list that automatically connects your article to an ItemPage.qml of a second!

  • Can I use a type of web page display when pushing a new screen?

    Hi all

    Can I use a type of web page display when pushing a new screen (java application)?

    Check with BrowserField. You can find the browserfielddemo example in samples of JDE.

  • Using NetConfig to push a new login banner.

    LMS 3.2 - RME 4.3.1

    I have problems using NetConfig to push a new login banner. I think the question is given that the router or a switch returns a line after the command banner login ^-the router or switch returns a line that says "Enter TEXT message.  "Ends with the character" ^ ".

    Here is an example;

    Connection to router (config) #banner ^.

    Enter a TEXT message.  Ends with the character "^".

    I tried Adhoc Netconfig work similar to the following;

    connection of the banner ^

    It is an example of our new banner.

    blah, blah, blah,

    blah, blah, blah

    It is the end of our new banner.

    ^

    I also tried to use the task called predefined NetConfig banner.

    In both cases, the job failed because of the following:

    "Or impossible orders on the insufficient No. device. the interactive responses (or timeout) for order: connection banner ^ »

    Is there a way to enter the adhoc work in a or something?

    Or do you know a way to use NetConfig to push new banners?

    Thank you

    Mike S.

    Hi Mike,.

    For multi-line banner command, you *should* use and --Now Run the Banner like below example: banner login ^C************************************** !!!!! ADVERTENCIA !!!!! this is the Banner

    you will love it

    hope it will work for you

    ******************************************************^C

    Thank you-

    Alya

    [Note the useful post]

  • How to open push a new screen and pop the existing one?

    Hello

    Let's say I'm on A screen and I press a button to load the screen B. What is the best way to load screen B and remove the screen has?

    In other words, there are many cases in which I have to open, or push, a new screen and I want to close or pop, the pre-existing one. I tried to do this in two ways, but I keep getting errors.

    Thank you!

    Hello

    have you tried with

    UiApplication.getUiApplication () .popScreen (activeScreen);

    UiApplication.getUiApplication () .pushScreen (nextscreen);

    Please use the option "search" in this forum. you will get a lot a lot of samples on this topic.

  • How to push a new page in TabbedPane?

    I use a TabbedPane and need to open a new Page, but it doesn't seem to be a function push() for TabbedPane.

    I know that I can open a new leaf, but I don't want to use a spreadsheet for this case, I need a new page (the kind that scrolls from the right).
    Any suggestions?

    Put a navigation within a tab pane.

    Tab {
            NavigationPane {
                backButtonsVisible: false
                peekEnabled: true
                id: navInTab
                Page {
                    id: tab3
                    Container {
                    }
                }
            }
    }
    

    then attach the page you want to push on one attachedObject

    attachedObjects: [
                    Page {
                        id: pushedPage
                        content: Container {
                        }
                    }
    ]
    

    Then push at any time.

    navInTab.push(pushedPage);
    
  • Push a new file qml via c ++

    /*
     * Copyright (c) 2011-2013 BlackBerry Limited.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    import bb.cascades 1.2
    NavigationPane {
        id: navPane
    
    Page {
        Container {
            id:rootContainer
            // Strips out non numeric characters allowing only 0-9 and '.'
            function numericOnly (textin) {
    
                var m_strOut = new String (textin);
                m_strOut = m_strOut.replace(/[^\d.]/g,'');
    
                return m_strOut;
    
            } // end numericOnly
            background: Color.Red
    
            layout: DockLayout {
    
            }
            topPadding: 100.0
    
            TextField {
                inputMode: TextFieldInputMode.Text
                autoFit: TextAutoFit.Default
                maximumLength: 5
                textStyle.textAlign: TextAlign.Center
                preferredWidth: 205.0
                horizontalAlignment: HorizontalAlignment.Center
                hintText: ""
                id:txtAmount
                onTextChanging: {
                    txtAmount.text = rootContainer.numericOnly(text);
                }
    
            }
            Button {
                text: "Submit"
                onClicked: {
    
                    quoteApp.clickedButton(txtAmount.text);
    
                }
    
                horizontalAlignment: HorizontalAlignment.Center
                verticalAlignment: VerticalAlignment.Center
    
            }
    
        }
    
    }
    }
    

    How is that possible? How can I grow new file qml here in this method?

    void ApplicationUI::clickedButton (QString text)
    {
    qDebug()< "the="" azimuth="" is="" "="">< text="">< "="">

    }

    You have two options

    First of all:

    Defined for your NavigationPane ObjectName

    NavigationPane {
        id: navPane
        objectName: "myNavi"
        .....
    }
    

    Use the findChild function in your C++ class

    QmlDocument *qml = QmlDocument::create("asset:///main.qml").parent(this);
    
    // Create root object for the UI
    AbstractPane *root = qml->createRootObject();
    
    NavigationPane *myNavi = root->findChild("myNavi");
    

    and then use myNavi-> push() on your Boutonclique.

    or the second option

    Define SIGNAL in your C++ class

    signals:
        void clickedButtonDone();
    

    connect to the signal in your file QML

    NavigationPane {
        id: navPane
    
        function pushFunction(){
            // here you can push page
            navPane.push()
        }
    
        onCreationCompleted: {
            quoteApp.clickedButtonDone.connect(pushFunction)
        }
    
        ......
    }
    

    and in your Boutonclique sound the signal

    void ApplicationUI::clickedButton(QString text)
    {
        qDebug() << "The azimuth is " << text << " degrees.";
        emit clickedButtonDone();
    }
    

    It may be useful

  • Push the new entries to the next column when paragraph overflows

    There are three styles of paragraph in use here: heading , subheadingand paragraph. Currently, the style of each paragraph has attributes control only the font style and spacing of paragraphs.

    Screen Shot 2015-09-26 at 5.11.40 PM.png

    In the following screenshot, you'll see that the paragraph at the bottom of the left page overflows the text field on the right page. In cases where the position, headingor paragraph overflow to the next column, I want to force the elements starting with the topic start on the right page.

    Here is how it is now:

    Screen Shot 2015-09-26 at 5.14.18 PM.png

    Here's how I would want it behaves:

    Screen Shot 2015-09-26 at 5.14.32 PM.png

    It is not possible to manually adjust the heights of text frame that paragraphs will constantly change through many pages because of conditional text, and other variables. Is it possible to set up a net of paragraph or another property to automatically produce this behavior across all blocks of text containing these paragraph styles?

    Have a look at the options of Dungeon.

    Access through the window or the paragraph style > type > paragraph menu fly.

    Looking to keep Options InDesign secrets on Google.

  • In the root of TabbedPane NavigationPane

    Hi all

    I have a TabbedPane and then a menu with a SettingsActionItem. When this settings button fires I want to push a page that contains the parameters to this subject, and then I can click back to return to tabs.

    import bb.cascades 1.0
    
    TabbedPane {
        Menu.definition: MenuDefinition {
            settingsAction: SettingsActionItem {
                onTriggered: {
                    var page = setingsView.createObject();
                    navigationPane.push(page);
                }
                attachedObjects: ComponentDefinition {
                    id: settingsView
                    source: "SettingsView.qml"
                }
            }
        }
        Tab {
            tite: "Tab1"
            NavigationPane {
                id: navigationPane
                Page {
                     //etc.....
                }
            }    }}
    

    However, the problem is that there is no navigation pane to push the new page. We cannot put a NavigationPane under the TabbedPane, but we can put it in a tab of a TabbedPane.

    So, how can I go all by pushing a new page?

    Thank you!

    [UPDATED ABOVE CODE]

    I got it work using files separated such as:

    hand. QML

    TabbedPane {
        id: newsPane
    
     Tab{
         title: ""
            TabOne {
                }
    }
    Tab{
        title: ""
           TabTwo {
               }
        }
    Tab{
        title: ""
           TabThree {
               }
        }
    Tab{
        title: ""
           TabFour {
               }
        }        
    
    }
    

    Then, he...

    TabOne.qml, TabTwo.qml, TabThree.qml and TabFour.qml:

    NavigationPane {
        Page {
           ....
           }
       }
    

    And it has an a NavigationPane feel TabbedPane when I can push to a page within the NavigationPane and action bar has more tabs, rather it changes the back button.  Can be illustrated in this app: http://appworld.blackberry.com/webstore/content/20197455/?lang=en (I wrote the application for OnlineTobago)

    So as much as your page 'Settings', why not use a spreadsheet?  This is exactly what a spreadsheet is intended, something that breaks the normal flow of navigation.  And it can be accessed via the system menu of any tab, if defined in the main.qml and using the property alias you can control the id defined in TabOne.qml, TabTwo.qml, etc. I have a sample where I do it too: http://bbcascades.com/index.php/tutorial-list/50-persistence-of-cascades-memory

    I hope this helps.

  • SettingsActionItem and NavigationPane

    I'm trying to reproduce BB10 settings menu in one of my apps. I want to push pages of navigation in the list settings screen. I used the cascadescookbook as my model for this feature. Everything works great and I can see my list of settings with the list of location settings option, but when I select the element, it never pushes the LocationSettings.qml page.

    Here are the excerpts from main.qml.

    NavigationPane {
        id: navPane
    
        // Define the Page and Sheet objects that would be used from the Application menu
        attachedObjects: [
            ComponentDefinition {
                id: settingsPage
                source: "SettingsPage.qml"
            },
            Sheet {
                id: infoSheet
                // The following page refers to the InfoPage.qml
                InfoPage {
                    id: infoPage
                    // Handle the custom signal from InfoPage.qml
                    onDone: {
                        infoSheet.close();
                    }
                }
            }
        ] // attachedObjects
        Menu.definition: MenuDefinition {
            id: menu
            actions: [
                ActionItem {
                    title: "Info"
                    imageSource: "icons/info.png"
                    onTriggered: {
                        // For InfoPage, we will use Sheet
                        infoSheet.open();
                    }
                }
            ]
            settingsAction: SettingsActionItem {
                imageSource: "icons/settings.png"
                onTriggered: {
                    // For Settings, we will use NavigationPane
                    var settingsPageObj = settingsPage.createObject();
                    Application.menuEnabled = false;
                    navPane.push(settingsPageObj);
                }
            }
        } // MenuDefinition
        Page {      -- container stuff --
       }
        onPopTransitionEnded: {
            Application.menuEnabled = true;
        }
    }
    

    The SettingsPage.qml

    import bb.cascades 1.0
    
    Page {
        id: settingsPage
        titleBar: TitleBar {
            title: "Settings"
        }
        Container {
            layout: DockLayout {
            }
            Container {
                topPadding: 15
                bottomPadding: topPadding
                ListView {
                    dataModel: XmlDataModel {
                        source: "models/settingsmodel.xml"
                    }
                    listItemComponents: [
                        ListItemComponent {
                            type: "settingsitem"
    
                            // Use a predefined StandardListItem to represent "listItem"
                            // items
                            StandardListItem {
                                title: ListItemData.title
                                description: ListItemData.subtitle
                                imageSource: ListItemData.imagesource
                            }
                        } // end of second ListItemComponent
                    ]
                    onTriggered: {
                        // When an item is selected, we push the recipe Page in the chosenItem file attribute.
                        var chosenItem = dataModel.data(indexPath);
    
                        // Set the correct file source on the ComponentDefinition, create the Page, and set its title.
                        settingsItemPage.source = chosenItem.file;
                        var page = settingsItemPage.createObject();
                        page.title = chosenItem.title;
    
                        // Push the new Page.
                        navPane.push(page);
                    }
                }
            }
        }
    
        attachedObjects: [
            ComponentDefinition {
                id: settingsItemPage
                source: "LocationSettings.qml"
            }
        ]
    
    }
    

    The settingsmodel.xml

    
        
    
    

    and the LocationSettings.qml

    import bb.cascades 1.0
    
    Page {
        titleBar: TitleBar {
        }
        Container {
            Slider {
                value: 10.0
                fromValue: 5.0
                toValue: 200.0
            }
        }
    }
    

    In your SettingsPage.qml file...  Comment the page.title = chosenItem.title; line and try again...

                    onTriggered: {
                        // When an item is selected, we push the recipe Page in the chosenItem file attribute.
                        var chosenItem = dataModel.data(indexPath);
    
                        // Set the correct file source on the ComponentDefinition, create the Page, and set its title.
                        settingsItemPage.source = chosenItem.file;
                        var page = settingsItemPage.createObject();
                        // page.title = chosenItem.title; <------------------------
    
                        // Push the new Page.
                        navPane.push(page);
                    }
    
  • New Web site is blank when I push to FTP

    Hello! I'm trying to push my new website via FTP but I can't access it from the web browser. I've been troubleshooting for hours now. All I need is a few ideas that I can find to try to get this site up and running. My domain name is mellandagsreor.nu

    I tried to synchronize using Dreamweaver and my settings seem to be correct. When I'm looking at the server, the files are there and everything looks good, but I can still access the Web site. Maybe Dreamweaver shoot somehow a corrupted file?

    I see a site at this address.

    It could just be a problem of the browser cache, clear your browser cache and try to watch it again.

    I see this...

  • Help me, create a new page of the current page TabbedPane

    I want when I touch the tab on a new page. Here is my source:

    hand. QML

    import bb.cascades 1.0
    TabbedPane {}
    showTabsOnActionBar: false
    Tab {//First tab
    Text located with the dynamic translation and locale update support
    Title: qsTr ("Blackberry") + Retranslate.onLocaleOrLanguageChanged
    imageSource: "asset:///pic/ic_bbm.png."
    ActionBar.placement: ActionBarPlacement.InOverflow
    {Page}
    actions:]
    {ActionItem}
    ID: action2
    Title: qsTr ("About") + Retranslate.onLocaleOrLanguageChanged
    imageSource: "asset:///pic/ic_info.png."
    ActionBar.placement: ActionBarPlacement.InOverflow
    }
    ]
    title bar: title {} bar
    Title: "a tab.
    }
    {Of container
    {Label
    text: qsTr ("first tab") + Retranslate.onLocaleOrLanguageChanged
    }
    }
    }
    } //End of the first tab
    Tab {tab //Second
    Title: qsTr ("Search") + Retranslate.onLocaleOrLanguageChanged
    imageSource: "asset:///pic/ic_search.png."
    ActionBar.placement: ActionBarPlacement.InOverflow
    {Page}
    title bar: title {} bar
    Title: 'two Tab.
    }
    {Of container
    {Label
    text: qsTr ("second tab") + Retranslate.onLocaleOrLanguageChanged
    }
    }
    }
    } //End of the second tab
    Tab {tab //Three
    Title: qsTr ("Share") + Retranslate.onLocaleOrLanguageChanged
    imageSource: "asset:///pic/ic_share.png."
    ActionBar.placement: ActionBarPlacement.InOverflow
    {Page}
    title bar: title {} bar
    Title: 'Tab three.
    }
    {Of container
    {Label
    text: qsTr ("second tab") + Retranslate.onLocaleOrLanguageChanged
    }
    }
    }
    } //End of three tab
    }

    about. QML


    import bb.cascades 1.0
    {Page}
    anyone ranging from property;
    {Of container
    verticalAlignment: VerticalAlignment.Center
    horizontalAlignment: P
    topPadding: 50
    background: Color.create ("#000000")
    ImageView {}
    horizontalAlignment: P
    imageSource: "asset:///pic/ducdaubb.jpg."
    preferredWidth: 500
    preferredHeight: 500
    }
    {Label
    textStyle.base: SystemDefaults.TextStyles.BigText
    textStyle.fontWeight: FontWeight.Normal
    text: "Radio Indonesia."
    horizontalAlignment: P
    textStyle.color: Color.White
    }
    {Label
    textStyle.base: SystemDefaults.TextStyles.BigText
    horizontalAlignment: P
    textStyle.fontWeight: FontWeight.Default
    text: 'Version 20141.
    textStyle.color: Color.White
    textStyle.fontSize: FontSize.XLarge
    }
    {Label
    textStyle.base: SystemDefaults.TextStyles.BodyText
    horizontalAlignment: P
    textStyle.fontWeight: FontWeight.Normal
    textStyle.fontSize: FontSize.Large
    text: "Copyright 2014-2015.
    textStyle.color: Color.DarkGray
    }
    {Label
    textStyle.base: SystemDefaults.TextStyles.BodyText
    horizontalAlignment: P
    textStyle.fontSize: FontSize.Large
    text: "Devoloper by 1Pro.
    textStyle.color: Color.LightGray
    }
    {Label
    textStyle.base: SystemDefaults.TextStyles.BigText
    horizontalAlignment: P
    textStyle.fontSize: FontSize.XLarge
    textStyle.fontWeight: FontWeight.Normal
    text: qsTr ("http://radio.com.id")
    textStyle.color: Color.create ("#087099")
    Multiline: false
    }
    } / / Container
    } / / Page

    Thank you

    You need NavigationPane if you want to push new page (average).

    For example:

    Tab { //First tab
        title: qsTr("Blackberry") + Retranslate.onLocaleOrLanguageChanged
        imageSource: "asset:///pic/ic_bbm.png"
        ActionBar.placement: ActionBarPlacement.InOverflow
        NavigationPane{
            Page {
                actions: [
                    ActionItem {
                        id: action2
                        title: qsTr("About") + Retranslate.onLocaleOrLanguageChanged
                        imageSource: "asset:///pic/ic_info.png"
                        ActionBar.placement: ActionBarPlacement.InOverflow
                    }
                    ]
    ...................
    

    then in your page add ComponentDefinition to attachedObjects of the page

    YourPage{
    
        attachedObjects: [
             ComponentDefinition {
                 id: aboutPage
                 source: "About.qml"
             }
         ]
    }
    

    and finally, to push the new on the page.

    ActionItem{
        title: qsTr("About")
        onTriggered:{
            activePane.push(aboutPage.createObject())
        }
    }
    

    It may be useful

    For more information, see this

    https://developer.BlackBerry.com/native/documentation/Cascades/best_practices/dynamic_qml/

  • What is new app keep showing 'day '.

    Hi team, support
    Whenever I press the 'Refresh' button of the software
    Update function, there are always prompt 'what's new updated' message, I already downloaded the app.
    Tried to clear its cache and force shutdown and reinstall the app but still the same.
    Appreciate your review on this issue. Thank you.
    Information: what is new app v.2.0.A.0.11, current OS version: 5.0.2 software Lollipop no.14.5.A.0.270, Xperia Z1, model: c6902

    It should be fixed after that Sony pushed its new version of @uliwooly 3.0.A.0.3 to my phone last night. No more problem. Thank you

  • Cannot create the object push service

    Hello:

    I've been stuck on this for weeks.

    I followed all the steps, but

    When I run this line,

    blackberry.push.PushService.create (ops, failCallback successCallback, simChangeCallback, pushTransportReadyCallback);

    it not always returns faillCallBack, and the error code is 500 - error: an internal error has occurred by calling blackberry.push.PushService.create. Try to restart the application.

    does anyone have any ideas?

    Thank you.

    Push both by Wi - Fi works with a SIM card inserted.

    Oh, just thought that what the problem most likely is for you.

    When you request signing keys, you must ensure you get special permission to use push.

    When you asked signing keys and an account of BlackBerry Push Service?  This new permission to push is new, old signature keys don't have it.

    If you have an active account of BlackBerry Push Service and has not received an email with the procedure Add permission to push it to your keys, then please email [email protected].  Let them know you have a Services Push account and want permission to Push added to your keys.  In addition, give them the email address associated with your code current signing keys. That should be enough for get you approval within a day or two.

    Let me know if you encounter any problems.

    Matt

Maybe you are looking for