NavigationPane push does not work

Hello

I'm working on an application that has a TabbedPane, with, in the first tab, a NavigationPane with a first Page that is my home page.

My problem is that I can't push my second screen on the NavigationPane if I try to do it from a button.

To be more precise, my homepage has a list that is managed by a custom GroupDataModel.

On the list, I have replace onTriggered to call a method what in my data model that drives the second screen.

It works very well.

Here is my code:

QML

onTriggered: {}

var chosenItem = dataModel.data (row);

_dataModel.didSelectItem (chosenItem);

}

C++

Q_INVOKABLE void {MTHomeDataModel::didSelectItem (QVariantMap selectedItem)

MTRecipePage * recipePage = new MTRecipePage (selectedItem ["id"] .toInt (), navigationPane);

navigationPane-> push (recipePage-> getPage();)

}

Now, a single item in my list has a button. What I want to do is exactly the same as before, to push another type of screen. But it does not work.

Here is my code:

QML

onClicked: {}

Qt.homeList.dataModel.searchClicked (text);

}

C++

Q_INVOKABLE void {MTHomeDataModel::searchClicked (QString searchText)

MTRecipeSearchResultsPage * results = new MTRecipeSearchResultsPage (searchText, navigationPane);

navigationPane-> push (results-> getPage();)

}

The searchClicked method is called, (on the same thread as the didSelectItem), the MTRecipeSearchResultsPage is created, but the screen is not pushed.

Any idea?

Thank you

OK, I found the problem, thanks.

Tags: BlackBerry Developers

