Customising Update buttons

I've got my Forms and Reports talking to each other as portlets on the same page.
I have another scenario partially working where I would also like get a portal page with a report portlet call a form component in a new window (by clicking on the record in the report) and automatically query the record that I clicked on the form. That I can do.
When I perform the update (by clicking on an update button) I want the database update to continue as normal and then the pop-up form window to automatically close (by some form of window.close() call) and the parent window (the Portal page with the report portlet) to perform a refresh so that the report shows the new details.
How can I do this? Is the do_event javascript function something I need to reference?
regards,
John

OK, I've sort of figured this one out for myself -but there are potential issues.
In the onClick options for the built-in 'Update' button (top or bottom) I typed the following:
window.opener.location.reload();
window.close();
do_event(this.form, this.name,1,'ON_CLICK','');
The parent page seems to refresh at the correct time - i.e., after the commit has taken place within this update event. However, I'm not sure if this is just random luck. For some reason I cannot place the do_event call before any of the other function calls otherwise I get a javascript error!! Is this a bug?
Can anyone confirm my fear that the parent page refresh will not always accur after the commit of the form has completed, or suggest a workaround to the positioning of the function calls within this code segment?

Similar Messages

  • Customising Question Buttons

    Hi,
    I need your help!
    I've created a question slide (short entry) and I'd like to
    customise the button that is generated.
    My options are either:
    - Specifiy a saved image for the button, or
    - Make the button transparent (sits over the button image in
    the background)
    Is this possible? If so, HOW????
    Any help would be greatly appreciated. :)
    Text
    Customise

    OK, I've sort of figured this one out for myself -but there are potential issues.
    In the onClick options for the built-in 'Update' button (top or bottom) I typed the following:
    window.opener.location.reload();
    window.close();
    do_event(this.form, this.name,1,'ON_CLICK','');
    The parent page seems to refresh at the correct time - i.e., after the commit has taken place within this update event. However, I'm not sure if this is just random luck. For some reason I cannot place the do_event call before any of the other function calls otherwise I get a javascript error!! Is this a bug?
    Can anyone confirm my fear that the parent page refresh will not always accur after the commit of the form has completed, or suggest a workaround to the positioning of the function calls within this code segment?

  • I connected my iphone 4s that i unlocked for t-mobile. I plugged it into itunes, and it asked me to update to ios6. I accepted the download and update button. it told me it needed 8 hours. i closed my laptop. not shut down. i opened and it wants restorin?

    I connected my iphone 4s that I unlocked for t-mobile. I plugged it into itunes, and it asked me to update to ios6. I accepted the download and update button. It told me it needed 8 hours. I closed my laptop, not shut down. I re-opened the laptop a few hours later, and it wants restoring?? Whats going on?! i want my iphone back! PLEASE HELP. I'M LOST!!! (I synced my iphone to my computer if that helps at all).

    Yes, and, I try to restore. I have the T-Mobile sim card in it just to clarify. It will not let me get passed that, it does not accept the t-mobile sim card. i tried restoring it using wifi, cellular, and i cant get i tunes. I am scared that if i take the tmobile sim card out and put the at&t one in just to complete the restoration process that the iphone will lock again and not read the tmobile sim card, then all my hard work has gone for nothing. ( this whole process was caused by me trying wanting to empty my pictures onto my computer because i did not have any storage space left). <--- that may not be as important, but i included it just because.

  • Sed an iPad from someone and I want to go into App Store to update apps, but when I click on the update button, the previous owners' apple Id username appears and it won't take my apple id password. How do I replace their username w/ mine?

    I purchased an ipad from someone and i set up my apple id for it but when i go to the app Store to update apps, i click on the update button for an app, the previous owners' apple Id username appears and it won't take my apple id password. How do I replace their username w/ mine? It doesn't give me an option... Help! Please!

    Cc2528 wrote:
    The iTunes Store on my iPad is set up with all my music already. And at the very bottom it shows my apple Id username. The only place it shows the previous owners id is in the App Store...
    You can probably change the ID in the "iTunes and App stores" settings on the iPad....click on the wrong account ID , select sign out, then log in with your own ID, I have not done this but I think it works.....
    but I would be more inclined to to the factory reset and start afresh.

  • When I try to update apps on my iPad mini, I tap the "Update" button, but the app just opens and doesn't update.

    I have an iPad mini, 16G, WiFi only. My operating system is iOS 7.0.3. My problem is that my App Store has stopped updating apps. And it's not like the update starts, but never finishes. It doesn't start at all. I touch the "Update" button, and the app opens instead of updating. I have 9 updates now, and none of them work. And the rest of the App Store is working fine. I have no problems searching for apps or downloading new apps. It's just the updates that don't work. I had thought that maybe I needed to update my software and then it would start working, but I can't. The available software update requires 5.9G of storage, and I only have 1.6G. I also thought that maybe there was not enough forage to update the apps, but if that was the case, then it would tell me that there is not enough storage instead of opening the app. Does anyone know how to fix this? I really need to update my apps!

    Hey there nstephanie0625,
    It sounds like you are unable to update your apps in the App store because they launch, rather than update. I would recommend starting by signing out of your Apple ID in Settings:
    iTunes: Using the iTunes Store for iPhone, iPad, and iPod touch
    Settings > iTunes & App Stores > Create New Apple ID on your device.
    Then quit all the running apps on your phone:
    iOS: Force an app to close
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app up to close it.
    When you have done that restart the device and test the issue again:
    iOS: Turning off and on (restarting) and resetting
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • Update button on sales order

    hi everyone
    maybe this is a simple problem...not sure.
    after updating sap 2007 to patch 41, the system seems to prompt me to click on the 'update' button everytime i open any sales order, even if i dont make a change on it. any reason why this is happening? any setting that i need to put off?
    thanks

    Prem,
    It is probably being caused by a Formatted Search on one of the Fields on the Sales Order.  This happens when the Formatted Search is set to Auto Refresh > Refresh Regularly.
    Please go to View > click Search Field...This will place a magnifying glass icon on the top right cornor of all the Fields which have a Formatted Search...This is for easy identification.
    Once you find the Formatted Search....Uncheck Refresh regularly and see how it works
    Suda

  • Update Button for every Row of Report

    hello,
    is it possible to get an update button for every row of a report?
    After clicking this button, only this row of the report should be updated.
    thanks in advance
    dave

    Create a hidden item on your page. Call it somehow - P1_KEY. Create other hidden fields
    for the rest of the columns you want to update. Create a link per report line. This link will be
    inserting the primary key of your record into P1_KEY and the other values you want to
    update in the other hidden fields. It will branch to the same page and contain a request - i.e. UPDATE_ROW. Then
    you create a process - On Load Before Header - which will
    take the value from your item P1_KEY and update the record
    in the database by setting the the column values to the
    values in your hidden fields. This process will fire upon
    request you specified. However, this way you will not be
    able to update your text areas, since you will not be able
    to transfer this over a link. Also you need to be carefull
    about special characters.
    Maybe there is a better proposal than this.
    Denes Kubicek

  • Several months ago I kept getting prompted to "update" my iphoto library.  I finally gave in and clicked on the update button and EVER SINCE THEN,  ALL of my photos have been 'grayed out' and I can't see ANY of them unless I click on the photo and open it

    Several months ago,  I kept getting prompted to 'update' my iphoto library.  When I finally clicked on the 'update' button,  it 'greyed out' ALL of my photos.  Now ALL of my photos are grayed out and I can't see ANY of my pictures unless I click on each grayed out photo individually and open them,  ALL of the thumbnails are greyed out.  It is THE WORST!!  I have no idea how to fix this problem and its been MONTHS AND MONTHS of *** pain.  Anyone??  Please help!!!
    Thanks so much!!!

    Back up your iPhoto library, Depress and hold the option (alt) and command keys and launch iPhoto - rebuild your iPhoto library database
    and please tell us what version of iPhoto and of the OS you have
    LN

  • HT4623 I have an iPod with iOS 4.2.1 and would like to up date version 5. The pc I normally sync with has XP operating system. So I can't up date to iTunes 10. And my iPod doesn't show the software update button shown in the article. What can I do?

    I have an iPod with iOS 4.2.1 and would like to up date to version 5. The pc I normally sync with has XP operating system. So I can't up date to iTunes 10. And my iPod doesn't show the software update button shown in the article. What can I do?

    You cannot update it if you can't get the latest version of iTunes. Actually, the latest version of iTunes will run in XP if you have Service Pack 2. Also, you posted in the iPad forum, and your profile shows you have an iPad, but in your post, you say it is an iPod. Is it an iPad or an iPod?

  • HT4623 I have a Gen 4 Ipod Touch, it is still running with IOS 4. When i go to my settings and select General there is no Software Update button to choose from. How do i update my Ipod to the new IOS system?

    I have a Gen 4 Ipod Touch, it is still running with IOS 4. When i go to my settings and select <General> there is no <Software Update> button to choose from. How do i update my Ipod to the new IOS system?

    You have to hook it up to a computer and update it to ios 5 and then there will be a "software update" button.

  • Trying to update my iPhone 4 from iOS 5.1.1 to 6.1 via iTunes.When I click the "Update" button, I just get a message saying the iTunes is at the current version (6.1), but no action re the iOS update.

    I'm trying to update my iPhone 4 from iOS 5.1.1 to 6.1. When I try to do this using iTunes on my MacBook Pro (OS X v 10.5.8), with my iPhone in its cradle, clicking the "Update" button in Tunes gets a message saying "This version of iTunes (10.6.1) is the current version." I can't get the iOS update to download.
    When I try to update to the iPhone directly, I get a message saying "iOS 6.0.1 failed verification because you are no longer connected to the Internet" at the Verifying Update step. I noticed that this message refers to iOS 6.0.1, even though I want to update to 6.1. It is possible that, a few weeks ago, I may have downloaded but not installed v 6.0.1.
    Thanks for any help with this problem

    I tried powering down and re-starting the iPhone (as suggested at http://support.apple.com/kb/TS1275). This seems to have cleared the "...not connected to the Internet" problem, and iOS 6.1 is now in the process of downloading.
    Thanks very much for your feedback.

  • ITunes 10.6.1 Update button for iOS update does not work (a bug)

    iTunes 10.6.1 Update button on iOS device Summary / Version page does not update devices. It only checks the iTunes version!
    With iTunes 10.6.1, connect an iPad, iPhone, iPod running pre-6 iOS version.
    On iPad Summary / Version page, next to  [Update] button the message says:
    "A newer version of the iPad software is available (version 6.0). To update your iPad with the latest software, click Update."
    However, clicking the [Update] button will not start update iPad. Instead it gives you a dialog saying:
    "This version of iTunes (10.6.1) is the current version".
    Obviously it should start updating the i-device there but instead just goes and check the iTunes version ?!?
    A Bug!
    What's really annoying in this bug is that it's the only way to update pre iOS 5.x devices, which is now impossible!
    Apple should get this fixed asap!
    Anyone found any workarounds?
    [Edit]: There seems to be another discussion of this issue already:
    https://discussions.apple.com/message/19671173#19671173

    Just forgot to add, yes, I know there's iTunes 10.7 but it's only available on Snow Leopard and higher.
    The machine in question is an old macbook, running Leopard (10.5.8), that it will propably never get upgraded.
    Since most  my older i-devices were initially synced with that particular machine, I'll be now stuck with iOS updates, without loosing content.

  • ITunes 10.6.1 - ipod version update button is mis-linked

    When a docked ipod is synced with iTunes 10.6.1, on the ipod summary page, when the Version Update button is selected, iTunes checks the current iTunes version and returns the message, iTunes is up to date even though in the Version window it says there is a newer version of software for this ipod ( iOS 6.0 ), The Update button is mis-directed. It should be checking and updating the docked iPods system software. Not checking iTunes up to date.
    ( 4th Gen iPod touch in this case docked to iTunes 10.6.1 )

    Ok, this worked for me (manual download for iTunes 10.6.3 update on OS X 10.5.8):
    https://discussions.apple.com/message/19653924#19653924

  • TS1814 I have a 4th gen. IPod Touch with IOS4 and i want to update it, but when I hit the Update button its says "contacting the IPod software server" and then after about 5 seconds it says "ITunes could not connect to the IPod software servers". Please h

    I have a 4th gen. Itouch wiht IOS4 and i want to update it, but when i click the update button in ITunes it says "contacting IPod software server" and it looks like it is loading. However, after about 5 seconds it stops and says "ITunes could not connect to the IPod software server". I found the apple webpage that is supposed to help me, but when i went to the LAN settings in the control panel i found that 'Automatically detect settings" was already checked. I do not know what to do, Please help.

    If yo mean the iPod will not connect to your wifi network:
    Does the iPod connect to other networks?
    Do other devices now connect?
    Try:                  
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    - Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar

  • How do I download ios5.1, there is no software update button in settings

    I was going to download iOS 5.1 but then realized there was a more recent version out with numerous bug fixes caused by versions 4.3 and higher. So I looked up how to download it and every place said to go to settings, tap "General" and there will be a "Software Update" option for an 'over the air' wireless software update. But when I tried, there was no such illusive "Software Update" button.
    How do I download iOS 5.1? I can't do it through iTunes because its meant for 'over the air'. But there's no way to do it without that button!

    Everytime I try updating ios via iTunes, it is taking more than 3 hours and then session breaks saying "Timed Out"
    I have been trying to update iOs since last 3 days using iTunes but of no help, please let me know any other alternative way by which I can update my iOs

Maybe you are looking for

  • Stream Netflix Movies from iPod to TV

    I'd like to buy an iPod Touch and use it to watch Netflix on various TVs. Is it possible to stream movies on Netflix to the iPod then stream it directly to the TV? If so, what cables are needed? How is the video quality? Is there a lag time? Thanks!

  • Table Data Alignment issue in DW CS4

    Hi, I'm creating a web site in DW CS4. I'm trying to align my table that I created for my contact form. I got it like I want it except for one slight issue: my submit button is not aligning with the rest of the form elements. I'm not sure how to add

  • PLS-00357: Table,View Or Sequence reference 'A' not allowed in this context

    Hello I am accepting input values from users through java web page. To accept the values I am using the following code: import java.sql.*; import javax.sql.DataSource; import javax.naming.*; public class spsrch      public void spsrch()      public S

  • Order Type change in PO

    Hi experts, Once the PO is saved we are able to change order type, my requirement is that when the order saves, no body should be allowed to change the order type. What should we do. GR

  • Possible to have responses to only some fields centrally maintained?

    I am interested in using FormsCentral and either a web or PDF form to facilitate annual evaluations in our organization. But I only want part of the form responses to be centrally maintained -- essentially to track completion and some very general me