Sheet does not work in a Menu system

I am using a sheet in the drop down menu to my application.  I mean here the menu items, you can use when you pull down from the top - usually you will find information and settings in there.

But when I add a piece to this menu, it works once, next time I pull down the menu button appears and does nothing, then after that, pulling down the top did anything.

To re-create it, all you have to do is to create a standard project of Cascades with a Navigation pane.  Then update the QML for the initial screen (main.qml) to the one below.  The idea is that the dropdown displays a 'help page' information about the application.  All the user can do on this page is close.  If the only changes are the addition of MenuItem and the attached object "leaf".

I don't see what I did wrong, but then I'm pretty new to all this.  So, any help would be appreciated.

Thank you.

// Navigation pane project template
import bb.cascades 1.0

NavigationPane {
    id: navigationPane
    //! Add pull down menu item to push info screen
    Menu.definition: MenuDefinition {
        helpAction: HelpActionItem {
            onTriggered : {
                console.log("NavigationPane - info.open()");
                infoSheet.open();
            }
        }
    }
    Page {
        // page with a picture thumbnail
        Container {
            background: Color.Black
            layout: DockLayout {
            }
            Button {
                horizontalAlignment: HorizontalAlignment.Center
                verticalAlignment: VerticalAlignment.Center
                text: qsTr("Show detail")
                imageSource: "asset:///images/picture1thumb.png"
                onClicked: {
                    // show detail page when the button is clicked
                    var page = getSecondPage();
                    console.debug("pushing detail " + page)
                    navigationPane.push(page);
                }
                property Page secondPage
                function getSecondPage() {
                    if (! secondPage) {
                        secondPage = secondPageDefinition.createObject();
                    }
                    return secondPage;
                }
                attachedObjects: [
                    ComponentDefinition {
                        id: secondPageDefinition
                        source: "DetailsPage.qml"
                    }
                ]
            }
        }
    }
    //! Add Info sheet as attached item
    attachedObjects: [
        Sheet {
            id: infoSheet
            Page {
                titleBar: TitleBar {
                    title: "Info"
                    visibility: ChromeVisibility.Visible
                    dismissAction: ActionItem {
                        title: "Back"
                        onTriggered: {
                            // Hide the Sheet.
                            console.log("infoSheet - infoSheet.close()");
                            infoSheet.close();
                        }
                    }
                }
                Container {
                    layout: DockLayout {
                    }
                    Container {
                        TextArea {
                            text: "Information on Application"
                        }
                    }// Text Area Container
                }// Edit pane Container
            }// Page
        }// Sheet
    ]
    onCreationCompleted: {
        // this slot is called when declarative scene is created
        // write post creation initialization here
        console.log("NavigationPane - onCreationCompleted()");

        // enable layout to adapt to the device rotation
        // don't forget to enable screen rotation in bar-bescriptor.xml (Application->Orientation->Auto-orient)
        OrientationSupport.supportedDisplayOrientation = SupportedDisplayOrientation.All;
    }
}

I could have found a workaround for this problem. Try to put your paper in a ComponentDefinition and then dynamically create the sheet whenever you want to display. Something like:

/ * sets the sheet * /.

attachedObjects:]

{ComponentDefinition}

ID: mySheetDefinition

{Sheet

your content here

}

}

]

/ * display the worksheet * /.

var mySheet = mySheetDefinition.createObject ();

mySheet.open ();

I'm still testing other issues, but it seems to work OK and my application menu remains functional in this way

Tags: BlackBerry Developers