Similar Questions

  • What is pushing apple? I must have when sharing itunes with MP3 Rocket? Everything works fine. But I get a message telling me that apple Push does not work.

    Hello. I share itunes with MP3 rocket very successfully. I buy songs from itunes.  When I finished, I get a pop up window telling me that Apple Push does not work properly. What is Apple push and do I need it. Everything is working well at the moment.  Thank you

    Hi Wendy,.

    Thank you for choosing to ask your question in the Microsoft forums. The question you posted would be better suited in the Apple forums. Check out the link and ask the question.

    https://discussions.Apple.com/index.jspa

  • push does not work after about a month

    Hello

    I may receive the push on the device a month ago. But when I try today, I couldn't get the push on the device no more.

    Server side, I saw this response from your server push:

    "" http://www.openmobilealliance.org/Tech/DTD/pap_2.1.DTD"> <> push-id ="pushid"- sender address ="http://cp4348.pushapi.eval.blackberry.com/mss/PD_pushRequest " -nom_expediteur =" RIM Push-Data "response-time Service =" "2013-12 - 20 T 18: 58:21Z" > "

    But I can't receive the thrust on the device.

    Thank you.

    VNet wrote:
    Furthermore, is it possible to change background app before or auto-start the app and bring it to the front once the application gets the push? I think that this can be done in 10.0/10.1, we can do it in 10.2? If so, is there an example of code to do this?

    No, applications are not capable of leading themselves. The preferred route would be to add a notification on the Hub, which the user can use to launch your application.

  • With the help of screens LCD producr / consumer in WebLogic WSRP portlet does not work

    I look at the use of displays LCD asynchronously "push" data to Flash in WebLogic portlets components.  I've set up a test with a destination of producer/consumer of LCD screens - the Flash component is the consumer and the producer is implemented in a java Servlet.  The test code is essentially a copy of the script data push in samples of LCD screens.  The test is run in 'local' portlets and portlets that are intended to be consumed by other portals using WSRP.
    When I run the test by using 'local' portlets (i.e., hosted on the same server as the portal and accessible Portal through the portal on this same server) everything works fine.  When I run my servlet of producers, consumers get the asynchronous push.
    However, when the Flash component is a portlet consumed remotely in another portal via WSRP, push does not work.  I have run the servlet, I see local customers, get the message, but the WSRP portlets never gets the message.  I have to do something different to enable LCDs to push to a remotely consumed WSRP portlet data?

    Hi StevePamp,

    To expose to consumer WSRP portlet, add the following instead of the portlet-preferences of the portlet.xml file section. This setting enabled queries SWF files be sent by proxy if the consumer according to the WSRP specification server.

         channel_uri     /messagebroker/amfpolling     true 
    

    The documentation is available here:

    http://help.Adobe.com/en_US/LiveCycleDataServicesES/3.1/developing/WSC 3ff6d0ea77859461172e0811f00f7045b - 7f2bUpdate.html

    I would like to know if it works for you?

    Thank you

    Rohit

  • Push app does not work: packaging / installation problem?

    Hello

    I created a small Java application to manage the MDS (push RIM) push on my device. It is supposed to run as a module and launch on startup of the unit. It should create a new notification profile and listn for data push. Then it should display a popup that contains data that has been rejected and the user must be warned.

    This app works great on simulators, the profile is created, the data push is displayed and the user is notified. However the application does not work on the real server device. The request seems to be ok (checked with a sniffer network), but nothing happens on the device. The profile is not created.

    I asked key signing, generated an alx file and installed the application on the device with the Desktop Manager. How can I check if the application is correctly installed and if it is started automatically and when I push the data running?

    It's ok now. I didn't realize that you must sign the application whenever you build...

    Thanks Mark.

  • nofications push Skype does not work

    I recently bought a Nokia lumia 520 to chat with my friends so I didn't need my PC on all the time I thought that I would like to chat on Skype and see the nofications on the home screen when not using the application, but it does not I'm in the last because I uninstalled and reinstalled I checked the internet and there are themes such as present everywhere , a lot of people, it works for, but I'm not please help it is very annoying more my Skype does not work in the background so my classmates always think im offline this very annoying so please help.

    Thank you for reporting the issue, please reply to a private message you sent with a request for more information, so that we can deepen.

  • Pushed back with Nvidia GeForce 9600GT 512 MB does not work?

    Hey...  I have a problem with regrowth in Adobe Photoshop CS5 Extended...

    The 'Regrowth' in 3D in Photoshop tab is greyed out...

    It's my system features:

    Windows Vista Edition Home Premium Service Pack 2

    2 GB RAM DDR2 at 667 MHZ

    Intel Core 2 Duo 2.4 GHZ OC to 3.0 GHZ

    NVIDIA GeForce 9600GT 512 MB OCed - latest driver updates

    Card mother MSI P6NGM

    ______

    Uten navn.jpg

    This video card is supported in Photoshop CS5, but this tool does not work!

    Ways to solve this problem?

    Looks like we'll have to resort to cheating Photoshop using OpenGL drawing. Download these reg files *, open them in Notepad, change of 11.0 to 12.0 (because they have for CS4) and then run both with YOU on their behalf.

    http://www.Adobe.com/support/downloads/detail.jsp?ftpID=4056

  • iPhone 5 home button does not work after ios 10

    My 5 Iphone Home button does not work after update final IOS version of 10.

    The home button works on the first push to wake the phone but it will not open the phone the second button.

    I activated the assist button, which does not work either. But what I discover is if I open device for assistance then touch and lock screen click on the button home will work once to open the phone. If I open any app I can't close it unless I go through the same routine.

    You attempted to restart your phone?

    You can do so by holding the sleep/wake button and the Home button simultaneously until the Apple logo appears

  • Finger remains open does not work

    I am very concerned by exhaust on my 6s iphone home button so I put "Rest finger to open" but it doesn't work? Am I supposed to do something else?

    Just to clarify - when you say that it does not work you can answer with more details.

    If the phone is locked, you must physically, press the home button or the sleep/wake button and then rest your finger on the button Home. If you physically push the Home button, it should wake up and unlock the phone in virtually a single step, as the press wake up the phone and the finger being almost immediately this button indicates the contact id and unlocks the phone. Note that before iOS 10 physical pressure on one of the buttons was also required.

  • My HP laptop cooling fan does not work.

    Okay, so. I have a HP Pavilion 1145sg g6. It worked fine all morning, and then I put sleep temporarily (about ten to twenty minutes). When I went to turn it on, the screen was black and he said something along the lines of

    "the system has detected that a cooling fan does not work correctly. Suite operation is not recommended at this time... may result in unpredictable behavior that may result closed random, loss of data or damage the system as possible. »

    Then after a few seconds it stops completely. There is an option to continue with the summary of the system and I clicked once on it, but she didn't go through completely for allowing me to use my laptop properly (I arrived at my wallpaper and it stopped).

    This has never happened before, and I never had any problem with my laptop, like this before. I have had him since last August, and it worked pretty well through until today. Of course, the system sometimes, accused but nothing serious, for the most part just aggravating.

    How can I fix?

    Someone said here that they stung the fan with a hairpin and it started working. I took a toothpick and switched my laptop and tried to move the fan and the fan started WALLA on! I noticed that a lot of dust in there and that's probably the culprit first event hough I keep this laptop clean every day, this darn dust is sneaky and small. If you use a toothpick, make sure not to break anything especially the toothpick. last thing you want to do is cause more harm. Now that I think I don't remember when the last fan worked and if it wasn't for the message that popped up today I would not of the same notice I wasn't to hear the fan because last week I said "wow is not the substance of this portable super hot feeling", but I just thought that my fiance was simply playing games on the computer for too long and that's why he was hot. He never closes the computer off smh. in any case, I'm very happy I read this post of a person using the PIN to hair. That's what forums are all about. Help each other. I hope it works for you. Be gentle, try pushing the way fan propellers in clockwise. Use a flashlight to see if dust or anything like that is by the way to allow the fan to run its on.  I blew in the vents, but it did have almost all of the dust of the road.  All of these messages, it seems this is a common problem. Good luck

  • Satellite Pro P300-276: switch WLan on the front does not work

    Hello.

    I have a problem with my laptop and would like to receive help or ideas. The switch to forward wireless network adapter does not work.

    It works when I push it to the right and keep pushing it. Then light work, he finds the network, and the convenience store told me that everything is working well. When I let go, the light turns off, it can't find the network and the convenience store tells me that I have to put on the wireless network adapter.

    I suspect that it is a physical problem and I need to get the machine repaired. But if someone has a quick easy solution or a recommendation, then I would like.

    I'm online now using an ethernet cable (via a powerline adapter, which I tend to use anyway). Furthermore, the laptop is great and I love the big screen.

    Thanks in advance,

    Matthew

    Yes, in my opinion, his mechanical problem in something wrong with the switch may be a loser contact

    I think that the one and only one solution: laptop must be disassembled and the switch needs to be replaced

    But it is not easy and to be honest I advise to use a dongle USB external WiFi instead of paying lots of money to get this replaced change.

  • Toshiba Satellite C55-C1K1 - 10 Windows does not work

    Bought one for my mother and it has been a nightmare. The first was a problem with the keyboard that caused it typing random characters on the screen.

    The replacement worked very well for about two months, now the touchpad has stopped working. I use the touchpad in the BIOS, so I know that is not a hardware failure. Tried all the drivers available, including the MOMENTUM (which shows a CRC problem) on the Toshiba site and nothing would work. Tried reinstall of keeping my files didn't work. Then finally took an image of the disk and installed a full Windows 10 and it STILL does not work.

    So what am I, I wanted to now install Windows 8 on it and see which will work. Why Toshiba push 10 windows on people when they did not ensure that the software and hardware are compatible.

    UPDATE.

    I installed Windows 8 on the laptop, and STILL the touchpad does not work. Finally I found a thread on another site, that said that for another model of C55 - A (similar) of Toshiba, the solution has been updated to BIOS. So I downloaded the latest BIOS update and installed. Restarted after the update, and the touchpad started working again. Restarted a few times and it still worked.

    Finally imaged original return 10 Windows operating system on the hard drive, and the touchpad and F5 (activeent/desactiveent) both work now. Toshiba needs to have a note sent with these laptops or to have a reminder. Two days lost on this nonsense.

  • Search engine does not work.

    The google search engine thingy next to the web address does not work. I can type stuff in there, but pushing enter or the magnifying glass does not get for research. For some reason, it seems to work perfectly on privacy, but not regular navigation. I use firefox version 4.0.1 on a laptop macbook OS 10.6.7.

    Why it won't work and how I can get it working again?

    You can try:

    Did you look at this article?

  • Satellite 1950 801, my laptop does not work

    Sorry for my bad English...
    When I start my laptop (push the botton) the screen is black!
    I do not see the TOSHIBA logo... and nothing else!
    The laptop is turned on (the green light is on) but the disk does not work.it similar to a sleep state.
    No BIOS, no windows...
    SO I switch off the power sector and battery to turn off the cell phone!
    Hel me!
    I have a TOSHIBA 1950-801

    Help me!!

    Hi Mauro,

    your problem is very difficult because you do not see the Toshiba logo. When you push power button, watch closely to your LEDs. There is an opportunity of the NB emits a flashing code. The Toshiba Service partner could help interpret the Code and locate the problem.

    Good bye
    chris_cool

  • My left earpod does not work with my iPhone 5s, can someone help me?

    I bought my iPhone 5s in February 10. Last week my left EarPod does not work correctly. I can't send my entire the EarPods iPhone Warranty because I need him to work. Thank you for the support.

    Try to test another pair of headphones with your iPhone to see if the problem is with the earphones or headphones.

    Otherwise, try using the EarPods on another device, like a computer, etc..

    If the problem is with the phone, I suggest to check for debris inside the headphone jack (don't push all objects in there).

    If the problem is with the EarPods, download replace them. ( https://checkcoverage.apple.com/ )

Maybe you are looking for

  • HP Officejet 6500 printer - it won't delete a print job in the queue

    I tried to stop the print spooler, went to C:\Windows\System32\Spool\PRINTERS to remove the document it but this folder is empty so nothing to delete.  I even downloaded HP Print and Scan doctor, but that doesn't seem to work.  Not to mention how man

  • Problem after updating drivers GPU

    Hello I have HP ProBook s 4540 with Win7 pro x 64 and 2 GPU: Intel Hd 3000 and AMD Radeon 7650 Mr. it changes automatically. HP is not taking care of myself. Drivers for my Amd are may 2012. So I decided to update the site Web of AMD. I downloaded CC

  • Laptop crashes after replacing hard drive

    I am REALLY frustrated with my laptop. It's a Vista Home Premium 64 x (Toshiba, model No.: L305-S5912). I JUST had a new HDD replacement - after that this problem happened to me. Now this problem occurs AGAIN, for THE 7TH TIME. I will describe this s

  • Resize photos to send to the web page.

    I need to reduce the size of my photo to send to web pages such as Facebook and Craigslist. I'm not send photos by email. How can I do this? I have Vista Home Premium. Thanks for any help you can give me.

  • CSCtd63041 - percentCONST_DIAG-SP-3-HM_FCI_0_STUCK on Mago

    Dear Sir. In regards to the bug, can you post more details? How to disable the non-intrusive diagnostic test? What is the detail error log? Thank you!