Show message while page renders

Hello everyone,
After the logic for fetching data finishes,  i wish to show some 'Please Wait' meaasge on screen while the page renders.
This is not an MVC model.
How should I do this ?
THanks

Hi,
neither use a javascript framework like jquery or extjs or have a look at xhtmlb:protectDoubleSubmit Extension.
Regards,
Stefan

Similar Messages

  • Servlet - show message while getting data

    Hello,
    I have a servlet that is getting some data in form of an String from another server. This is taking some time, so I would like to show a "Please wait" message in between.
    My problem is, that when I flush the message with my servlet and flush then the result of the query from the other server, the message is still visible.
    So ist there a way to overwrite the first flushed output? Or some other way to show some short message before a result page?
    Below is my code so far. I curently flush only the result without the message.
    Thanks in advance!
    package de.gfz.userinterface.httpclient;
    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    import java.io.PrintWriter;
    import java.util.ArrayList;
    import java.util.Enumeration;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.commons.httpclient.HttpClient;
    import org.apache.commons.httpclient.NameValuePair;
    import org.apache.commons.httpclient.methods.PostMethod;
    public class ClientPostServlet extends HttpServlet
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
        HttpClient httpClient = new HttpClient();
        //Url f�r den PostRequest setzen (kommt aus LoginWorkflow.xml Datei bei SCIENTIST)
        String url = String.valueOf(request.getAttribute("viewUri"));
        PostMethod postMethod = new PostMethod
             url
        //Attribute aus dem Request rausholen und als NameValuePair f�r den sp�teren Post Request setzen
        ArrayList<NameValuePair> postData = new ArrayList<NameValuePair>();
        Enumeration requestAttributeNames = request.getAttributeNames();
        while (requestAttributeNames.hasMoreElements())
             String requestAttributeName = (String) requestAttributeNames.nextElement();
             String attribut = String.valueOf(request.getAttribute(requestAttributeName));
             postData.add(new NameValuePair(requestAttributeName, attribut));
             //Attribute sicherheitshalber aus dem Request entfernen
             request.removeAttribute(requestAttributeName);
        //ArrayList in Array �bertragen
        NameValuePair[] postDataArray = new NameValuePair[postData.size()];
        for (int i = 0; i < postDataArray.length; i++)
              postDataArray[i] = postData.get(i);
         //the 2.0 beta1 version has a PostMethod.setRequestBody(NameValuePair[])
         //method, as addParameters is deprecated
        //Attribute in den Post Request setzen
        postMethod.setRequestBody(postDataArray);
        //Post Request senden
        httpClient.executeMethod(postMethod);
        //Ergebnis verarbeiten
        BufferedReader in = new BufferedReader(new InputStreamReader(postMethod.getResponseBodyAsStream()));
        String zeile = "";
        StringBuffer ergebnis = new StringBuffer();
        while ((zeile = in.readLine()) != null)
             ergebnis.append(zeile);
         //release the connection used by the method
        postMethod.releaseConnection();
        //String Buffer in String umwandeln
        String ergebnisString = ergebnis.toString();
        //css-Datei Position ver�ndern
        ergebnisString = ergebnisString.replaceFirst("AnzeigeModell/css/layout.css", "../css/layout.css");
        //display the response to the POST method
        response.setContentType("text/html");
        PrintWriter out = response.getWriter();
        out.print(ergebnisString);
        out.flush();
      public void doGet(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, java.io.IOException {
        doPost(request,response);
      }

    Hi,
    Please do the consistency check on target ODS by using the transaction RSRV.
    RSRV->Tests in Transaction RSRV ->All Elementary Tests ->ODS Objects -> double click on "Foreign Key Relationship of Reporting-Relevant ODS Object and SID Table Characteristics" and also on "Check the Status of the Generated Program of a Data Store Object ".
    These two will be shifted to the right hand side.
    Then expand the recently shifted checks and they will ask for ODS technical names. Provide the same and click on transfer. After giving in both, click execute. After successfull execution, try to load the data again. If this check fails, there would be a tab on the screen to correct the error "Correct Error".
    Click on the same and it will correct the error and then load the data.
    Hope this solves your problem...

  • Show message while the method is running

    Hello,
    I'm having a really good problem.
    I've a server method, that is taking a good time to run, so i thougth i could show a pop up message to warn the user that the method is running.
    But, i can't use it by tag.
    Is there a way of showing it by code, ie with and actionListener, or something else?
    Thanks!
    Fernando.

    Try using 'af:poll' component on your page.
    You can send events to the server at fixed intervals and then evaluate the status.
    You will probably have to do some more logic on the server side to make this work correctly though.
    Good luck!
    --AJ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Error message "test page failed to print" in windows 7 ultimate 32 bits

    I have installed printer a hp deskjet 1515 in windows 7 ultimate 32 bits and it is successfully installed, however  when I tried to test print out there showed message "test page failed to print. Would you like to view the print troubleshooter
    for assistance?". I tried to clicked Yes and running the troubleshooter until completed but the result still the same showed the same message above when test print again.
    Please need assistance how to solve this problem
    Thanks
    Sopyan

    Hi Sopyan,
    On current situation, please refer to following steps and check if help us to troubleshoot this issue.
    1. Please check if use the correct printer driver and also check if need to update it.
    2. Please check if firewall was enabled or third-party security application ran. Please temporarily disable them and monitor the result.
    3. Please use another administrator account to logon and print again, then check if this issue still exist.
    4. Please open Event Viewer and check if find some relevant events or errors.
    If any update, please feel free to let us know.
    Best regards,
    Justin Gu
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Display ("Please Wait") message WHILE the page loads

    Hello All,
    I have adf/jsf application. How to add message " Please Wait While Page Loads" WHILE+* the page is loading ?
    I am thinking of Window.confirm(" Please Wait While The Page Loads") Is there a better (More Modern) way to do this?_
    Many Thanks,

    John, when I type <af:statusIndicator and ctrl + space, JDev does not show statusIndicator as one of the choices. I tried adding code but it seems it does not recognize statusIndicator as one of the tags. I am using other jsf and adf tags on the same page :(
    Thanks,

  • VERIZON PAGE SHOWS 'CONNECTION SERVER WAS RESET WHILE PAGE WAS LOADING'. DID FIREFOX RESET THE SERVER

    AFTER I LOG ONTO VERIZON.NET, I CAN SEE MY EMAILS; BUT WHEN I CLICK THE 'VIEW ALL EMAILS' THE PAGE IS CLOSED AND THE ADDRESS SHOWS 'PROBLEM LOADING PAGE' AND THE SCREEN SHOWS 'CONNECTION SERVER WAS RESET WHILE PAGE WAS LOADING. DID FIREFOX RESET THE PAGE? I HAVEN'T BEEN ABLE TO ACCESS MY VERIZON EMAILS FOR SEVERAL DAYS AND EACH TIME I TRY, I GET THE PROBLEM LOADING PAGE MESSAGE. I HAVE CONTACTED VERIZON AND NORTON AND THEY CAN GIVE NO SOLUTIONS.

    That is a message coming from outside Firefox.<br />
    The web server or other software (firewall) did close the connection for some reason.
    See also:
    *http://kb.mozillazine.org/Error_loading_websites
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration 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.org/kb/Safe+Mode

  • Error message while using extension in notifications summary page in PO

    Hi,
    I am getting the below error messages while trying to add couple of columns in Purchasing, notifications summay. The files are located in folders 'JDEV_HOME/xx/oracle/apps/icx/por/wf/server' and I have no idea what this error means.
    Error(2,38): cannot access class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVORowImpl; bad constant pool tag: 13 at 80
    Error(10,55): class ReqLinesNotificationsVORowImpl not found in class xx.oracle.apps.icx.por.wf.server.xxReqLinesNotificationsVORowImpl
    Couple of lines from Java code is below. The error is showing at import oracle.apps.icx.por.wf.server.ReqLinesNotificationsVORowImpl;'.
    package xx.oracle.apps.icx.por.wf.server;
    import oracle.apps.icx.por.wf.server.ReqLinesNotificationsVORowImpl;
    import oracle.jbo.server.AttributeDefImpl;
    import oracle.jbo.domain.Number;
    import oracle.jbo.domain.Date;
    Thanks,
    Rahul.

    Hi Ansari,
    Thanks for the reply. I tried to place all the files into myclasses and my projects path is JAVA_HOME\oracle\apps\icx\por\wf\server and JAVA_HOME\xx\oracle\apps\icx\por\wf\server. I did one more mistake of not ftp'ing the class files in binary format. It compiled and no errors.
    I have moved all the required files from these folders into $JAVA_TOP/xx/oracle/apps/icx/por/wf/server folder. One thing I observed is that jdeveloper is producing below files and is missing XXReqLinesNotificatinsVOImpl.class. I followed all the steps to include the custom sql into the view object.
    xxReqLinesNotifications.jpr
    xxReqLinesNotifications.jpx
    xxReqLinesNotifications.jws
    xxReqLinesNotificationsVO.xml
    xxReqLinesNotificationsVORowImpl.java
    xxReqLinesNotificationsVORowImpl.class
    oracle.apps.fnd.framework.OAException: Message not found. Application: FND, Message Name: FND_VIEWOBJECT_NOT_FOUND. Tokens: VONAME = ReqLinesNotificationsVO; APPLICATION_MODULE = oracle.apps.icx.por.wf.server.ReqApprovalNotificationsAM;
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1223)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1986)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:508)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:429)
         at oa_html._OA._jspService(_OA.java:85)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at oa_html._OA._jspService(_OA.java:95)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: Message not found. Application: FND, Message Name: FND_VIEWOBJECT_NOT_FOUND. Tokens: VONAME = ReqLinesNotificationsVO; APPLICATION_MODULE = oracle.apps.icx.por.wf.server.ReqApprovalNotificationsAM;
         at oracle.apps.fnd.framework.webui.OADataBoundValueViewObject.getViewObject(OADataBoundValueViewObject.java:355)
         at oracle.apps.fnd.framework.webui.OADataBoundValueViewObject.getViewName(OADataBoundValueViewObject.java:221)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForBeanProperties(PPRHelper.java:458)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForBean(PPRHelper.java:593)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForChildren(PPRHelper.java:726)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForBean(PPRHelper.java:596)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForChildren(PPRHelper.java:726)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForBean(PPRHelper.java:596)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForChildren(PPRHelper.java:726)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForBean(PPRHelper.java:596)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForChildren(PPRHelper.java:726)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForBean(PPRHelper.java:596)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForChildren(PPRHelper.java:726)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForBean(PPRHelper.java:596)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForChildren(PPRHelper.java:726)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForBean(PPRHelper.java:596)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForChildren(PPRHelper.java:726)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForBean(PPRHelper.java:596)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForChildren(PPRHelper.java:726)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForBean(PPRHelper.java:596)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForChildren(PPRHelper.java:726)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForBean(PPRHelper.java:596)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForChildren(PPRHelper.java:726)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForBean(PPRHelper.java:596)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForChildren(PPRHelper.java:726)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForBean(PPRHelper.java:596)
         at oracle.apps.fnd.framework.webui.PPRHelper.createReverseMapForRoot(PPRHelper.java:229)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2464)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1734)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:508)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:429)
         at oa_html._OA._jspService(_OA.java:85)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at oa_html._OA._jspService(_OA.java:95)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    oracle.apps.fnd.framework.OAException: Message not found. Application: FND, Message Name: FND_VIEWOBJECT_NOT_FOUND. Tokens: VONAME = ReqLinesNotificationsVO; APPLICATION_MODULE = oracle.apps.icx.por.wf.server.ReqApprovalNotificationsAM;
         at oracle.apps.fnd.framework.webui.OADataBoundValueViewObject.getViewObject(OADataBoundValueViewObject.java:355)
         at oracle.apps.fnd.framework.webui.OADataBoundValueViewObject.getViewName(OADataBoundValueViewObject.java:221)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForBeanProperties(PPRHelper.java:458)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForBean(PPRHelper.java:593)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForChildren(PPRHelper.java:726)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForBean(PPRHelper.java:596)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForChildren(PPRHelper.java:726)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForBean(PPRHelper.java:596)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForChildren(PPRHelper.java:726)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForBean(PPRHelper.java:596)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForChildren(PPRHelper.java:726)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForBean(PPRHelper.java:596)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForChildren(PPRHelper.java:726)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForBean(PPRHelper.java:596)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForChildren(PPRHelper.java:726)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForBean(PPRHelper.java:596)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForChildren(PPRHelper.java:726)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForBean(PPRHelper.java:596)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForChildren(PPRHelper.java:726)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForBean(PPRHelper.java:596)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForChildren(PPRHelper.java:726)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForBean(PPRHelper.java:596)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForChildren(PPRHelper.java:726)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForBean(PPRHelper.java:596)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForChildren(PPRHelper.java:726)
         at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForBean(PPRHelper.java:596)
         at oracle.apps.fnd.framework.webui.PPRHelper.createReverseMapForRoot(PPRHelper.java:229)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2464)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1734)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:508)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:429)
         at oa_html._OA._jspService(_OA.java:85)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at oa_html._OA._jspService(_OA.java:95)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    Thanks,
    Rahul.

  • What is the best way to show a message on page "Planning Workspace"

    Hi,
    I would like to warn my users about the update of the data. Is it possible to show a message on page "Planning Workspace Home"
    Thanks !

    Hi!
    Have a look at Broadcast massages http://download.oracle.com/docs/cd/E12825_01/epm.111/hp_admin.pdf
    read chapter "Using Broadcast messeging"
    regards
    alexander

  • On one website I go to for work, it says connection reset while page was loading. I was trying to change the permissions for this website but it doesn't even show up in my permission list. Help please. I need this website for work.

    I have contacted this website tech support and they say this issue is on my end. On certain pages on their web site I try go to it will say connection reset. Connection reset while page was loading. I was trying to do anything and everything I can to make sure firefox is allowing access to all pages on this website. I use this website for work I do.

    The "The connection was reset" error message can be caused by a bug fix for the BEAST (Browser Exploit Against SSL/TLS) attack that the server doesn't handle.
    *[[/questions/918127]]
    *[[/questions/918028]]
    See comment 60 in this bug report for workaround, but be aware that this makes you vulnerable to that BEAST attack.
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=702111 bug 702111] - Servers intolerant to 1/n-1 record splitting. "The connection was reset"

  • HT202159 Error message while downloading. :Compressor Failed to Download. An Error has occurred. Use the Purchases page to try again." After retrying, I receive same message.

    Error message while downloading. :Compressor Failed to Download. An Error has occurred. Use the Purchases page to try again." After retrying, I receive the same message. I have uninstalled compressor and tried again. I get same results.

    Anti-viral siftware and firewalls can interfer with the MAS.

  • Almost always get message (connection reset while page loading. i have cleared my history no help

    message appears when accessing web pages ie: connection reset while page was loading. resend

    I guess I get those occasionally and just ignored them, usually when trying to supply an answer here, and I have to start over again, maybe I should pay more attention at least when an error message actually comes up:
    * https://support.mozilla.com/kb/Error+loading+web+sites

  • Unauthorized message while loading home page

    Hi, I am a beginner in Oracle.
    I had installed Oracle 10g express edition a month ago. I've been working with database and tables successfully and developing some applications using appex 2.1.
    One of the last operations i did was to run successfully this pl/sql instructions in sql command in graphical user interface:
    declare
    pw_v varchar2(100);
    begin
    pw_v := dbms_obfuscation_toolkit.md5( input_string => 'admin' );
    INSERT INTO M_USERS(LAST_NAME,USERNAME,PASSWORD,ADMINISTRATOR,IN_USE)
    values('admin','admin', pw_v ,'Y','Y');
    end;
    After that i've tried to view the table M_USERS when suddenly it prompts username and password in "Connect to 127.0.0.1" window (This window never prompted before). I tried my operating system and database passwords but it still gives "Unauthorized" message.
    I shut down Database server, restarted my Operating system and when i load the home page it still prompts username and password in "Connect to 127.0.0.1" window.
    I've read something like that in Re: Unauthorised message while loading home page and solution was to change the port number.
    I've changed port number typing this command in sql plus line: "exec dbms_xdb.sethttpport(8090)" but the problem still remains.
    I think to reinstall Oracle 10g express as last chance but i dont think it would be a professional solution.
    Please help me with this it's urgent.
    Thanks.....!!
    Roger

    Hi Ginny, i am new in Oracle Express....I have the same problem you had. I've changed port number and the problem still remains... i need the solution urgently...please help....

  • The affect of failed validation on the page rendering phase

    This is divided in two parts. In the first one I describe the behavior and in the second I show work around and make a suggestion.
    The need that started this was that the value an item needed to be recalculated each time de page was shown. This page could be called from buttons and from branches on other pages. So the logical place to put this calculation is in Computation of the Page Rendering phase. But, when a validation failed the value wasn't shown on the browser and I later discovered it was not calculated at all. I tried moving the calculation in a Process of the Page Rendering phase, but to that didn't worked either. So I needed to have a beter understanding of happens when a validation fails, ence this test.
    The test was done on version 3.1.2 of APEX.
    For this test, here is what I programmed (if no values is specified, than the property has the default value):
    1. I created a blank page
    -- In the Page Rendering part --
    2. I created a region with the following properties
    Identification
    - Title: Alpha
    - Type: PL/SQL (Anonymous block)
    Source
    - Region Source: wwv_flow.debug('&gt; RENDER REGION Alpha SOURCE');
    Conditional Display
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; RENDER REGION Alpha CONDITION'); RETURN TRUE;
    Caching
    - Caching: Cahed
    - Cache Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; RENDER REGION Alpha CACHE CONDITION'); RETURN TRUE;
    3. I created an item with the following properties
    Name
    - Name: P1_X
    - Display As: Textfield
    Displayed
    - Region: Alpha
    Source
    - Source Used: Always, replacing any existing value in session state
    - Source Type: PL/SQL Function body
    - Source value or expression: wwv_flow.debug('&gt; RENDER ITEM P1_X SOURCE'); RETURN NULL;
    - Post Calculation Computation: :P1_X || ' POST-CALCUL'
    Default
    - Default value: wwv_flow.debug('&gt; RENDER ITEM P1_X DEFAULT'); RETURN 'RENDER ITEM P1_X DEFAULT';
    - Default Value Type: PL/SQL Function body
    Conditions
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; RENDER ITEM P1_X CONDITION'); wwv_flow.debug('&gt; P1_X="'||:P1_X||'"'); RETURN TRUE;
    Read Only
    - Read Only Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; RENDER ITEM P1_X READ_ONLY CONDITION'); RETURN FALSE;
    4. I created a second item with the following properties
    - Name: P1_Y
    - Display As: Textfield
    Displayed
    - Region: Alpha
    Source
    - Source Used: Only when current value in session state is null
    - Source Type: PL/SQL Function body
    - Source value or expression: wwv_flow.debug('&gt; RENDER ITEM P1_Y SOURCE'); RETURN NULL;
    - Post Calculation Computation: :P1_Y || ' POST-CALCUL'
    Default
    - Default value: wwv_flow.debug('&gt; RENDER ITEM P1_Y DEFAULT'); RETURN 'RENDER ITEM P1_Y DEFAULT';
    - Default Value Type: PL/SQL Function body
    Conditions
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; RENDER ITEM P1_Y CONDITION'); wwv_flow.debug('&gt; P1_Y="'||:P1_Y||'"'); RETURN TRUE;
    Read Only
    - Read Only Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; RENDER ITEM P1_Y READ-ONLY CONDITION'); RETURN FALSE;
    5. I created a button with the following properties
    Name
    - Button Name: GO
    - Text Label/Alt: Go
    Displayed
    - Display in Region: Alpha
    - Button Position: Top of Region
    Conditions
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; RENDER BUTTON Go CONDITION'); RETURN TRUE;
    6. I created a second button with the following properties
    Name
    - Button Name: GOERRNULL
    - Text Label/Alt: Go invalid
    Displayed
    - Display in Region: Alpha
    - Button Position: Top of Region
    Conditions
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; RENDER BUTTON Go invalid CONDITION'); RETURN TRUE;
    7. I created a thrid button with the following properties
    Name
    - Button Name: RESET
    - Text Label/Alt: Reset cache
    Displayed
    - Display in Region: Alpha
    - Button Position: Top of Region
    Conditions
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; RENDER BUTTON Reset CONDITION'); RETURN TRUE;
    Optional URL Redirect
    - Target is a: Page in this Appplication
    - Page: 1
    - resetpagination for this page: checked
    - Request: RESET
    - Clear Cache: 1
    8. I created a computation with the following properties
    Item Name
    - Item Name: P1_Y
    - Type: PL/SQL Function body
    Computation Point
    - Computation Point:Before Header
    Source
    - Computation: wwv_flow.debug('&gt; RENDER CALCUL P1_Y SOURCE'); RETURN 'RENDER CALCUL P1_Y SOURCE';
    Conditional Computations
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; RENDER CALCUL P1_Y CONDITION'); RETURN TRUE;
    9. I created a process
    Name
    - Name: Beta
    - Type: PL/SQL anonymous block
    Process Point
    - Process Point: On Load - Before Header
    - Run Process: Once Per Page Visit (Default)
    Source
    - Process: wwv_flow.debug('&gt; RENDER PROC Beta SOURCE');
    Conditional Processing
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; RENDER PROC Beta CONDITION'); RETURN TRUE;
    -- In the Page Processing part --
    10. I created a computation
    Item Name
    - Item Name: P1_Y
    - Type: PL/SQL Function body
    Computation Point
    - Computation Point:After Submit
    Source
    - Computation: wwv_flow.debug('&gt; PROC CALCUL P1_Y SOURCE'); RETURN 'PROC CALCUL P1_Y SOURCE';
    Conditional Computations
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; PROC CALCUL P1_Y CONDITION'); RETURN TRUE;
    11. I created a second computation
    Item Name
    - Item Name: P1_X
    - Type: PL/SQL Function body
    Computation Point
    - Computation Point:After Submit
    Source
    - Computation: wwv_flow.debug('&gt; PROC CALCUL P1_X SOURCE'); RETURN NULL;
    Conditional Computations
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; PROC CALCUL P1_X CONDITION'); RETURN TRUE;
    12. I created a validation
    Validation
    - Name: Delta
    - Type: Function Returning Boolean
    - Validation Expression 1: wwv_flow.debug('&gt; PROC VALIDATION Delta SOURCE'); RETURN FALSE;
    Error Message
    - Error Message: err msg
    - Associated Item: P1_X
    Conditionals
    - When Button Pressed: GOERRNULL (Go invalid)
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; PROC VALIDATION Delta CONDITION'); RETURN TRUE;
    13. I created a process
    Name
    - Name: Gamma
    - Type: PL/SQL anonymous block
    Process Point
    - Process Point: On Submit - Before Computation and Validations
    - Run Process: Once Per Page Visit (Default)
    Source
    - Process: wwv_flow.debug('&gt; PROC PROC Gamma SOURCE');
    Conditional Processing
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; PROC PROC Gamma CONDITION'); RETURN TRUE;
    14. I created a second process
    Name
    - Name: Epsylon
    - Type: PL/SQL anonymous block
    Process Point
    - Process Point: On Submit - After Computation and Validations
    - Run Process: Once Per Page Visit (Default)
    Source
    - Process: wwv_flow.debug('&gt; PROC PROC Epsylon SOURCE');
    Conditional Processing
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; PROC PROC Epsylon CONDITION'); RETURN TRUE;
    15. I created a branch
    Point
    - Branch Point: On Submit: After Processing (After Computation, Validation and Processiong)
    Action
    - Target Type: Page in this Application
    - Page: 1
    - include process success message: checked
    Conditions
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: wwv_flow.debug('&gt; PROC BRANCH P1 CONDITION'); RETURN TRUE;
    As can be seen, I've programmed all condition to be true and therefore making all objects do thier calculations.
    Here is the debug output when we click on "Go". (a line number was added for easy refence)
    {color:#999999}001 0.05: A C C E P T: Request="GO"
    002 0.09: Metadata: Fetch application definition and shortcuts
    003 0.09: NLS: wwv_flow.g_flow_language_derived_from=FLOW_PRIMARY_LANGUAGE: wwv_flow.g_browser_language=en-us
    004 0.09: alter session set nls_language="AMERICAN"
    005 0.09: alter session set nls_territory="AMERICA"
    006 0.09: NLS: CSV charset=WE8MSWIN1252
    007 0.09: ...NLS: Set Decimal separator="."
    008 0.09: ...NLS: Set NLS Group separator=","
    009 0.09: ...NLS: Set date format="DD-MON-RR"
    010 0.09: ...Setting session time_zone to -05:00
    011 0.09: ...Determine if user "FORD10" workspace "80447903191151509" can develop application "202" in workspace "80447903191151509"
    012 0.09: Session: OK to reuse builder session for user:APEX_PUBLIC_USER
    013 0.09: Fetch session state from database
    014 0.10: ...Check session 2800365259756461 owner
    015 0.10: ...Metadata: Fetch Page, Computation, Process, and Branch
    016 0.10: Session: Fetch session header information
    017 0.10: ...Metadata: Fetch page attributes for application 202, page 1
    018 0.10: ...Validate item page affinity.
    019 0.10: ...Validate hidden_protected items.
    020 0.10: ...Check authorization security schemes
    021 0.10: Session State: Save form items and p_arg_values
    022 0.10: ...Session State: Save Item "P1_X" newValue="RENDER ITEM P1_X DEFAULT POST-CALCUL" "escape_on_input="N"
    023 0.10: ...Session State: Saved Item "P1_Y" New Value="RENDER CALCUL P1_Y SOURCE POST_CALCUL"
    024 0.10: Processing point: ON_SUBMIT_BEFORE_COMPUTATION
    025 0.11: {color}{color:#ff9900}&gt; PROC PROC Gamma CONDITION{color}{color:#999999}
    026 0.11: ...Process "Gamma": PLSQL (ON_SUBMIT_BEFORE_COMPUTATION) wwv_flow.debug('&gt; PROC PROC Gamma SOURCE');
    027 0.11: {color}{color:#ff9900}&gt; PROC PROC Gamma SOURCE{color}{color:#999999}
    028 0.11: Branch point: BEFORE_COMPUTATION
    029 0.11: Computation point: AFTER_SUBMIT
    030 0.11: ...Evaluate condition "FUNCTION_BODY" for computation of item: P1_Y
    031 0.11: {color}{color:#ff9900}&gt; PROC CALCUL P1_Y CONDITION{color}{color:#999999}
    032 0.11: ...Perform computation of item: P1_Y, type=FUNCTION_BODY
    033 0.11: ...Performing function body computation
    034 0.12: {color}{color:#ff9900}&gt; PROC CALCUL P1_Y SOURCE{color}{color:#999999}
    035 0.12: ...Session State: Saved Item "P1_Y" New Value="PROC CALCUL P1_Y SOURCE"
    036 0.12: ...Evaluate condition "FUNCTION_BODY" for computation of item: P1_X
    037 0.12: {color}{color:#ff9900}&gt; PROC CALCUL P1_X CONDITION{color}{color:#999999}
    038 0.12: ...Perform computation of item: P1_X, type=FUNCTION_BODY
    039 0.12: ...Performing function body computation
    040 0.12: {color}{color:#ff9900}&gt; PROC CALCUL P1_X SOURCE{color}{color:#999999}
    041 0.12: ...Session State: Saved Item "P1_X" New Value=""
    042 0.12: Tabs: Perform Branching for Tab Requests
    043 0.12: Branch point: BEFORE_VALIDATION
    044 0.12: Perform validations:
    045 0.12: {color}{color:#ff9900}&gt; PROC VALIDATION Delta CONDITION{color}{color:#999999}
    046 0.12: ...PL/SQL "function body returning boolean" Validation: wwv_flow.debug('&gt; PROC VALIDATION Delta SOURCE'); RETURN :REQUEST 'GOERRNULL';
    047 0.12: {color}{color:#ff9900}&gt; PROC VALIDATION Delta SOURCE{color}{color:#999999}
    048 0.13: Branch point: BEFORE_PROCESSING
    049 0.13: Processing point: AFTER_SUBMIT
    050 0.13: {color}{color:#ff9900}&gt; PROC PROC Epsylon CONDITION{color}{color:#999999}
    051 0.13: ...Process "Epsylon": PLSQL (AFTER_SUBMIT) wwv_flow.debug('&gt; PROC PROC Epsylon SOURCE');
    052 0.13: {color}{color:#ff9900}&gt; PROC PROC Epsylon SOURCE{color}{color:#999999}
    053 0.13: Branch point: AFTER_PROCESSING
    054 0.13: ...Evaluating Branch: AFTER_PROCESSING type: "REDIRECT_URL" button: (No Button Pressed) branch: wwv_flow.debug('&gt; PROC BRANCH P1 C5NDITION'); RETURN TRUE;
    055 0.14: {color}{color:#ff9900}&gt; PROC BRANCH P1 CONDITION{color}{color:#999999}
    0.00:
    0.00: S H O W: application="202" page="1" workspace="" request="" session="2800365259756461"
    0.00: Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-us
    056 0.00: alter session set nls_language="AMERICAN"
    057 0.00: alter session set nls_territory="AMERICA"
    058 0.00: NLS: CSV charset=WE8MSWIN1252
    059 0.00: ...NLS: Set Decimal separator="."
    060 0.00: ...NLS: Set NLS Group separator=","
    061 0.00: ...NLS: Set date format="DD-MON-RR"
    062 0.01: ...Setting session time_zone to -05:00
    063 0.01: NLS: Language=en-us
    064 0.01: Application 202, Authentication: CUSTOM2, Page Template: 2204612885682472
    065 0.01: ...Determine if user "FORD10" workspace "80447903191151509" can develop application "202" in workspace "80447903191151509"
    066 0.01: ...ok to reuse builder session for user:APEX_PUBLIC_USER
    067 0.01: ...Application session: 2800365259756461, user=APEX_PUBLIC_USER
    068 0.01: ...Determine if user "FORD10" workspace "80447903191151509" can develop application "202" in workspace "80447903191151509"
    069 0.01: Session: Fetch session header information
    070 0.01: ...Metadata: Fetch page attributes for application 202, page 1
    071 0.01: Fetch session state from database
    072 0.01: Branch point: BEFORE_HEADER
    073 0.01: Fetch application meta data
    074 0.02: Computation point: BEFORE_HEADER
    075 0.02: ...Evaluate condition "FUNCTION_BODY" for computation of item: P1_Y
    076 0.02: {color}{color:#ff9900}&gt; RENDER CALCUL P1_Y CONDITION{color}{color:#999999}
    077 0.02: ...Perform computation of item: P1_Y, type=FUNCTION_BODY
    078 0.02: ...Performing function body computation
    079 0.02: {color}{color:#ff9900}&gt; RENDER CALCUL P1_Y SOURCE{color}{color:#999999}
    080 0.02: ...Session State: Saved Item "P1_Y" New Value="RENDER CALCUL P1_Y SOURCE"
    081 0.02: Processing point: BEFORE_HEADER
    082 0.02: {color}{color:#ff9900}&gt; RENDER PROC Beta CONDITION{color}{color:#999999}
    083 0.02: ...Process "Beta": PLSQL (BEFORE_HEADER) wwv_flow.debug('&gt; RENDER PROC Beta SOURCE');
    084 0.02: {color}{color:#ff9900}&gt; RENDER PROC Beta SOURCE{color}{color:#999999}
    085 0.02: Show page template header
    086 0.03: Computation point: AFTER_HEADER
    087 0.03: Processing point: AFTER_HEADER
    088 0.03: Computation point: BEFORE_BOX_BODY
    089 0.03: Processing point: BEFORE_BOX_BODY
    090 0.03: Region: Alpha
    091 0.03: {color}{color:#ff9900}&gt; RENDER REGION Alpha CONDITION{color}{color:#999999}
    Alpha
    092 0.03: {color}{color:#ff9900}&gt; RENDER BUTTON Go CONDITION{color}{color:#999999}
    093 0.03: {color}{color:#ff9900}&gt; RENDER BUTTON Go invalid CONDITION{color}{color:#999999}
    094 0.03: {color}{color:#ff9900}&gt; RENDER BUTTON Reset CONDITION{color}{color:#999999}
    Go Go invalid Reset cache
    095 0.03: {color}{color:#ff9900}&gt; RENDER ITEM P1_X CONDITION{color}{color:#999999}
    096 0.03: &gt; P1_X=""
    097 0.03: {color}{color:#ff9900}&gt; RENDER ITEM P1_X READ_ONLY CONDITION{color}{color:#999999}
    098 0.03: Item: P1_X TEXT
    099 0.03: {color}{color:#ff9900}&gt; RENDER ITEM P1_X SOURCE{color}{color:#999999}
    100 0.03: {color}{color:#ff9900}&gt; RENDER ITEM P1_X DEFAULT{color}{color:#999999}
    X RENDER ITEM P1_X DEFAULT POST-CALCUL
    101 0.03: {color}{color:#ff9900}&gt; RENDER ITEM P1_Y CONDITION{color}{color:#999999}
    102 0.03: &gt; P1_Y="RENDER CALCUL P1_Y SOURCE"
    103 0.04: {color}{color:#ff9900}&gt; RENDER ITEM P1_Y READ-ONLY CONDITION{color}{color:#999999}
    104 0.04: Item: P1_Y TEXT
    Y RENDER CALCUL P1_Y SOURCE POST_CALCUL
    105 0.04: {color}{color:#ff9900}&gt; RENDER REGION Alpha SOURCE{color}{color:#999999}
    106 0.04: Computation point: AFTER_BOX_BODY
    107 0.04: Processing point: AFTER_BOX_BODY
    108 0.04: Computation point: BEFORE_FOOTER
    109 0.04: Processing point: BEFORE_FOOTER
    110 0.04: Show page tempate footer
    111 0.04: Computation point: AFTER_FOOTER
    112 0.04: Processing point: AFTER_FOOTER
    113 0.04: Log Activity:
    114 0.04: Execute Count=0
    115 0.04: End Show:{color}
    Here is the debug output when we click on "Go invlid". (a line number was added for easy refence)
    {color:#999999}201 0.14: A C C E P T: Request="GOERRNULL"
    202 0.19: Metadata: Fetch application definition and shortcuts
    203 0.19: NLS: wwv_flow.g_flow_language_derived_from=FLOW_PRIMARY_LANGUAGE: wwv_flow.g_browser_language=en-us
    204 0.19: alter session set nls_language="AMERICAN"
    205 0.19: alter session set nls_territory="AMERICA"
    206 0.19: NLS: CSV charset=WE8MSWIN1252
    207 0.19: ...NLS: Set Decimal separator="."
    208 0.20: ...NLS: Set NLS Group separator=","
    209 0.20: ...NLS: Set date format="DD-MON-RR"
    210 0.20: ...Setting session time_zone to -05:00
    211 0.24: ...Determine if user "FORD10" workspace "80447903191151509" can develop application "202" in workspace "80447903191151509"
    212 0.24: Session: OK to reuse builder session for user:APEX_PUBLIC_USER
    213 0.24: Fetch session state from database
    214 0.29: ...Check session 2800365259756461 owner
    215 0.29: ...Metadata: Fetch Page, Computation, Process, and Branch
    216 0.29: Session: Fetch session header information
    217 0.29: ...Metadata: Fetch page attributes for application 202, page 1
    218 0.30: ...Validate item page affinity.
    219 0.30: ...Validate hidden_protected items.
    220 0.30: ...Check authorization security schemes
    221 0.30: Session State: Save form items and p_arg_values
    222 0.31: ...Session State: Saved Item "P1_X" New Value="RENDER ITEM P1_X DEFAULT POST-CALCUL"
    223 0.31: ...Session State: Saved Item "P1_Y" New Value="RENDER CALCUL P1_Y SOURCE POST_CALCUL"
    224 0.31: Processing point: ON_SUBMIT_BEFORE_COMPUTATION
    225 0.32: {color}{color:#ff9900}&gt; PROC PROC Gamma CONDITION{color}{color:#999999}
    226 0.32: ...Process "Gamma": PLSQL (ON_SUBMIT_BEFORE_COMPUTATION) wwv_flow.debug('&gt; PROC PROC Gamma SOURCE');
    227 0.32: {color}{color:#ff9900}&gt; PROC PROC Gamma SOURCE{color}{color:#999999}
    228 0.33: Branch point: BEFORE_COMPUTATION
    229 0.33: Computation point: AFTER_SUBMIT
    230 0.33: ...Evaluate condition "FUNCTION_BODY" for computation of item: P1_Y
    231 0.34: {color}{color:#ff9900}&gt; PROC CALCUL P1_Y CONDITION{color}{color:#999999}
    232 0.34: ...Perform computation of item: P1_Y, type=FUNCTION_BODY
    233 0.34: ...Performing function body computation
    234 0.34: {color}{color:#ff9900}&gt; PROC CALCUL P1_Y SOURCE{color}{color:#999999}
    235 0.34: ...Session State: Saved Item "P1_Y" New Value="PROC CALCUL P1_Y SOURCE"
    236 0.34: ...Evaluate condition "FUNCTION_BODY" for computation of item: P1_X
    237 0.34: {color}{color:#ff9900}&gt; PROC CALCUL P1_X CONDITION{color}{color:#999999}
    238 0.34: ...Perform computation of item: P1_X, type=FUNCTION_BODY
    239 0.34: ...Performing function body computation
    240 0.35: {color}{color:#ff9900}&gt; PROC CALCUL P1_X SOURCE{color}{color:#999999}
    241 0.35: ...Session State: Saved Item "P1_X" New Value=""
    242 0.35: Tabs: Perform Branching for Tab Requests
    243 0.35: Branch point: BEFORE_VALIDATION
    244 0.35: Perform validations:
    245 0.75: {color:#ff9900}&gt; PROC VALIDATION Delta CONDITION{color}{color:#999999}
    246 0.76: ...PL/SQL "function body returning boolean" Validation: wwv_flow.debug('&gt; PROC VALIDATION Delta SOURCE'); RETURN FALSE;
    247 0.78: {color}{color:#ff9900}&gt; PROC VALIDATION Delta SOURCE{color}{color:#999999}
    248 0.78: ...{color}{color:#ff0000}Validation did NOT pass{color}{color:#999999}
    249 0.78: ...{color}{color:#ff0000}Inline validation error count = 1{color}{color:#999999}
    250 0.86: Show current page with inline validations
    251 0.87:
    252 0.87: S H O W: application="202" page="1" workspace="" request="" session="2800365259756461"
    253 0.87: NLS: Language=en-us
    254 0.87: Application 202, Authentication: CUSTOM2, Page Template: 2204612885682472
    255 0.88: ...Determine if user "FORD10" workspace "80447903191151509" can develop application "202" in workspace "80447903191151509"
    256 0.88: ...ok to reuse builder session for user:APEX_PUBLIC_USER
    257 0.88: ...Application session: 2800365259756461, user=APEX_PUBLIC_USER
    258 0.88: ...Determine if user "FORD10" workspace "80447903191151509" can develop application "202" in workspace "80447903191151509"
    259 0.88: ...Metadata: Fetch page attributes for application 202, page 1
    260 0.88: Branch point: BEFORE_HEADER
    261 0.88: Fetch application meta data
    262 0.88: Computation point: BEFORE_HEADER
    263 0.88: ...Evaluate condition "FUNCTION_BODY" for computation of item: P1_Y
    264 0.92: {color}{color:#99cc00}&gt; RENDER CALCUL P1_Y CONDITION{color}{color:#999999}
    265 0.92: Processing point: BEFORE_HEADER
    266 0.92: ......Do not perform process because inline validation condition found.
    267 0.92: ...Do not run process "Beta", process point=BEFORE_HEADER, condition type=FUNCTION_BODY, when button pressed=
    268 0.92: ...Recompute field lables for fields in error.
    269 0.97: Show page template header
    270 1.20: Computation point: AFTER_HEADER
    271 1.20: Processing point: AFTER_HEADER
    1 error has occurred
    * Error msg
    272 1.20: Computation point: BEFORE_BOX_BODY
    273 1.20: Processing point: BEFORE_BOX_BODY
    274 1.21: Region: Alpha
    275 1.23: {color}{color:#ff9900}&gt; RENDER REGION Alpha CONDITION{color}{color:#999999}
    Alpha      
    276 1.25: {color}{color:#ff9900}&gt; RENDER BUTTON Go CONDITION{color}{color:#999999}
    277 1.25: {color}{color:#ff9900}&gt; RENDER BUTTON Go invalid CONDITION{color}{color:#999999}
    278 1.28: {color}{color:#ff9900}&gt; RENDER BUTTON Reset CONDITION{color}{color:#999999}
    Go Go invalid Reset cache
    279 1.30: {color}{color:#ff9900}&gt; RENDER ITEM P1_X CONDITION{color}{color:#999999}
    280 1.30: &gt; P1_X=""
    281 1.30: {color}{color:#ff9900}&gt; RENDER ITEM P1_X READ_ONLY CONDITION{color}{color:#999999}
    282 1.30: Item: P1_X TEXT
    X POST-CALCUL
    Error msg
    283 1.30: {color}{color:#ff9900}&gt; RENDER ITEM P1_Y CONDITION{color}{color:#999999}
    284 1.30: &gt; P1_Y="PROC CALCUL P1_Y SOURCE"
    285 1.31: {color}{color:#ff9900}&gt; RENDER ITEM P1_Y READ-ONLY CONDITION{color}{color:#999999}
    286 1.31: Item: P1_Y TEXT
    Y PROC CALCUL P1_Y SOURCE POST_CALCUL
    287 1.32: {color}{color:#ff9900}&gt; RENDER REGION Alpha SOURCE{color}{color:#999999}
    288 1.32: Computation point: AFTER_BOX_BODY
    289 1.32: Processing point: AFTER_BOX_BODY
    290 1.32: Computation point: BEFORE_FOOTER
    291 1.32: Processing point: BEFORE_FOOTER
    292 1.32: Show page tempate footer
    293 1.32: Computation point: AFTER_FOOTER
    294 1.32: Processing point: AFTER_FOOTER
    295 1.32: Log Activity:
    296 1.32: Execute Count=0
    297 1.32: End Show:{color}
    Looking at those debug output, I was able to find a workaround. Look at the line 264 and compare that to the lines 076 to 080. What I did is put the computation in the condition. This way, I'm garanteed that the calculation is always done. Here is an exemple:
    A Computation (in the Page Rendering part)
    Item Name
    - Item Name: P1_Y
    - Type: PL/SQL Function body
    Computation Point
    - Computation Point:After Submit
    Source
    - Computation: RETURN :P1_Y; -- Never executed. Look in the condition for computation
    Conditional Computations
    - Condition Type: PL/SQL Function Body Returning a Boolean
    - Expression 1: :P1_Y := COMPUTE(); RETURN FALSE;
    This works but totally break the semantics created in APEX.
    Suggestion:
    In the Page rendering phase, when a validation fails, the source compution found in a Item (in that case the value is taken from the session state), in a Computation or in Process is never executed.
    This should revised.
    Their should be a way for the programmer to choose what behavior the rendering phase will have when a validation fails other than using a workaround that might break in futur versions of APEX.
    Edited by: user4591233 on Nov 19, 2008 6:32 AM
    Edited by: user4591233 on Nov 19, 2008 6:34 AM

    Dominique,
    Thank you for the detailed problem description. Although you posted it some ten hours ago I have just now finished reading it.
    Form pages must be built so they can operate correctly when inline validation errors are displayed. The assumption (by the engine) is that session state (and package state) as it exists at the point the validations are performed is sufficient (and correct) to support the redisplay of the page without the need to fire on-load processes or computations. Session state or package state changes made by after-submit computations or after-submit/before computations/validations processes that prevent correct page behavior on the "validation redisplay" must be avoided.
    The condition types Inline Validation Errors Displayed/No Inline Validation Errors Displayed can be used for on-load events/controls (processes, computations, regions, items, ...) for which you need finer control over this behavior.
    Also, you can forgo the use of after-submit computations when the resulting alteration of session state would be inimical to proper "validation redisplay" behavior and use On Submit - After Computations and Validations processes instead.
    I hope I have understood your situation and that this answer adequately answers your questions.
    Scott

  • How to add warning message while using 'print' function in Adobe LiveCycle Designer

    I am trying to make pdf document for my company which requires adding a warning message while anyone use 'print' function from the page...
    Does anyone know how to add warning message on LiveCycle Designer
    Also my supervisor mentioned something using 'nag' if that rings any bell

    No you shoudl never go into the XML source unless uinstricted to do so.
    You can open the script editor (under the window menu). It will appear above the drawing area but below the toolbars. You can resize it if there is not enough room. When you click on an object in the form you can choose an event to script against in the Show dropdown. In your case you will want to choose the prePrint event. A line will show up that indicates the object that is associated with the script as well as the event and other information. Add your script below this line. Once that is done you are finished and your form is ready for testing.
    Paul

  • ADF Faces : simultaneous partial page rendering

    hi
    I'm wondering what I can expect from "simultaneous partial page rendering".
    I would like to have some af:selectOneChoice components on a page, with next to them some related information about the selected value.
    This example application, created using JDeveloper 10.1.3.3.0, does this using partial page rendering (check README.txt):
    http://verveja.footsteps.be/~verveja/files/oracle/SimultaneousPPRApp-v0.01.zip
    It as a pprPage.jspx with these components ...
              <af:panelPage title="pprPage">
                <af:panelHorizontal>
                  <af:commandButton text="some button"/>
                  <af:objectSpacer width="10" height="10"/>
                  <af:outputText value="requestCounter.value = #{requestCounter.value}"/>
                </af:panelHorizontal>
                <af:panelHorizontal>
                  <af:selectOneChoice label="selectOneChoice A"
                                      id="selectOneChoiceA" autoSubmit="true"
                                      binding="#{backing_PPRPage.selectOneChoiceA}"
                                      valueChangeListener="#{backing_PPRPage.onChangeSelectOneChoiceA}">
                    <af:selectItem label="null value label"
                                   value="#{null}"/>
                    <af:selectItem label="first choice label"
                                   value="first-choice-value"/>
                    <af:selectItem label="second choice label"
                                   value="second-choice-value"/>
                    <af:selectItem label="third choice label"
                                   value="third-choice-value"/>
                  </af:selectOneChoice>
                  <af:objectSpacer width="10" height="10"/>
                  <af:outputText value="#{backing_PPRPage.selectOneChoiceARelatedValue}"
                                 partialTriggers="selectOneChoiceA"/>
                </af:panelHorizontal>
                <af:panelHorizontal>
                  <af:selectOneChoice label="selectOneChoice B"
                                      id="selectOneChoiceB" autoSubmit="true"
                                      binding="#{backing_PPRPage.selectOneChoiceB}"
                                      valueChangeListener="#{backing_PPRPage.onChangeSelectOneChoiceB}">
                    <af:selectItem label="null value label"
                                   value="#{null}"/>
                    <af:selectItem label="fourth choice label"
                                   value="fourth-choice-value"/>
                    <af:selectItem label="fifth choice label"
                                   value="fifth-choice-value"/>
                    <af:selectItem label="sixth choice label"
                                   value="sixth-choice-value"/>
                  </af:selectOneChoice>
                  <af:objectSpacer width="10" height="10"/>
                  <af:outputText value="#{backing_PPRPage.selectOneChoiceBRelatedValue}"
                                 partialTriggers="selectOneChoiceB"/>
                </af:panelHorizontal>
                <af:outputText value="userAgentHelper.info = #{userAgentHelper.info}"/>
              </af:panelPage>... and has a backing bean like this ...
    public class PPRPage
         public String getSelectOneChoiceBRelatedValue()
              return "some " + fSelectOneChoiceB.getValue() + " related value"
                   + ", requestCounter.value = " + ELHelper.get("#{requestCounter.value}");
         public String getSelectOneChoiceARelatedValue()
              return "some " + fSelectOneChoiceA.getValue() + " related value"
                   + ", requestCounter.value = " + ELHelper.get("#{requestCounter.value}");
         public void onChangeSelectOneChoiceA(ValueChangeEvent pValueChangeEvent)
              // simulating a slow operation/response
              try
                   Thread.sleep(2000);
              catch (InterruptedException ex)
                   ; // ignore;
         public void onChangeSelectOneChoiceB(ValueChangeEvent pValueChangeEvent)
              // nothing here to slow things down
    }It is important to note that changing the value for the "selectOneChoice A" dropbox has some time consuming operation to perform (possibly calculating/querying the related information to show next to it).
    Using IE 6 ("userAgentHelper.info = ... MSIE 6.0 ..."), this behaves like this:
    (ie-1) Run pprPage.jspx in JDeveloper, which results in a page that shows this:
    selectOneChoice A [null value label] some null related value, ...
    selectOneChoice B [null value label] some null related value, ...(ie-2) Select "first choice label" from the "selectOneChoice A" dropbox and immediatly after that select "fourth choice label" from the "selectOneChoice B" dropbox, which results in a page that shows this:
    selectOneChoice A [first choice label] some first-choice-value related value, ...
    selectOneChoice B [fourth choice label] some null related value, ...(ie-3) Select "second choice label" from the "selectOneChoice A" dropbox, which results in a page that shows this:
    selectOneChoice A [second choice label] some second-choice-value related value, ...
    selectOneChoice B [fourth choice label] some fourth-choice-value related value, ...Using Firefox 2.0 ("userAgentHelper.info = ... Firefox/2.0.0.12"), this behaves like this:
    (ff-1) Do the same as in step (ie-1), which has the same result as step (ie-1).
    (ff-2) Do the same as in step (ie-2), which results in a page that shows this:
    selectOneChoice A [first choice label] some first-choice-value related value, ...
    selectOneChoice B [fourth choice label] some fourth-choice-value related value, ...
    questions:
    (q1) Why does the related information, for the selected "fourth choice label", not show up in step (ie-2) (as it does in step (ff-2))?
    (q2) Why does the related information, for the selected "fourth choice label", show up in step (ie-3) while the value was only/already changed in step (ie-2)?
    (q3) Does some general approach exist to prevent "simultaneous partial page rendering" behaviour as described in (q1) and (q2)?
    many thanks
    Jan Vervecken

    repost
    --

Maybe you are looking for

  • Issue in Implementing OR Logic in Security Filter for Essbase in OBIEE

    I am implementing OBIEE using Essbase as the data source. The requirement is to implement OR logic in the security filter. And I got error message from the MDX query generated by OBIEE. Below is the details. Anyone knows how to solve this issue? Than

  • Reg : Job scheduling

    Hi Experts. There are 17 company codes and 7 different Categories as below                                                                                (1) Goods Receipt (2) Return To Vendor (3) Sales (4) Enternal Transfer (5) Internal Transfer (6)

  • .CSV file supported microsoft office.

    Hi, I am trying to download CSV file format in Japanese language from webdynpro application where csv file generated in runtime. But the japanese characters are in distorted order so any one can suggest what is the reason for such kind of error. Is i

  • NPE setting properties with CustomEvent

    Hello, I am trying out CustomEvents, but there is something strange setting properties. I try to do a public class CustomEvents extends VBean {    private ID myEvent = ID.registerProperty("MY_EVENT");    private ID myData = ID.registerProperty("MY_DA

  • How to import video frames as layers in Photoshop?

    How to import video as layers in PhotoshopCS3. When I press "Import Video Frames To Layers", an error message pops up: Could not complete the Video Frames to Layers command because the QuickTime version 7.1 or later is required." I've already install