Centering the page after a postback in struts

so I have dependant select lists which I populate using code like the following:
<html:select styleClass="entryform_select" property="equip_l1" onchange="this.form.mode.value = 'editNew'; this.form.submit();">so it submits the form, I then call the db to populate the second list and return to the same form with a newly populated select list. However it loads the page at the top so (especially on widescreen monitors) you have to scroll down to keep going.
How can I make it jump down when it reloads but only after those postbacks?

Is this something I'd need to write javascript code involving changing the focus for? or an onLoad function that can someone tell if it's recently been reloaded.
Message was edited by:
Piers

Similar Messages

  • Indesign keeps centering the page on screen - ID9.2 BUG?

    Hi, a little help from the Adobe please...
    Over the last week or so we have noticed that the latest version of InDesign CC (9.2) has a page viewing bug. Or at least it's a bug for us here. Adobe might have added it as a feature, but to us it's a bug.
    Not all the time, but about 95% of the time, InDesign is centering the page in the open window when you click in a text box, when you swap between open windows (cmd & ~) and when you press tab and you don't have a text box selected.
    To explain the annoyance: When we are viewing a double page spread, we click into text boxes on both pages to edit text and InDesign automatically centers one of the pages on the screen. This is not always the page that you are working on. This is a pain as the text box you have just clicked in to edit may now be outside of the viewable window and you then need to scroll over to see that portion of the page.
    On top of this the bug is playing havoc with our eyes as it keeps shifting the pages, sometimes by about an inch and suddenly where you were looking is no longer there, it's moved an inch. Grrrrrr.
    We are running Mac OSX 10.8.5, InDesign CC 9.2, dual monitor setups, Wacom Intuos 5 tablets (not mice). We cannot use Application Frame as we are running Apple 23" screens and have all our pallettes on the 2nd screen so that we can see a full A4 page at 100% on the main monitor. We have had these hardware setups for the last 3 years+ and this bug has only reared it's head in the last week... hence we think it's in ID 9.2.
    Does anyone know what this is and whether it is a new setting Adobe have introdcued that needs to be switched off somewhere?
    Manyn thanks,
    Tom Grzelinski

    quite amazing - after about 3 hours "cleaning", my MAC catalogue has gone from 4.5GB, to 600MB.  And (touch wood) it seems to "work" again now.  From that info, theres a couple of decent artcles on the net-
    http://blog.gilbertconsulting.com/2010/07/idml-is-new-inx.html
    http://blog.gilbertconsulting.com/2009/02/how-to-fix-corrupt-indesign-file.html

  • HT1365 How can I get my iPhone 4 to update my updates from my app store of it keeps telling me error 3150 or it tell me to refresh the page after updates and the updates are still there asking me to update them again

    How can I get my iPhone 4 to update my updates from my app store of it keeps telling me error 3150 or it tell me to refresh the page after updates and the updates are still there asking me to update them again?

    Make sure iTunes on the computer is logged into the account on the phone.
    Plug the iPhone in.
    In the popup window warning about wiping your phone, hit cancel.
    In the left pane of iTunes, the phone icon should be there.
    Right click on it, select transfer purchases.
    Note: this will only transfer music bought from iTunes. Not mp3's from amazon or ripped from CD's.

  • Show Top of the Page after Click Save button

    Hi all,
     i have requirement i want show top of the page after click of save button.if you know answer please give reply.
    Regards
    VeerendraNadh

    Hi,
    Would you mind providing more details(screenshot would be better) about your requirement? It would make others easier to find a solution for you.
    Suppose that there is a scenario like this: Edit a page, when content grows too large, page will scroll to the bottom of the page. When clicking “Save” button in the
    ribbon, by default, page will scroll to the top just like it is first loaded in the browser.
    Feel free to reply if this is not what you really mean.
    Best regards
    Patrick Liang
    TechNet Community Support

  • Firefox does not refresh the page after posting on IPS forums

    I visit the forums at www.sailinganarchy.com. After replying to a post firefox does not refresh the page to show that the post is posted. But I open IE and I can see that the post is posted properly.
    I am using FF 3.6.8 and this issue has only started in the last few days.
    I am
    == URL of affected sites ==
    http://

    You can try these steps in case of issues with web pages:
    You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    You can also check the Web Console (Firefox/Tools > Web Developer) to see if there are specific error messages.
    *https://developer.mozilla.org/Tools/Web_Console

  • Changes not reflected on the page after migrating the page to server

    Hi all,
    I have migrated a page to server after making some adding a messageTextInput field but the changes are not getting reflected.
    I followed the following steps to migrate the page:
    1. Copied the page.xml from local machine to server.
    2. Ran the below import command :
    adjava oracle.jrad.tools.xml.importer.XMLImporter $JAVA_TOP/oracle/apps/aear/Refunds/webui/RefundCreatePG.xml -rootdir $JAVA_TOP -username apps -password apps -dbconnection "(DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=aebsw1d.aetna.com)(PORT=1571)) (CONNECT_DATA= (SID=AEBSDEV2)))" -rootPackage $JAVA_TOP
    It said
    Import completed.
    3. Bounced the apache server.
    4. Ran the below script to see the page definition:
    DECLARE
    BEGIN
    jdr_utils.printDocument('/aebsu03/app/AEBSDEV2/apps/apps_st/comn/java/classes/oracle/apps/aear/Refunds/webui/RefundCreatePG',1000);
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE(SQLERRM);
    END;
    It has my messageTextinput field info. But I can't see it on front end. Even though when I run the page from my jdev I am able to see that field.
    Plz guide me if I am missing anything.
    Thanks in advance

    Hi,
    Go to 'about this page' from front end and check the path for this PG.xml and compare that path with the one that you are importing.
    As per my understanding, if this is a custom page, then the path you are using is not correct.
    Let me know if you need more clarification.
    --Sushant
    [email protected]

  • I google home page starts correctly then jumps to the bottom of the page after a few seconds after startup.

    When i start my computer with the i google home page it loads correctly, then after about 4 secs, it jumps down to the bottom of the page.

    Reset the page zoom on pages that cause problems: '''View > Zoom > Reset''' (Ctrl+0 (zero); Cmd+0 on Mac)
    See [[Text Zoom]] and [[Page Zoom]] and http://kb.mozillazine.org/Zoom_text_of_web_pages
    "Clear the Cache": Firefox > Preferences > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove the Cookies" from sites that cause problems: Firefox > Preferences > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • Footer won't move up the page after deleting a number of elements

    I'm using a template in Muse and I deleted a bunch of elements that I won't use on one of the pages .  But the page footer doesn't move up to close the gap.  The footer element on the master page appears normal, but the document page has a long expanse of nothing to scroll down before the footer becomes visible.  Can't find anything preventing the footer from moving up.  Any ideas out there?

    Yes, there were hard to see elements that were preventing the footer from advancing up the page to the end of the visible content.  I more easily found them in the assets panel and deleted them there.

  • When I click on link in a website firefox randomly decide to reload the page after it has already loaded it once. It's really irritating. I tried uninstalling firefox and installing the latest version but it still does it. HELP!!!!

    After I updated to 3.6.8 I started noticing on a game I play at UniversalCriminal.com that randomly when I click on a link, firefox will load the appropriate page and as soon as it finishes loading that page it will refresh or reload the same page. It doesn't happen on any particular link it just happens randomly, and not all the time but most of the time. I tried reverting back to an earlier version of firefox but it still happened. I uninstalled firefox and reinstalled the latest version but it still happens. It doesn't do it with IE or Chrome or Opera. What gives? Any ideas anyone?

    I see that you ave changed some network.http prefs.<br />
    Doing that can cause all kinds of problems because not all servers like such changes, so you can try to reset those prefs on the about:config page.<br />
    network.http.max-connections 48<br />
    network.http.max-connections-per-server 16<br />
    network.http.max-persistent-connections-per-proxy 16<br />
    network.http.max-persistent-connections-per-server 8<br />
    network.http.pipelining true<br />
    network.http.pipelining.firstrequest true<br />
    network.http.pipelining.maxrequests 8<br />
    network.http.proxy.pipelining true<br />
    network.http.request.max-start-delay 0<br />
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • Is there a way to force adf to not refresh the page after a certain action?

    Hi Adf'rs
    Another question for ya.
    I'm not sure how possible this is? But I have piece of javascript code that runs after the adf page is loaded. I then execute something in my javascript when the user cliciks a NON ADF button (just an html button). At that point, adf is refreshing the entire page even though I don't want it to. Is there a way to tell adf not to do this?

    Hi Puthanampatt,
    Thank you soooo much!! That did the trick!! Now, when I submit my javascript, it only refreshes the components that my javascript manipulates, and that container does not reload!!!
    Thanks again!!!

  • Pass Parameter to the Page After Successfull Login

    Dear all
    I want to make log in page,so that after successful pass log on , it should open main page and the employee should see only his information.
    Can u please help me in this issue.
    Best Regards;

    If you use ADF Security, you can get the logged in user information from SecurityContext and use this information to filter out the data.
    Sample Code:
    //Inside Model
    ADFContext aDFContext = ADFContext.getCurrent();
    String userName = aDFContext.getSecurityContext().getUserName();
    //Inside View - EL
    #{securityContext.userName}Sireesha

  • Am unable to download FireFox. I get stalled on the page after clicking on the green pannel.

    I experienced a FireFox crash that would not recover. After several attempts to restart FireFox, I deleted the browser. I find that I can not download the application, now. I click on the green panel of the download screen and get passed to the next 1 - 2 - 3 screen. There is some disc activity and a small window pops up and then quickly disappears. The disc activity continues, but the download process never continues.

    Firefox 4 versions and later do not run on a PowerPC Mac(like yours) and require at least OS X 10.5 and an''' Intel Mac'''.
    The latest supported version for your os is 3.6.25 , your can downoload from here:
    http://www.mozilla.org/en-US/firefox/all-older.html
    [http://www.mozilla.org/en-US/firefox/3.6/system-requirements/ Firefox 3.6 System Requirements]
    [http://www.mozilla.org/en-US/firefox/9.0.1/system-requirements/
    Firefox 9 System Requirements]
    [For older Macs that aren't supported in Firefox 4+ versions, if you like, try TenFourFox for PowerPC's running Mac 10.4.11 & 10.5.8]
    http://www.floodgap.com/software/tenfourfox/
    http://tenfourfox.blogspot.com/
    https://code.google.com/p/tenfourfox/wiki/PluginsNoLongerSupported
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • Cant view the page after upload!

    hi
    i recently did a design in catalyst.
    from the tutorials i watched they always say "you have to upload all the files". when i upload them i get the error message frow the browser "directory listing denied".
    why do i get an error like this, how can i solve this do ou guys have any ideas?
    thanks

    Hi,
    Good to hear you have this fixed.  Sounds like this has to do with the default page name on server where you are posting the files?
    There are three commonly used default page names that you can use on most Web servers:
    index.html
    index.htm
    default.htm (on some Windows servers)
    It's a good idea to stick with index.html or index.htm on most servers, as default.htm is most often used on Windows servers, and isn't as common as it used to be.  Take a look at this thread for more on renaming.

  • How to customize the page after a request!

    I send a request to the report server by cgi and I succeed.But The report server send a page with "The job has been successfully scheduled" on it.Is there anybody can tell me how to customize this page?
    thanks

    hello,
    unfortunatly this page can not be customized in this version of oracle reports.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                               

  • Safari opens but will not load the page after I erased my hard drive and reinstalled yosemite. Anyone have a solution? I have to restart for safari to open and load.

    Hi everyone.
    I recently erased and reinstalled Yosemite on my iMac 27 (model late 2013). After I reinstalled everything i've noticed that when it goes to sleep/nap and when I come back to it and open the browser (safari) it will not load. I have to restart the whole iMac for it to work. I've erased and reinstalled again and I still have the same issues. Can anybody help?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

Maybe you are looking for

  • Problems with Airport setup after buying Version 7 models, (older ones will not upgrade)

    Problems with Airport setup after buying Version 7 models, (older ones will not upgrade) I re set up my Airport network , having had 4 expresses for years doing a good job. I bought another and an express, but then a time capsule after my external dr

  • Cold Fusion in a generic thread pool and enabling JAVA don't mix

    I've got Cold Fusion MX installed on a server running Sun One 6.1. I ran into a problem trying to enable JAVA (for servlet support) which I had previous disabled because I didn't use it. Well, when I went to enable JAVA on the server last week, the s

  • Delete fields table

    I want delete all fields of the table Z_ABC, but after I want write all data of the internal table i_tab2 DELETE FROM Z_ABC WHERE SYSTEM NE 'delete_all'. "I want delete all fields of table     MOVE-CORRESPONDING i_tab2 TO Z_ABC.     update Z_ABC. I o

  • Concept of private functions

    concept of private functions in oracle

  • Regarding Multiple Items

    Hi Abap Gurus,                        i am working with Open Contract. my requirement is create the active open contracts. such that i need from you is for one header there are multiple line items.  how to do the code for multiple line items. Moderat