When i click the listview items I have to call two odata webservice and pass that data to next screen ?

Hi All,
            I Have two odata webservices When i click the listview items I have to call that two odata webservice and pass that data to next screen ?

You don't have to pass the data to any page.
onInit method of controller set your oData model like this.
              onInit: function() {
              //var oModel = sap.ui.model.json.JSONModel();
              var oModel = sap.ui.model.json.JSONModel("http://services.odata.org/V3/Northwind/Northwind.svc/Customers?$format=json");
              sap.ui.getCore().setModel(oModel,"oDataId");
After this you can access your model from any views by just binding the elements with your odata. Suppose i have a table in a view of my application then i can write like this.
              var oTable = sap.ui.table.Table({
                     tableId: "myTable",
                     visibleRowCount: 5,
                     editable: false
              oControl = new sap.ui.commons.TextView({text: "{CustomerID}"});
              oTable.addColumn(
                           new sap.ui.table.Column({                             
                           label: new sap.ui.commons.Label({text: "Customer ID"}),
                           visible:true,
                           template: oControl  
              oControl = new sap.ui.commons.TextView({text: "{ContactName}"});
              oTable.addColumn(
                           new sap.ui.table.Column({                             
                           label: new sap.ui.commons.Label({text: "Contact Name"}),
                           visible:true,
                           template: oControl  
              oControl = new sap.ui.commons.TextView({text: "{ContactTitle}"});
              oTable.addColumn(
                           new sap.ui.table.Column({                             
                           label: new sap.ui.commons.Label({text: "Contact Title"}),
                           visible:true,
                           template: oControl  
              oControl = new sap.ui.commons.TextView({text: "{CompanyName}"});
              oTable.addColumn(
                           new sap.ui.table.Column({                             
                           label: new sap.ui.commons.Label({text: "Company Name"}),
                           visible:true,
                           template: oControl  
              oTable.bindRows("oDataId>/value");
Here you can see i have binded the oData with table.
Just what i am seeing that you are trying to pass this model to a page. You don't have to do so. Just bind your oData with relevant elements lite table or anything by writing like this.
oTable.bindRows("oDataId>/value");
these functions are different for different elements.
for listItem you may write like this.
              var oList = new sap.m.List({
              inset: true,
              items : [
                                    new sap.m.DisplayListItem({ label :"Category ID", value : "{oDataId>/CategoryID}"}),
{oDataId>/CategoryID} this has been used for binding.
Regards
Dhananjay

Similar Messages

  • Firefox 6 will not load when I click the icon. I have tried to uninstall it, both through the control panel and geong straight to help.exe. In both cases nothing happens. How do I uninstall this program?

    Firefox 6 will not load when I click the icon. I have tried to uninstall it, both through the control panel and going straight to help.exe. In both cases nothing happens. How do I uninstall this program?

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • HT201209 Trying to redeem a free download for a song from KLove. When I get into my acct & try to redeem it, it just keeps bringing up the "sign-in" box. When I click the button on KLove's webpage to redeem it takes me to that page but does the same thing

    Trying to redeem a free download for a song from KLove. When I get into my acct & try to redeem it, it just keeps bringing up the "sign-in" box. When I click the button on KLove's webpage to redeem it takes me to that page but does the same thing

    Get the redeem code from the KLove page:
    http://www.klove.com/music/store.aspx
    ...and enter it into the Redeem Code box in the iTunes Store.
    You will have to sign in to your iTunes account.
    It worked fine here.  If that doesn't work for you, let us know what went wrong.

  • I have spotty signal at my home, so some functions don't work until I leave the house. I noticed on the main screen, it says I have 54 emails, but when I open the app, I only have 4. I powered down and back up. No fix. What gives?

    I have spotty signal at my home, so some functions don't work until I leave the house. I noticed on the main screen, it says I have 54 emails, but when I open the app, I only have 4. I powered down and back up. No fix. What gives?

    Im having this same problem an my phone is about 3 weeks old. I am not sure about the voice over part though...I have not yet figured out how to work the voice recognition part of the phone...I am such a newbie with this phone. I did the power off/on suggestion, several times. I tried leaving it off for 10 minutes. Tried to reset with the power on/off and home button pressed at the same time. Charged battery. Still makes no difference. You cannot scroll any direction. Have to double click to open apps. Have to double click letters when texting or emailing in order to get the letter in the text box. Can scroll through app choices, have to click on the line with the dots in it and move from page to page. Can't access the settings - > general - > accessibility - because it won't allow me to scroll down to "general".
    Anyone help you with your fix yet?

  • I received a link to fill out a document on this site through email. However, when I click the link, it just directs me to my FormsCentral homepage and there are no documents for me to fill out. How do I find this document or stop myself from just being r

    I received a link to fill out a document on this site through email. However, when I click the link, it just directs me to my FormsCentral homepage and there are no documents for me to fill out. How do I find this document or stop myself from just being redirected to my homepage?

    Greetings,
    I've never seen this issue, and I handle many iPads, of all versions. WiFi issues are generally local to the WiFi router - they are not all of the same quality, range, immunity to interference, etc. You have distance, building construction, and the biggie - interference.
    At home, I use Apple routers, and have no issues with any of my WiFi enabled devices, computers, mobile devices, etc - even the lowly PeeCees. I have locations where I have Juniper Networks, as well as Aruba, and a few Netgears - all of them work as they should.
    The cheaper routers, Linksys, D-Link, Seimens home units, and many other no name devices have caused issues of various kinds, and even connectivity.
    I have no idea what Starbucks uses, but I always have a good connection, and I go there nearly every morning and get some work done, as well as play.
    You could try changing channels, 2.4 to 5 Gigs, changing locations of the router. I have had to do all of these at one time or another over the many years that I have been a Network Engineer.
    Good Luck - Cheers,
    M.

  • When I click the download apps,itunes ask me to authorise this computer and I finish do it, it ask me authorize again and again

    when I click the download apps,itunes ask me to authorise this computer and I finish do it, it ask me authorize again and again

    Delete the song from your Itunes music list, then redownload it, Itunes will ask you if you if you want to download it for free.  This seems to be the fix for my problems.

  • When I click the home button, it takes me to my home page AND opens a blank tab. How can I get it to stop opening the new tab!

    I have igoogle as my hompage. When I click the home button, it will open my igoogle page but also open up a blank tab as well. Firefox didn't always do this, it just started. Maybe when I upgraded to the 5.0. I've tried looking in the options and I can't find something there and there doesn't seem to be a solution on the web. How do I get it to stop doing that?

    Troubleshooting extensions and themes
    * https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes
    Restore the default home page
    * https://support.mozilla.com/en-US/kb/How%20to%20set%20the%20home%20page#w_restore-the-default-home-page
    Check and tell if its working.

  • When i click the icon on my desk top, "HP solution center" i get message that device cannot be found

    I have a 7400 officejet all-in-one.   On my desk top i have an icon for the HP solution center that among other things allows me to scan a picture.   Recently after setting up a network to share the printer via wireless connection when I click the hp solution center icon i get a message that says, "no hp devices have been detected.   Hp solution will close now."  

    hello biorrh, other users with this problem all had an embedded intel hd3000 graphics card with an old driver present. in case this also applies to you, here would be a link to update the driver, which in turn should also address the black firefox problem: https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=23764 (for win7 64 bit)
    in case this doesn't solve the issue or does not apply to your system, start firefox into safemode '''by pressing the shift key while the application is launching''' & disable hardware acceleration in the firefox ''menu ≡ > options > advanced > general'' (that setting will take a restart of the browser to take effect).
    [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]

  • At first I was using my father's icloud account in my iPad and now I use mine. I still have the games that I have been playing for over a year like that itself but when I clicked the upgrade button they r asking for my father's iCloud pass.how 2 upda

    i am using an iPad mini and I had been using my father's iCloud account to purchase apps in app store and now I changed the iCloud account to mine. But the apps still remain purchased in my father's account and not in mine. Now I have to update my apps to use them(I have been using it for over a year) when I click update button they r asking for the passcode of my father's account. So I can't update it. And I also need to update it. What can I do! How can I purchase the same game with the same progress in my iCloud account.

    Yes, if you repurchase it you may lose your progress. The exception would be a game that stored all your progress on a server under your ID
    If you want to retain your progress you have two choices:
    1. Don't apply the update.
    2. Use your fathers account password to update the game.

  • Finder is not working properly mac osx 10.7.4 it no longer launches a new window when I click the finder icon - I have to right click and open a new window

    Hi
    Just recently Finder has stopped behaving as it normally would. Clicking the icon doesn't seem to launch the finder window. I have to right click the finder icon and then click New Finder Window. Sometimes there is no response for sometime and then finally it does open a window. If I click finder when a wondow is open it does not shift focus to finder anymore. I am sure this did not use to be the case?
    PS. not sure if this is how to put things on the forum as haven't used them before!
    Julian

    Click on the spotlight icon in the top right of your screen (looks like a magnifying glass), type
    Terminal
    and press 'return'.
    In the window that opens up, paste or type this exactly into the window
    killall Finder; killall Dock
    (that's case sensitive) and press 'return'.
    You'll notice the Dock disappear for a second or two then return, as do any open Finder windows.
    Test using Finder as normal. Same problem?

  • When I click the View option to view a document on my insurance website, I only get a blank screen with words Mozilla Firefox, and below it, "Search Bookmarks and History" in the upper left corner of the screen.

    This also happened at a bookseller's website, when I clicked on the photo of a book to enlarge it. Instead of showing me an enlargement, it took me to the same blank screen with the title bar, "Mozilla Firefox", and below it another bar with the words "Search Bookmarks and History," both at the top left of the screen. This has happened repeatedly at the two websites I have mentioned. When I went to the same sites using Internet Explorer, the error didn't occur. I did a Microsoft system restore for a previous restore point, but it still did not eliminate this glitch.

    Press F10 or press and hold the Alt key down to bring up the "Menu Bar" temporarily.
    * New Old Menu: https://addons.mozilla.org/firefox/addon/new-old-menu/
    * Personal Menu (Personal Firefox Button): https://addons.mozilla.org/firefox/addon/personal-menu/

  • When I click the MFF desktop icon Firefox takes exactly 30 seconds to load, is that right?

    ''Duplicate post, continue here -'' [/questions/752057]
    I have just installed Firefox and it takes 30s from clicking the desktop icon to loading the home page. Tabs only take about 2s, is this right?
    IE loads in 2-3 s.

    The answers you have got above are correct.
    However, if your FF otherwise feels snappy when browsing - and a second restart (aka. warm start) of FF is much faster than the first - then you could try my suggestions here: https://support.mozilla.com/en-US/questions/762446#answer-119951
    The slow load time on a cold start is an old "classic" problem for FF.
    Mozilla may work on a solution or not, but meanwhile I'm happy with this work around.

  • Suddenly when I click the Firefox icon I can only get something from MSN, and a Bing searchengine,so I want my Firefox back

    I am sufficiently computer-ignorant that I haven't a CLUE as to what or why = Just that I went to search something on my default browser, and I get this weird MSN thing, with a "search" box that says "Bing". Can anyone tell me how to get my old setting (Firefox) back? This is a Windows 7 on an old HP laptop HELP!

    Does the same page appear if you do one of these:
    * Click the Home icon on the toolbar
    * Open a new window using Ctrl+n
    ''If Yes:''
    Your home page setting probably was changed. You can change it to your preferred home page again. These articles describe some different ways to do that:
    * [[Startup, home page and download settings]]
    * [[How to set the home page]]
    ''If No:''
    Your Firefox shortcut on the desktop may have been hijacked. You can check that by right-clicking the shortcut > Properties > Shortcut tab. For your version of Windows, the Target line should be exactly the following, no more, no less:
    "C:\Program Files (x86)\Mozilla Firefox\firefox.exe"
    If there is anything extra after that, delete it.
    Any improvement?

  • Hey Guys. I have a problem with the Installation from adobe cc. If i download it there stands that is installing, but after 2 seconds the download stops instant! And i havent the programm. I have a pc with Windows 8 and before that Problem i had, i had ph

    I cant install Adobe Creative Cloud! I need help plssssss!!! D:

    Three different download add-ons installed .....
    '''Try the Firefox SafeMode''' to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    [https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode#w_safe-mode-window_2 Troubleshoot Firefox issues using Firefox SafeMode]
    When in Safe Mode... <br />
    * The status of plug-ins is not affected.
    * Custom preferences are not affected.
    * All extensions are disabled.
    * The default theme is used, without a persona.
    * userChrome.css and userContent.css are ignored.
    * The default toolbar layout is used.
    * The JIT Javascript compiler is disabled.
    * Hardware acceleration is disabled.
    * You can open the Firefox 15.0+ SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    '''''If it is good in the Firefox SafeMode''''', your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes <br />
    Or it might be caused by Hardware Acceleration.
    ''When you figure out what is causing that, please let us know. It might help other user's who have that problem.''

  • When i use the back arrow I have to click twice, what is wrong

    I dont like the new toolbar any way to go back to the old one.
    When I click the back arrow I have to click it twice , what is wrong

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    * [[Troubleshooting extensions and themes]]

Maybe you are looking for

  • Deployed component not listed in SDM

    I have some non-SAP components that I want to unisntall from my QAS portal.  They are listed in /ComponentInfo but I do not see them listed in SDM in either the Deployed tab or  the UnDeploy tab.  Can I undeploy them using SDM command line?

  • Printing in iPhoto v2.0.1

    Hi, I am running iPhoto 2.0.1 on a TiBook with OS X v10.2.8. I am trying to print to a HP Photosmart 245 printer. Whenever I try to print, I get stuck at the spinning beach ball for quite a long time until I am forced to force quit it. I have tried e

  • How to remove the cpu usage limit?

    I have to run a C program on terminal as fast as possible. However, there seems to be a cpu usage limit for the terminal, the program supose to run around 15 seconds on a linux machine with similar configuration where cpu usage is at 85-95%. But, it

  • Why do arrow heads change ends when using the pen tool?

    1. I create a horizontal line 2. I change it to a right ended arrow head selected from my own graphic styles 3. I then want to extend the left side ( non arrow end) with the pen tool 4. I click the non arrow end to extend the line in a vertical direc

  • Why can't I get the Flash Player 11 for my Mac?

    Why can't I upgrade to Flash player 11 on my iMac desktop?  It is an OS X Version 10. 5. 8.