Textfield upates from controller but when put into column no longer updates

This textfield is updated by my controller triggered by an event elsewhere
var oTotalMonday2 = new sap.ui.commons.TextField({
id : "oTotalMonday2",
"text" : '0',
width : "20px"
var oHL = new sap.ui.layout.HorizontalLayout({
content : [ oTotalMonday2]
aControls.push(oHL);
this is the method in the controller that updates it
handlePressMonday: function(){
var oTable = sap.ui.getCore().byId('entriesTab');
    var nRows= oTable.getBinding("rows").getLength();
    var nSum= 0;
    for(var i=0;i<nRows;i++){
    var oContext= oTable.getContextByIndex(i);
    nSum+= parseFloat(oContext.getProperty("monday"));
    var oLabel= sap.ui.getCore().byId("oTotalMonday2");
    oLabel.setText(nSum);
But when I put the exact same code for the text in a column for my table
oTable4.addColumn(new sap.ui.table.Column({
label : new sap.ui.commons.Label({
text : "Monday"
template : oTotalMonday2,
sortProperty : "monday",
filterProperty : "monday",
width : "60px"
nothing happens, doesn't update the value, I don't understand why doesn't it work when its in a column? But works fine it's standalone in a horizontal layout

Hi Stam
You are creating a template in a column hence
var oLabel= sap.ui.getCore().byId("oTotalMonday2");
will not work.
Maybe you can briefly explain what you wish to do and we can help.
Thanks
-D

Similar Messages

  • I've iPhone 4s, and I am trying to update it to iOS 5.1 I've downloaded the software from iTunes, but when I click to install it, it says: "There was a problem downloading the software for the iPhone 'Donnbjj1's IPhone'. An unknown error occurred (1480)"

    I have an Iphone 4s 32gb and i'm trying to update it to ios 5.1. i've downloaded the software from itunes but when i click on it to install it to my actual phone it says: "There was a problem downloading the software for Iphone 'Donnbjj1's Iphone' . An unknown error occurred (1480)."

    iOS: Resolving update and restore alert messages
    For error -50: See error 13 and 14: 
    Error 13 and 14: These errors are typically resolved by performing one or more of the steps listed below:
    Perform USB isolation troubleshooting, including trying a different USB port directly on the computer. See the advanced steps below for USB troubleshooting.
    Put a USB 2.0 hub between the device and the computer.
    Try a different USB 30-pin dock-connector cable.
    Eliminate third-party security software conflicts.
    There may be third-party software installed that modifies your default packet size in Windows by inserting one or more TcpWindowSize entries into your registry. Your default packet size being set incorrectly can cause this error. Contact the manufacturer of the software that installed the packet-size modification for assistance. Or, follow this article by Microsoft: How to reset Internet Protocol (TCP/IP) to reset the packet size back to the default for Windows.
    Connect your computer directly to your Internet source, bypassing any routers, hubs, or switches. You may need to restart your computer and modem to get online.
    Try to restore from another known-good computer and network.

  • When going to my hometown paper's site I get a dropdown banner that says Firefox has prevented this site from reloading ,but when I click on the allow button you have on the banner nothing happens so why is the button there?

    When I go to the local paper's from Elmira,NY and some other sites I get a drop down banner at the top of the page that tell me Firefox has prevented this page from reloading,but when I go to the allow button that you put on the right side of the banner and click on it the banner goes away and then it comes right back. It will come back every time you click allow until I click on the x box. So I want to know why is the allow button there if it does nothing?

    Click the Firefox button, go to Options | Options | Advanced and in the General tab, remove the checkmark from "'''Warn me when websites try to redirect or reload the page'''".
    You won't get that dropdown banner anymore afterwards.

  • I have downloaded the HD version of a movie from itunes, but when I sync it to my iPad 2 it will not play. It appears that it is on the iPad, but it will not play. Is this because it is HD, and if so is there a way to change it from being HD? Thanks

    I have downloaded the HD version of a movie from itunes, but when I sync it to my iPad 2 it will not play. It appears that it is on the iPad, but it will not play. Is this because it is HD, and if so is there a way to change it from being HD? Thanks

    I'm having a similar problem ... just used my iPad 2 to purchase the Bourne trilogy and it downloaded fine but I did not try to play it right away.  Then I plugged the iPad into the computer and it downloaded the SD versions of the movie and I used iTunes to sync my movies.  Then I tried to play it and it said it could not open the movie.  I then did a full iPad restore and did a fresh sync and now I get the Cannot Opne pop up.  Did you ever find an answer to your question?

  • HT1657 I have rented a movie from Itunes, but when I try to watch it it pauses itself, then skips to the next scene...can anyone tell me why and as I have paid money for this shouldn't I at least be able to watch without any hiccups?

    I have rented a movie from Itunes, but when I try to watch it it pauses itself, then skips to the next scene...can anyone tell me why and as I have paid money for this shouldn't I at least be able to watch without any hiccups?

    You've tried restarting the film ? If it still skips then try the 'report a problem' link from your purchase history : log into your account on your computer's iTunes via Store > View My Account and you should then see a Purchase History section with a 'see all' link to the right of it ; click on that and you should see a list of your purchases ; find that film and use the 'Report a Problem' link and fill in details about the problem (iTunes support should reply within, I think, 24 to 48 hours).
    Some people have had a problem with the 'report a problem' link (it's been taking people to this site on a browser instead of showing a form in iTunes) - if it does that to you then try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page.

  • Movies download from itunes, but when download finishes, there is no movie among my video selections--like it either is hiding or was downloaded somewhere else.

    Movies download from itunes, but when download finishes, there is no movie among my video selections--like it either is hiding or was downloaded somewhere else.

    Okay, you need to contact support definitely about what's going on. Here is a form that will send an e-mail into support for you:
    http://www.apple.com/emea/support/itunes/contact.html
    As far as the prices, the difference is likely the laptop version is the SD version and the iPad one is available in HD. That's the only reason you'll see a price difference. It has nothing to do with the device with movies/movie rentals. Apps yes, these no.

  • HT1711 i wanted to buy music from itune, but when i log in, it said i should answer my email test question, and i have already forgoting it. please what can i do?

    i wanted to buy music from itune, but when i log in, it said i should answer my email test question, and i have already forgoting it. please what can i do?

    If you've forgotten the answers to your security questions and you have a rescue email address (which is not the same thing as an alternate email address) set up on your account then you can try going to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into your account. Then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you might see an option to send security question reset info to your rescue email address.
    If you don't have a rescue email address (you won't be able to add one until you can answer 2 of your questions) then see if this user tip helps : https://discussions.apple.com/docs/DOC-4551
    e.g. you can try contacting iTunes Support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Account Management , and then try Apple ID Account Security
    or try ringing Apple in your country and ask to talk to the Accounts Security Team : http://support.apple.com/kb/HE57

  • Resume from suspend problem when logged into gnome

    The computer is a Dell Inspiron 1525. 
    Suspend and resume work perfectly when at gdm login screen or on virtual terminal  If logged into gnome, calling pm-suspend correctly suspends and resumes.
    The problem occurs when the lid is closed.  The computer properly suspends to ram, but when the lid is opened I just get a black screen and I have to switch to a virtual terminal and restart gdm.
    I have tried adding the resume HOOK and removing the autodetect HOOK as described on the pm-utils wiki page.  I've also tried modifying the scripts in /etc/acpi but it seems like they are ignored when logged into gnome.
    Until updating earlier this week, everything worked fine.
    Any suggestions?  Please let me know if I can supply any more information to help diagnose this.
    Thanks in advance,
    Chris

    Kaffeine wrote:
    schuay wrote:
    Same problem here, Acer Aspire One 250, latest updates from testing.
    Any solutions??
    I solved my problem by using a fresh user directory. I guessed the problem came for a screwed configuration somewhere, I coudln't isolate it.
    You're right, thanks for the hint. Suspending with a new user/userdirectory worked.
    I'm not sure I want to do that though, since this is my girlfriends laptop and deleting her entire gnome configs is not something that sounds smart to me

  • I am trying to open PDF files from safari, but when I click on them they open in a separate window and the information is encrypted. Any ideas on how to get them to open them in Adobe? Any help please!

    I am trying to open PDF files from safari, but when I click on them they open in a separate window and the information is encrypted. Any ideas on how to get them to open them in Adobe? Any help please!

    The pdf is loading as html code. If you save it, it will download as :
    605124.pdf.html
    Change the extension to .pdf
    And it opens and works perfectly, I just tested it:
    Use this link to download it automatically:
    http://saladeaula.estacio.br/arquivo.asp?dir=00/1020624/605124.pdf&num_seq=59828 4

  • I'll ask this again.  I'm running Yosemite, LR 4.4 everything was running fine and I'm not sure if this is connected but when I loaded the last security update from Apple I started getting the "no content" box when I tried to publish to LR (Facebook OK),

    I'll ask this again.  I'm running Yosemite, LR 4.4 everything was running fine and I'm not sure if this is connected but when I loaded the last security update from Apple I started getting the "no content" box when I tried to publish to Flickr (Facebook OK), now I can't get it to authorize, I loaded 3rd party JR plug in and still get can't authorize.  Can anybody help?  Basically LR is useless, it has been nothing but problems.

    It would probably be better to continue your previous thread on the same question than to start a new one.

  • My iphone is giving me a message that reads iphone cannot make or recieve calls.Restore from itunes.but when i log in to itunes its asking for me to input my password on my phone but my phone will only let me make an emergency call..Help

    My iphone is giving me a message that reads Restore Needed. "iphone cannot make or recieve calls. Restore from itunes,but when i loged in to my itunes account its asking me to input my password on my phone but I cant ... Im only allowed to make emergency calls. Help !

    My iphone is giving me a message that reads Restore Needed. "iphone cannot make or recieve calls. Restore from itunes,but when i loged in to my itunes account its asking me to input my password on my phone but I cant ... Im only allowed to make emergency calls. Help !

  • I downloaded different books on my iPad from iBook but when I try to read them the book isn't complete and I see lots of pages with error.

    I downloaded different books on my iPad from iBook but when I try to read them the book isn't complete and I see lots of pages with error.

    Have you tried closing the iBooks app completely and seeing if it works ok when you re-open it ? From the home screen (i.e.not with the iBooks app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the iBooks app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't work then you could try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.
    If neither of the above work then you could also try deleting the app and re-installing it - as long as the books are still in the store and you use the same iTunes account as you originally used then you can re-download them for free : http://support.apple.com/kb/HT2519

  • Ok....I have a 2012 MBP that has Yosemiti installed.  The airplay works from iTunes, but when I try to mirror from the desktop I get the "no device detected" message.  Airplay on all of my other devices work fine.  Has anyone else had this issue?

    Ok....I have a 2012 MBP that has Yosemiti installed.  The airplay works from iTunes, but when I try to mirror from the desktop I get the "no device detected" message.  Airplay on all of my other devices work fine.  Has anyone else had this issue?

    Hey Marco'96,
    Welcome to the Apple Support Communities! I understand that you are experiencing issues with AirPlay mirroring in OS X to your Apple TV. The following resource includes helpful troubleshooting steps towards the end of the article, which may resolve your issue:
    About AirPlay Mirroring in OS X - Apple Support
    http://support.apple.com/HT201343
    Thanks,
    Matt M.

  • I would like to know how i stop some albums ive bought from transfering to my iphone i delete them from itunes but when i sync my phone they transfer from my iphone this is a pain some one please help!!

    I would like to know how i stop some albums ive bought from transfering to my iphone i delete them from itunes but when i sync my phone they transfer from my iphone this is a pain some one please help!!

    Burb79 wrote:
    I thought of that one two tried it but still no joy. I have an ipad2 as well which I set up to not sync any music to it but for some reason the albums have got onto that as well. im thinkin its somthing to do with the dam cloud thing
    Go to Settings/ Store and under the category "Automatic Downloads" you can turn OFF the automatic download of purchases to your device (this needs to be done for each device). There's also a setting in iTunes just for automatic pushes to your iTunes library.
    To remove a purchase you've made directly to your device, you can either:
    a- Swipe across the song title from left to right and press Delete, or
    b- If you auto-sync your device, connect to iTunes and click on the Music tab where you define your sync settings (the Music tab is to the right of the overall Summary page of your device). At the bottom of the Music tab you'll see direct purchases that are on your device -- simply un-check those and click "Apply" or "Sync" to remove them.
    c- If you manually manage music on your device, connect to iTunes and click the small arrow to the left of your device name, and then click on the Music folder under your device. Then navigate to the item(s) you want to remove and then delete them.
    To prevent things from syncing from your library to your device, there are many ways to do that (un-checking things in your library is one way, but not the best IMO). Might want to read the manual or some online tutorials on iTunes if you want to learn more.

  • Sent from my iPhone The app store is working I can buy from it but when I tried buying from Clash of clan I couldn't I even used a different credit card

    Sent from my iPad The app store is working I can buy from it but when I tried buying from Clash of clan I couldn't I even used a different credit card

    Way too many users post here about problems with this game. The only thing that you can do is contact the app developer or iTunes Store Support. Of course, it would be helpful if you explained in detail what happens when you try to make an in app purchase.

Maybe you are looking for