Similar Questions

  • Satellite P100-324 - GPU overheating due to fan does not work in the operating system

    Hello world.

    While trying to solve the problem of RAM of 4 GB ([this thread | http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=28374&tstart=0]), I meet another weird thing - gpu overheating due to fan does not work in the operating system.

    Now, I restored the XP MCE using the Toshiba Recovery and I was VERY surprised to see that the problem still exists! As soon as loading the system GPU fan stops, and there is only tranquility. The application load is heavy on GPU and reaching 104 results by reducing its GPU and MEMORY clock values and NOT in the activation of the fan.

    The same thing happens in 64-bit gentoo. ACPI can be turned on or off, it is not serious, the GPU fan always dies as soon as the system load. In non-OS environments (bios, program of recovery, etc.) the fan works fine, GPU cooling from time to time.

    This problem occurs in versions of BIOS: 2.40, 4.00, 4.20.

    Any help would be greatly appreciated, since this laptop is my main working tool and I can't let go 14 days (service).

    I saw in your other thread that you have updated the BIOS and you have installed several different OS.

    Fact is that the BIOS v 4.2 package contains BIOS 32-bit and 64-bit OS.
    Your laptop has been preloaded with Win XP MCE 32 bit. Please use the 32-bit BIOS if the original XP MCE running on the laptop.

    Best regards

  • Problem AnyDVD update 'AnyDVD does not work on your operating system'

    For many years, I used a system called 'AnyDVD '. Today I received a memo to update to the latest version I've done dozens of times in the past.
    This time, however, I have download the new item and click on "run" the file, I get a pop-up window indicating. "AnyDVD does not work on your operating system. .....
    I'm no computer expert so I don't have any idea what to do... I tried a system restore to a few days, but that did not help.
    In the meantime, the previous version of AnyDVD still works as always. How can the old system works but now an update does not work on my operating system. That makes no sense.

    Thanks for the comments... But does not apply to this problem. AnyDVD has free updates. Problem was somewhere in the system and can be corrected within 24 hours and was able to update with no further incident. Still a mystery, but is no longer a problem.

  • The sound does not work on my XP system

    Hi the sound does not work on my Windows XP Pro system, while they were inspecting it stipulates that at least one of the following services does not work, Windows Audio and Windows Audio Endpoint Builder. How can I solve this problem?
    Thank you

    Hi GeraldSaurin,

    ·         How long have you been faced with this problem?

    ·         You did it last changes before the show?

    I suggest you to start the following services and check that it works.

    a. click on Start menu and enter service.msc and press enter.

    b. in the next window you will see the list of services.

    (c) in the list, locate the service and try to Start the services.

    Also run the fixit available in the link below and check if it helps.

    No sound in Windows

    http://Windows.Microsoft.com/en-us/Windows/help/no-sound-in-Windows

    I hope this information helps!

  • Y700 - Dolby Audio does not work after resetting the system

    After resetting my computer to factory settings, audio dolby does not work. This is the error message I get:

    "Your installation is missing components. Reinstall the audio driver or the stand-alone components available on the support site for the manufacturer of your PC. »

    His works on my computer, just not this request.

    Thanks for the help.

    Matt

    I have the same problem, I have a 70-Z40 and the Dolby Digital Plus open, but does not work, you can choose the profile but is not even, I have this problem after the last windows 10 updated a few days ago.

    I hope you can help, thanks in advance

    EDIT: I solved it after a few tries, I don't know if it is the best way, but it's how I solve this problem:

    (1) Delete last windows update (after that, it did not)

    (2) delete the sound driver from Device Manager and reboot (it did not)

    (3) download the driver for my lenovo model page and install it (it did not)

    (4) any uninstall Conexant audio and Dolby of my computer and re - install again (it does not), it seems that my dolby 7.6.4.9 driver version is not correct, I need the 7.5.1.1

    (5) again to uninstall everything and restart

    -From there, he solved my problem

    (6) go on my computer (my system is in Spanish, so I don't know the correct name for the version in English, sorry) and then go to the Lenovo partition, then open drivers > Audio > Setup.exe This will install your Conexant audio driver, and then restart.

    (7) after you restart your laptor, do the same thing... Lenovo > drivers > Audio > DolbyGUI > x 64 > DolbyDigitalPlusHT.msi, and then restart your computer and it should work fine.

    Sorry for my English.

    See you soon

  • Internet and the sound does not work after uninstalling programs, System Restore also not work.

    I noticed that my computer felt a bit slow so I uninstalled a few programs that I knew were not very helpful so I restarted my laptop, and then the network and the sound does not work.

    I tried to use the system restore, but that does not work either and I tried to online solutions, but nothing works.

    Most often when a device does not work, it is because the driver is damaged. Re-install a new copy should help

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly? SignedIn = 1

  • test site downloaded BusinessCatalyst but the button MAIN menu does not work. automatic horizontal menu.

    I have downloaded a trial to the catalyst biz for customer site view and everything works fine except that I can't go back to the home page.

    The image of the sea star is on the top of the menu, is why it seems that the HOME menu item does not work. In the layers panel, reorder the items so that the menu is above the image of the starfish.

  • Windows Update does not work after restoring the system

    HP Compaq 6000 Pro, bought in early 2011. Windows 7 32 bit. I recently did a factory restore to return to a clean system using factory restore partition. The restoration seems complete ok, and I have a Windows 7 clean and functional configuration.

    However, the Update window will not work (and of course, it is now quite an old installation of Windows 7) it comes up with the Red Cross and the message "Windows Update cannot currently check for updates because the service is not running." Other notable issues that may or may not be related are: Windows Defender won't start not (0 x 80070564). HP Support Assistant reports it needs to update, but the update fails (because then it just says: it should be updated again)

    What I've tried so far:

    Verified that the BITS and the WU services are both actually run

    Uninstalled the McAfee antivirus software

    Tried to install Windows 7 SP1 directly (happens with "catastrophic failure")

    Tried Windows Update (wusa.exe) stand-alone installation / WU Readiness tool-fail (Oxc8000247)

    MS difficulty he said Troubleshooter it corrects problems, but nothing changes later

    (In short, tried all suggestions from MS support)

    It drives me crazy - any help will be appreciated!

    ISO should work, just be sure to download the version of Pro 32-bit.

  • WiFi does not work after reinstalling the system

    I have Pavilion dv6t - 6 c 00. I had to reinstall Windows 7 due to a virus. After installing all the drivers available from hp.com for my model, everything finally works but Wifi still does not (network controller shows lack driver even after I tried like 8 different). Here are the technical details:

    PCI\VEN_10EC & DEV_8176 & SUBSYS_1629103C & REV_01
    PCI\VEN_10EC & DEV_8176 & SUBSYS_1629103C
    PCI\VEN_10EC & DEV_8176 & CC_028000
    PCI\VEN_10EC & DEV_8176 & CC_0280

    Appreciate any help. Thank you!

    Hello:

    Download and install this driver.

    http://h20566.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdDetails/?sp4ts.oid=5060882&spf_p.tpst=swdMain&spf_p.prp_swdMain=wsrp-navigationalState%3Didx%253D%257CswItem%253Dob_105197_1%257CswEnvOID%253D4059%257CitemLocale%253D%257CswLang%253D%257Cmode%253D%257Caction%253DdriverDocument&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken

  • Data hold does not work after changing time system

    Hi guys,.

    I configured Oracle Data Guard successfully between a primary database and a database physical standby.

    Later, I changed the date and time in the two servers at the level of the BONE (from 14 - Sep to the 13 sept). The time is the same on both servers, but it has been changed. Then, I created a test table in the primary database, but I see not in the database of relief, well that configuration sounds good.

    Could you please explain?

    It is 11.2.0.1.0 - 64 bit Linux.

    Here is the code:

    In the primary:

    SQL > select sysdate to double;

    SYSDATE

    ---------

    13-SEVEN.-15

    SQL > desc hr.test

    Name                                      Null?    Type

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

    A                                                  NUMBER

    B                                                  VARCHAR2(10)

    In the database backup:

    SELECT SEQUENCE #, APPLIED, FIRST_TIME NEXT_TIME

    FROM V$ ARCHIVED_LOG BY SEQUENCE #.

    SQL > 2

    SEQUENCE # FIRST_TIM NEXT_TIME APPLIED

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

    232 06-06-SEPT.-15-15-SEP YES

    233 06-06-SEPT.-15-15-SEP YES

    ..

    ..

    261 14-14-SEPT.-15-15-SEP YES

    262 14-14-SEPT.-15-15-SEP YES <-here it shows the old date

    31 selected lines.

    SQL > desc hr.test

    ERROR:

    ORA-04043: hr.test of the object does not exist

    In the primary db:

    SQL > alter system switch logfile;

    Modified system.


    Pending:

    SQL > SELECT SEQUENCE #, APPLIED, FIRST_TIME NEXT_TIME

    FROM V$ ARCHIVED_LOG BY SEQUENCE #.  2

    SEQUENCE # FIRST_TIM NEXT_TIME APPLIED

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

    263 13-14-SEPT.-15-15-SEP YES

    264 13-13-SEPT.-15-15-SEP YES <-new date shows fine here

    265 13-13-SEPT.-15-15-SEP YES

    266 IN-MEMORY, 13 SEPT. 13. - 15-SEPT-15

    35 selected lines.


    SQL > desc hr.test

    ERROR:

    ORA-04043: hr.test of the object does not exist

    Hello

    You can check availability using v$ view dataguard_status.

    You can make a request on a user table at the backup site if the standby instance is in recovery mode.

    to check your test table, you must stop the recovery mode and start in read-only mode

    Cancel log apply services:

    SQL > ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;

    Open the database for read-only access:

    SQL > ALTER DATABASE OPEN READ-ONLY.

    Then you can query your table test.

    Concerning

  • Today my 1 password does not work - relocation of menu bar was impossible because it is not compatible with Firefox v. 14.0.1 that is on my computer

    Today the password icon 1 is not found in my menu bar. I'm went to the help of password 1 and tried to download the Firefox extension which would put the icon in the menu bar. The extension would not download. The message explained that the extension was not compatible with the version of Firefox (14.0.1) that I have on my computer.

    Try to upgrade to the latest version of Firefox 16.0.1.

  • Satellite P105-S6217 - 5-in-1 SD card reader does not work after upgrading operating system

    OK, here's my situation:
    I installed my OS Satellite P105-S6217 from Vista Home premium 32 bit to Vista Ultimate 32-bit. I made sure to reinstall all my drivers. I jumped into an SD (2 gigabytes) and nothing happens.
    I checked my host adapters Manager/SD device and it says that the device is functioning properly. I noted, however, that, under the tab other devices, something seems wrong with the mass storage controller.

    I checked the status of the device and it say the drivers for this device are not installed. I swear I have install all drivers. I'm naïve about what to do next. Can someone advise me?

    Do you have the yellow marks in Device Manager?

    I searched Toshiba driver download page and there is the Toshiba memory Flash utility. In this package are the drivers for the SD card and the utility to format the SD card.
    If you install this.
    http://www.CSD.Toshiba.com-online download-online portable => Satellite-online P105-S6217

    After installation, try to format the SD card with the utilities. After that, it should work.

    Maybe the SD card not work properly, then try another SD card.

  • Why my new GFX does not work with my HP system

    Hello, recently I decided to replace my old gfx (gt 545) for the Asus Gtx 760 2g. I also replaced the stock for a new psu. However from the start of my computer that was purchased already built (Hp Pavilion p7-1010 (a) the hp loading screen would come but freeze indicating that I could go to a menu if I Press esc that after that, does nothing. However when swapping graphics card back to my old it will work very well.

    After some time (with the gtx760 in) then the computer emits a long pause and then it beeps again. After 3 beeps computer beeps once then 3 times quickly, resulting to shut down the computer.

    Specifications for the system is here (http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/kb/docDisplay?javax.portlet.begCache...

    With the exception of a new PSU (Thermaltake Litepower 700W, http://www.thermaltake.com.au/products-model.aspx?id=C_00001776)

    And of course the new GFX (ASUS GTX760-DC2OC-2GD5, https://www.asus.com/Graphics_Cards/GTX760DC2OC2GD5/)

    When the unit is turned on the fans in the managed system, as well as those appearing on the graphics card and the light on it becomes green. This could be a problem of compatibility with the rest of the material in the system?
    Anyone know what is happening and how it could be repaired? Any help is greatly appreciated.

    Hello

    You need get clarification of compatibility and/or repair of ASUS.

    The question on the compatibility of the video card is that the video card manufacturer wants to disclose on a particular video card.

  • PSE 8 does not work after upgrading operating system

    I used PSE 8 for a while on Windows XP. I recently "upgraded" to Windows 7 and re-installed PSE 8. After some difficulty in finding my catalog, I had the Organizer to work. However, when I try to pass to the linker, I get a message that says "License for this product has stopped working" also tells me to restart the computer (which has no effect) and displaying the error code 150:30. I contacted Adobe support, and they were useless. I just installed this product on my desktop computer. I considered PSE 19 "redevelopment", but after reading some of the reviews, I don't really want to do. PES 10 apparently has a lot of advertising that cannot be disabled. Anyone know how I can get my 8 version to run? I'm not very happy with Adobe support or visit their web site, and if I can't get this race, I think I'll get other editors to photos. Anyone have any suggestions for an alternative to the PSE?

    See this document from Adobe:

    http://kb2.Adobe.com/CPS/405/kb405970.html?promoid=FCSBS

    Ken

  • Re: WIRELESS does not work after restoring the system to the factory settings

    Hello

    I just had to reset my Toshiba Windows 7 laptop to factory settings, I backed everything up to an external hardrive beforehand. After the process that kept restarting my laptop on its own, he did this, while the default Toshiba program was missing (from the application of the box). He said not to interrupt or turn off the PC while it was running, but I couldn't stop it do it several times. The process finally ends the green bar hit 39/39 and let me come back to the office.

    It seems to be OK now, but I can't get online, I have connected to my wireless router and it says connected with an excellent signal but I can't do anything on Internet Explorer. I would like to re - download a few things such as Adobe Flash Player, AVG Free, Mozilla Firefox but can't even get anything. It's not even an error message that appears when I'm on IE.

    Can someone help me please?

    Tommy

    I hope that you can use your laptop by using the LAN connection.
    Have you tried to reboot your router?

Maybe you are looking for

  • Ports SATA, eSATA capacity in HP ENVY 700-215xt

    I am considering a desktop HP ENVY 215xt 700 PC.  I see the motherboard has 4 different color SATA ports, but can't find anything in the documentation describing the.  Are some readers allocated to hard, other DVD players?  I want to add a bracket eS

  • Re: Satellite A300D-126 - defective graphics card - where to get a new?

    Hello. I got this model and the graphics card is defective,Where can I buy another? Thank you. GPU card is pictured [http://oi53.tinypic.com/1zlf0bb.jpg]

  • history of exe parameters

    Hi all My (test prior to employment) mission is to reproduce the operation of Conversion for Windows in LabVIEW.  The convert to Windows .exe opens with the settings of the previous run list box (there is NO .ini).  It is my understanding that exe ca

  • BD5750H will it work with my Touchsmart 17?

    I probably should have asked this before ordering it, but it's too late now.I just ordered A BD5750H - 01 Blu - ray hard drive to replace the DVD on my HP Touchsmart 17 model j043cl player, someone please say that it will work. I should have asked he

  • How can I turn off microphone on a laptop?

    I have a portable E-system and the microphone suddenly turned on itself yesterday and I could not go down... I tried all the tips and nothing works. Please help :(