Reloading the same page

I know this is surely a very retarded question, but I am
tired of looking about and trying to get the proper answer on my
own; I have a form that enters information into a database. what I
want is to have it reset and reloaded each time submit is pressed
instead of getting the blank page. Thanks In advance!.

When I do forms with db actions, I always make the form
action #cgi.script_name# and just do the action on the form page,
using isdefined() to check for the existence of the form
submission.
If you're pre-populating the form with info from the DB, put
the query to get those details *after* you do your insert, outside
the cfif isdefined(), but before the form. That way, regardless of
whether or not the page is being view before or after the form
submission, you're still getting it pre-populated.

Similar Messages

  • Why does the back arrow just reload the same page most of the time

    why does the back arrow just reload the same page most of the time
    == This happened ==
    Not sure how often
    == most of the time since I installed it

    Hi Keith.
    This is probably a normal behavior that's induced by the way pages are done. Can you provide a link to a page where this happens?
    For example, wikipedia articles often have links that lead to sections of the article and not to actually different pages, as you may know. If you click the Back button, Firefox will lead you to the section of the page you were looking at when you clicked that link. Is this perhaps what you're talking about?
    AJAX pages (i.e. pages that take advantage of heavy duty javascript code and server side technologies) often have troubles like these. It's very hard to prevent this from happening from the browsers' point of view, but Mozilla is trying to find a way for Firefox 4 (at least like time I checked they were). So using the back and forth buttons in gmail will probably be troublesome.

  • [Struts] Reload the same page but scroll automatically to where it was

    Hi,
    I have a form and it is quite long with a vertical scroll bar. Now when the user scrolls down and changes a value, I need to reload the same form with other values and display it to the user. When the form reloads, it should not show the top of the page as if it were accessed for the first time. It should automatically scroll down to the position where the user left. I think this can happen, but I am not able to work this out.. Please help. In order to reload the form, I am using
    new ActionForward( mapping.getInput() )
    Thanks
    SJ

    Is there still a search engine selected?
    You can click the search engines icon on the search bar and open Manage Search Engines.<br />
    You may need to click the Restore Defaults button to restore missing search engines.

  • Reload the same page with multiple param id

    Hi dude,
    i create review.jsp and include the displayproduct.jsp.. when i add review for the particular product,value added succesfully in db and successurl method will call and reload the displayproduct.jsp as blank page.. because param id not passing in url..
    how to pass the previous navactionid,navcountid and productid to SuccessURL with same jsp..
    pls clarify my doubt..

    hi MishraI need to pass the param in button
    <dsp:input type="submit" bean="MyReviewFormHandler.addReview" value="Submit Review">
    <dsp:input bean="MyReviewFormHandler.ProductReviewSuccessURL" type="hidden" value="displayCategory.jsp" />
    >
    It should work.
    I'm using below same way and working fine.
    <%/* URL to go to if user's session expires while he is filling out this form */%>
         <dsp:input bean="ShoppingCartModifier.sessionExpirationURL" type="hidden" value="../../common/SessionExpired.jsp"/>
         <%/* ADD TO CART BUTTON: Adds this SKU to the Order*/%>
         <dsp:input bean="ShoppingCartModifier.addItemToOrder" type="submit" value="Add to Cart "/>
         <%/* Goto this URL if NO errors are found during the ADD TO CART button  processing:*/%>
         <dsp:input bean="ShoppingCartModifier.addItemToOrderSuccessURL" type="hidden"  value="../checkout/cart.jsp"/>-RMishra

  • When I click a button to open an online enrolment form, Firefox just reloads the same page.

    I've tried clicking on this link to a allow you to enrol to vote in Australia on my mac, but everytime I do it it just reloads the page. I've been able to open it in chrome and on firefox on a pc and from that I can gather it seems to be one of those separate web apps but I don't have java installed on either of my computers so it's not a java applet. This has happened before with other links to similar styles of interactive web apps but the same thing happens, it just reloads the page with the link on it. I always just ended up doing them on a different computer or browser. I tried disabling all add-ons and allowed all pop ups but that didn't solve it. I couldn't find anyone with similar problems when I searched.

    You can try these steps in case of issues with web pages:
    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 > Preferences > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox > Preferences > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/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

  • All of a sudden, my settings have been changed, my homepage, and EVERYTHING. No matter how many times I go in and change them again, the SAME pages open up when I start FireFox and I am constantly being asked if I want Yahoo as my start page and default s

    I don't know what happened. All of a sudden, my settings have been changed, my homepage, and EVERYTHING. No matter how many times I go in and change them again, the SAME pages open up when I start FireFox and I am constantly being asked if I want Yahoo as my start page and default search engine. I click the box 'do not ask me again' and it comes up EVERY TIME. I change things like I don't want history remembered, and when I reload FireFox again, it's back to the way it was BEFORE. EVERY SINGLE TIME. I don't know why this is happening, or how to fix it. What do I do??

    I do not want to download another virus program.. I do not believe it is a virus. I am running the full version of Norton 360 and it is doing a daily scan. I have Windows 7, 64 bit OS.
    This is very irritating !! If I wanted Yahoo I would ask for it !

  • How to load multiple HTML5 canvas on the same page (the proper method)

    Hi,
    I've been struggling to load multiple canvas animations on the same page. At the beggining I thought that exporting the movies with different namespaces and reloading the libraries in a sequential flow might work, but it doesn't. It always loads just the last animation loaded. More info here: Coding challenge: what am I doing wrong?
    Here is a sample of what I'm doing:
    1st: Publish two flash movies with custom namespaces for "lib" set in the "publish settings": "libFirst" and "libSecond".
    2nd: Edit the canvas tags in the HTML page. One called "firstCanvas" and the other one called "secondCanvas"
    3rd: Edit the javascript like this:
            <script>
                // change the default namespace for the CreateJS libraries:
                var createjsFirst = createjsFirst||{};
                var createjs = createjsFirst;
            </script>
            <script src="//code.createjs.com/easeljs-0.7.1.min.js"></script>
            <script src="//code.createjs.com/tweenjs-0.5.1.min.js"></script>
            <script src="//code.createjs.com/movieclip-0.7.1.min.js"></script>
            <script src="{{assets}}/js/first.js"></script>
            <script>
                function initFirstAnimation() {
                    var canvas, stage, exportRoot;
                    canvas = document.getElementById("firstCanvas");
                    exportRoot = new libFirst.first();
                    stage = new createjsFirst.Stage(canvas);
                    stage.addChild(exportRoot);
                    stage.update();
                    createjsFirst.Ticker.setFPS(libFirst.properties.fps);
                    createjsFirst.Ticker.addEventListener("tick", stage);
            </script>
            <script>
                // change the default namespace for the CreateJS libraries:
                var createjsSecond = createjsSecond||{};
                var createjs = createjsSecond;
            </script>
            <script src="//code.createjs.com/easeljs-0.7.1.min.js"></script>
            <script src="//code.createjs.com/tweenjs-0.5.1.min.js"></script>
            <script src="//code.createjs.com/movieclip-0.7.1.min.js"></script>
            <script src="{{assets}}/js/second.js"></script>
            <script>
                function initSecondAnimation() {
                    var canvas, stage, exportRoot;
                    canvas = document.getElementById("secondCanvas");
                    exportRoot = new libSecond.second();
                    stage = new createjsSecond.Stage(canvas);
                    stage.addChild(exportRoot);
                    stage.update();
                    createjsSecond.Ticker.setFPS(libSecond.properties.fps);
                    createjsSecond.Ticker.addEventListener("tick", stage);
            </script>
    <body onload="initFirstAnimation(); initSecondAnimation();">
    Could someone please reply with the best practice on how to do this? If possible, without the need to reload all the libraries...
    If I only need to show one flash movie at a time, would it be more efficient to cut & paste the canvas tag using jQuery in the DOM and reloading a different lib on it?
    Many thanks!
    #flash #reborn

    I was able to fix it. At the end, it was easier than I thought. Just have to publish using a different "lib" namespace for each movie, load all the scripts at the end of the <body> and then add the following to the onload or ready events:
    $(document).ready(function () {
            var canvas, stage, exportRoot;
            // First movie
            canvas = document.getElementById("firstCanvas");
            exportRoot = new libFirst.first();
            stage = new createjs.Stage(canvas);
            stage.addChild(exportRoot);
            stage.update();
            createjs.Ticker.setFPS(libFirst.properties.fps);
            createjs.Ticker.addEventListener("tick", stage);
            // Second movie
            canvas = document.getElementById("secondCanvas");
            exportRoot = new libSecond.second();
            stage = new createjs.Stage(canvas);
            stage.addChild(exportRoot);
            stage.update();
            createjs.Ticker.setFPS(libSecond.properties.fps);
            createjs.Ticker.addEventListener("tick", stage);
            // Third movie
            canvas = dument.getElementById("thirdCanvas");
            exportRoot = new libThird.third();
            stage = new createjs.Stage(canvas);
            stage.addChild(exportRoot);
            stage.update();
            createjs.Ticker.setFPS(libThird.properties.fps);
            createjs.Ticker.addEventListener("tick", stage);

  • Sorry, we could not complete the operation. Please try again later or reload the web page

    I am a bizspark member and wanted to signup for Azure. 
    I did phone verification part and when I sign up I get this error 
    Sorry, we could not complete the operation. Please try again later or reload the web page
    Same happened with my colleagues ones too. But 2 invites got accepted after reloading the webpage for 100+ times. I am loosing my patience here. I have seen others getting this error as well. Do you guys have any idea how irritating this is? Azure support
    is also not responding properly. Its a big headache for developers like us. 
    When will you solve this issue? And I want an correct explanation why this error occurs. Don't tell me to clear cookies and cache. I've done everything. Tried different browsers. 

    Hi,
    It seems there is something wrong with your sign up process, sorry for the inconvenience, this is technical forum, the account issue is out of our range, please follow steps below to contact with azure support, it's a best choice for you.
    Get the support channel at:
    http://www.windowsazure.com/en-us/support/options/
    If you have any other concern, please feel free to let me know.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • WHEN I LOGIN AS DIFFERENT USER, IT TAKES ME TO THE SAME PAGE WHERE THE PREV

    Hu Gurus,
    I log in to portal as user1 and go to a page and then log out of the portal. Then I try to login as user2, it takes me to the same page where the previous user was. It looks like it caches the page information. How can I avoid this. Please post a reply if you have some suggestions.
    Thanks
    Raj
    ----------

    Thanks for checking it, Jason. Yes, the cache settings are for 'Every visit to page'. That was the first thing I thought of. I have a feeling the problem has to do with a cache setting somewhere in our installation. For example, I'm still plagued with a few user accounts returning errors when I try to log in. The users aren't logged in, but when I click "Login" from the Portal Builder page, I see the same error...it's not even letting me get to a login screen. Thanks for all the help. It's great to get some feedback. In the meantime, we'll continue to track it down here.
    Mary

  • How can I have use the same div ID multiple times on the same page?

    Okay so a problem I encounter a lot is that often times I want to use the same div ID several times on the same page. An example of this is when I'm creating table like designs.
    Let's say for instance I create a div ID called 'product-container'. I want to use 'product-container' multiple times on the same page but if I do this it is improper XHTML and will throw errors in any XHTML validator (you are only allowed to use a div ID once on any XHTML page in order for it to be standards compliant).
    Now the first option is that I could define 'product-container' in my CSS style sheet multiple times by doing something like this...
    #product-container {
         width: 300px;
    #product-container-2 {
         width: 300px;
    #product-container-3 {
         width: 300px;
    #product-container-4 {
         width: 300px;
    What you will see there however is that it seems pointless to define the same ID numerous times over (just adding a number on the end) when each ID is the exact same thing and has the exact same attributes.
    Now what I have noticed is that there are some sites out there who manage to have the same ID appear several times in the code but add a number to it just like above. The difference is that they only have one definition for 'product-cointainer' in their CSS document but in their actual XHTML code they have IDs for 'product-container' but with numbers on the end like 2,3,4,5, etc. It's almost as if JavaScript or some other code is automatically appending a number on the end of the ID so the validator won't consider the markup to be invalid, but yet it knows that it's using the same 'product-container' style that is contained in the CSS style sheet.
    I hope I explained this correctly. I'm just hoping to find a way that I can put the same div ID on a page multiple times without having to define it over and over again in my CSS.
    Any help is much appreciated!

    Because it seems like by using a class you can't make this position as 
    well as you can by using an ID. Am I wrong?
    An ID name can be used only one time per page.  A class name can be used multiple times per page.
    .product {
    width: 300px;
    text-align:left;
    color: #FF0000
    border: 2px solid #666;
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Is there a way to automatically add another of the same page while a form is being filled?

    Is there a way to automatically add another of the same page while a form is being filled?
    I have a two-page form of which the second page is essentially a spreadsheet analog.  Often, there is need for for more lines than are available on the page.  Is there a way in which to add another or even multiple copies of the second page? 
    Thanks ahead...
    TG

    You can do that with a dynamic XFA form created in LiveCycle Designer, which comes with Acrobat Pro for Windows. For more information, you can ask over at the LiveCycle Designer forum.

  • In Pages 5.2.2: How do you go from 1 column to 2 and keep them on the same page?

    In Pages 5.2.2: How do you go from 1 column to 2 and keep them on the same page?

    Sorry, I tried to say your answer solved my question, but I guess I told it that my response to you solved it. Now that I liked it, the solved option doesn't appear.

  • How to develp a subreport in the same page of the main report and processed when is called

    SSRS 2012
    Hi guys,
    I am developing a report that includes a subreport.
    therefore The report is made up by 2 sections:
    1) Show a grid (several rows - may be 100 or more - and some columns). It represent high level info  (Each row represent a specific item)
    2) The user click on a Row/column (eg: Item1, to see details that must be shown as graph.
    Here the problem: Searching info about SSRS reporting for subreports, drilldown, nested report and so on, no ones accomplish the requirements for the following reasons:
    1) Subreports: NOT open in the same page. The user must <go back> to see detail for other items, such as Item 2....
    2) Nested and DrillDown: Process data as the Main report (they are hidden and displayed after user action). In my case this leads to performance problem, because: if the main report has 200 objects (it means 200 graphs processed and hidden at the same time
    for the main reports).
    3) DrillThrough and Subreport: The detail data are processed only when the user select the interested item in the main report. Here the problem: the report is shown externally.
    Please, it there any possibility to have a subreport (or anything else) to be executed in the same report as the main report and processed only when the user make action?
    Thanks for your help.

    Hi Fasttrack2,
    According to your description, there is a main report with more than 100 rows of summary information, when users click the item of the row, the report need to jump to detail information shows as graph. The problem you are facing is that you are not sure
    subreport, drilldown or drillthrough report should be used? You hope to set display detail information in the main report and keep high performance of report.
    In Reporting Services, each subreport instance is a separate query execution and a separate report processing task. Subreports are recommended when there are just a few subreport instances. We should not use subreports inside a group when there are many
    group instances, instead, consider using drillthrough reports. Drilldown reports process all data even when the data is first hidden. In order to improve the performance of the report, we can split drilldown reports into parameterized drillthrough reports,
    because Drillthrough reports do not run until a user clicks the drillthrough link in the main report.
    In this case, we can consider using drilldown or drillthrough report. In drilldown report, when we click a plus or minus button to expand or collapse a section of a report, the detail data will be displayed in place. By using drillthrough report, when we
    click the link in the main report, the detail data will be displayed, we can come back to the main report by click return button in the drillthrough report.
    Reference:
    Troubleshooting Reports: Report Performance
    Drillthrough, Drilldown, Subreports, and Nested Data Regions
    If you have any more questions, please feel free to ask.
    Best Regards,
    Wendy Fu
    If you have any feedback on our support, please click
    here.

  • AT&T customers service reps. (Phone) and in the store not on the same page!

    On 6/27/15, I called into the 1(800) number to order a new phone and change my plan to the "Next" plan.  I went through whole process with the rep over the phone.  I asked if I could pick up the phone from the AT&T store in my area.  She told me I would have to go into the store and got through the process there.  She stated, I would only have to pay the taxes (around $42) on the phone and pick what installment plan I wanted.  Well I went into the store and spoke with a sales rep. picked the phone I wanted and proceeded with the process.  First I was told I had to pay my bill which was not an issue $127  the rep double charged my card. In which a manager had to fix.  Then I was told I had to pay $200  for downpayment to be on the Next plan.  When questioned was told oh we do this for customers getting an additional line, t(the rep I spoke to that morning said paid the taxes for the phone) so I paid the $200.  On 7/9/15 upon paying my bill I happened to look at the details of my account.  I notice the charge of $201 on 6/27/15 but my bank account reflected the amount of $242. from AT&T.  So I called customer service and spoke with a rep by the name of Robert.  Robert explained the confusion then, stated I did not have to pay the $201 for the Next plan.  I asked if I could have the $201 moved towards my bill, he stated yes it would not be an issue.  When he tried to make the adjustment he was unable to and informed me that I would have go into the store.  He also verified with his supervisor of the issue. He said he would have all the info needed documented on my account.  Later that day I went on the AT&T site to remove the mobile TV app and was unable do. So I got on the chat live contacted a rep Arvin, who helped me with issue.  Then I asked him the same question in reference the Next plan.  He confirmed with a supervisor that indeed I did not have to pay downpayment, just the tax.  He also put in notes on my account and said go into the store.  I arrive to the store (Snellville, GA) and was approached by Pamela.  I told her the issue and she proceed to tell me, that AT&T runs credit checks for additional lines. Which when I transferred to AT&T they ran a credit check.  But for an additional line and switch to another plan. I told her what the other 4 reps which includes the original rep that I started the initial order on the morning of 6/27 told me.  Pamela stated that they were wrong and did not know what they were talking about and they don't deal with customers as the store does. And she would look at my account and see.  I told her I have the print out of the chat from Arvin.  After she read the notes she proceeded to tell me I was wrong and the other reps were wrong and then she called the 800 number spoke with a customer service and the rep she spoke with told her "NO" they don't do that and I was correct in what I was saying about my the issue.  Pamela told her, she was incorrect and that she need to go read the regulations and gave her reg to look up.  During this time my mom was with me and she informed me a family friend was supervisor for AT&T Corporate office and to call her.  In which we did and she stated the same of course Pamela said we wrong and was nice nasty in reference to it as in being a know it all that she just couldn't be wrong.  My issue wasn't resolved and I felt like AT&T took my money and called myself and the 5 employees that worked there liars.  For a company that has been on the news for overcharging their customers you would think that your company would have better customer service and all on the same page.  And if the majority and a Supervisor were agreeing and saying that same thing. Pamela should have did the change on the account and not have a customer your company says it values to leave the store feeling the way I did.  Meaning knowing that I was upset and that I was told the same thing by 5 employees of your company, Pamela should have tried to compensate me or made sure that I wouldn't have any thoughts of going to another phone company.  I was made to feel like I was lied to.  It's bad enough when you walk into the stores the reps are on you like vultures.  And you feel overwhelmed and like you're at car lot.  And the reps are wheeling and dealing for their commission.  Now I'm concerned if I chose the right company???

    I didn't even do the survey and the reps in the store said it had to be done over the phone I just never called back I had already taken time to drive to the store I wasn't about to waste more time dealing with an upgrade over the phone I just figured doing an upgrade over the phone would be the same as doing it in the store I don't understand what the difference is

  • Parent (Global) and Current (Navigation) on the Same Page

    Hello,
    I am using the managed metadata feature in a SharePoint 2013 publishing site.  I am trying to layout my navigation as shown in the diagram below.  I can not find a publishing master page that implements this parent child relationship.  My
    top navigation is use the markup:
    <PublishingNavigation:PortalSiteMapDataSource ID="topSiteMap" runat="server" EnableViewState="false" SiteMapProvider="GlobalNavigationSwitchableProvider" StartFromCurrentNode="false" StartingNodeOffset="0"
    ShowStartingNode="false" TrimNonCurrentTypes="Heading"/>
    <SharePoint:AspMenu ID="TopNavigationMenu" runat="server" EnableViewState="false" DataSourceID="topSiteMap" AccessKey="&lt;%$Resources:wss,navigation_accesskey%&gt;"
    UseSimpleRendering="true" UseSeparateCss="false" Orientation="Horizontal" StaticDisplayLevels="1" AdjustForShowStartingNode="true" MaximumDynamicDisplayLevels="1" SkipLinkText=""/>
    I have tried using the same markup, using a different StartingNodeOffset and SiteMapProviders, for the side menu with no success.
    Thanks,
    Bob

    Hi,
    According to your post, my understanding is that you wanted to create Parent (Global) and Current (Navigation) on the Same Page.
    You can make quicklaunch work contextually like structural nav quicklaunch using Managed Metadata navigation. Please refer to:
    Managed Metadata Navigation - How do you make quicklaunch work contextually like structural nav quicklaunch?
    In addition, you can used JQuery and CSS to achieve staticlevel left navigation in SharePoint 2013.
    Here is a similar thread for your reference:
    http://social.technet.microsoft.com/forums/sharepoint/en-US/54edc501-0594-49e3-86b2-40ecf72bc68e/show-2-level-hierarchy-in-managed-navigation-menucurrent-navigation-in-sharepoint-2013
    More information:
    Overview of managed navigation in SharePoint Server 2013
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

Maybe you are looking for

  • Validating enabled and disabled menu bar in JInternalFrame

    hi, everybody. i have created a main window using JInternalFrame and JDesktopPane. The window has a menu bar in which document menu is used for closing the main window, while employee menu is used for adding new frame for the employee. while the logi

  • Adding a new field in web ui at item level in sales order

    While creating the sales order in WEBUI,we select a product at the item level. Once the product is selected into the line item, the vendor associated with the product should be determined and displayed in the custom column field(vendor)  for that lin

  • Vendor Master with Multiple Bank account in Multiple Company Codes

    Dear Team, We have multiple companies in our SAP environment, wherein a single vendor is extended to multiple Company Codes  (Cocds).  If we change the bank account in the vendor master, it is applicable to all the Cocds in which vendor is extended. 

  • SAP PI mapping query

    Hi Experts, I have  two mapping queries: 1. In which field A maps with field B. For a E-Mail address coming from field A I have to check whether @ and . are available or not. 2. In which field A maps with field B. The value coming from filed A will b

  • How to associate jnlp content with javaws?

    When I follow a link to a Java WebStart .jnlp file it opens as an XML file and not useing WebStart (javaws). It is not obvious to me how to make the association. I'm currently working with Ubuntu 10.10 but it may be a more general problem.