Firefox fails to submit self-referential form unless I wait 20-30 seconds.

EDIT: (The solution ended up being, against all expectation, that everything was actually perfectly fine. It was the -webhost- that was messing it up. Note to anyone who comes across this: GoDaddy is terrible for hosting. The same files, uploaded to a real webhost like SourceForge, work perfectly well. What GoDaddy can possibly be failing at, I can't even imagine.)
I am creating a self-referential form (POST method) in PHP to lead a user through the process of a complicated, branching calculation. I load the PHP in Firefox 3.6 and it comes up fine, and I do the first submission and that works fine. But if I do another submission quickly (within a few seconds), instead of working, it submits to itself with no fields so I get the front page back again, and no matter what I do, it keeps submitting with no fields. If I then reload the original PHP file not via POST and redo the first submission, the first submission works again and the second fails again.
However, if I do the first submission, and then sit there doing absolutely nothing for maybe 20-30 seconds, and then do the second submission, it works perfectly fine. If I again wait, the third submission works; otherwise, it submits like the first with no fields and messes up.
I tried this with and without HTTP headers to prevent caching, without effect.
Any ideas what's going on?
Edit: (And, to be clear, if I change POST method to GET method, it works flawlessly every time. But having the data appear in the URL is confusing and problematic for users, as well as severely complicating the process of bookmarking if the user decides in the middle of the calculation to make a bookmark. The bookmark should be to the beginning of the calculation, not the middle, because the calculation is time-sensitive so old data are useless and should not be re-produced.)

See also:
* http://forums.mozillazine.org/viewtopic.php?f=25&t=1979291 Firefox fails submitting successive forms if done quickly. • mozillaZine Forums

Similar Messages

  • Form Failed To Submit Error

    I have received the error "Task 6004 has failed to submit. (ALC-WKS-007-072)." The form rendered fine and the webservices worked fine. It's just when I clicked complete I got the error. I haven't changed anything and don't know why it's doing this. I have copied my log entry from the server log.
    b ---------- Begin Error --------
    2009-04-01 15:51:17,750 WARN [com.adobe.workspace.tasks.com.adobe.workspace.tasks.DocumentSubmitServlet] ALC-WKS-005-029: A problem occurred in the Submit Service. Please review the submit orchestration for this process.
    flex.messaging.MessageException: ALC-WKS-005-029: A problem occurred in the Submit Service. Please review the submit orchestration for this process.
    at com.adobe.workspace.AssemblerUtility.createMessageException(AssemblerUtility.java:384)
    at com.adobe.workspace.tasks.DocumentSubmitServlet.doPost(DocumentSubmitServlet.java:311)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at com.adobe.workspace.events.RemoteEventClientLifeCycle.doFilter(RemoteEventClientLifeCycle .java:138)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:159)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11P rotocol.java:744)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
    at java.lang.Thread.run(Thread.java:595)
    b ----------- End Error -------------
    Thank you in advance!

    John
    Are you submitting from a user step within a workflow?  If so, is the process variable housing your form using a custom submit service?
    Additionally, how is your form's submit button configured?
    If you'd like, feel free to attach your form or email me a copy and I'll take a look at it!
    Josh Boyle
    Cardinal Solutions Group
    [email protected]

  • Firefox won't submit form in iframe if XHTML strict is on

    Hello,
    I discovered that Firefox ignores <iframe name="xxx"> for <form target="xxx"> if I set application/xhtml+xml as page content type.
    See more here: http://stackoverflow.com/questions/18532115/posting-form-to-an-iframe-under-strict-xhtml-firefox
    I believe this is a bug since other browsers behave the same way for either text/html or xhtml content type.
    You can see live example here: http://u8.8u.cz/xhtmlform.php

    Used the live example in Firefox 23, works in both modes.

  • Portal authentication failing intermittently post self registration

    We are in the process of upgrading from EP6 to EP7 and have hit a critical authentication problem that is proving difficult to diagnose and resolve.
    Our self registration process leads straight into user logon:
    1) the user fills in the registration form with their user ID, password etc and selects Submit which creates the user ID in our R/3 user store
    2) the user is presented with text informing them that their registration has been successful and a Proceed button which when selected authenticates them with the portal with their newly created user ID
    Step 2) above is working intermittently in our EP7 system - sometimes the process works exactly as expected others an exception is raised (com.sap.security.core.logon.imp.UMELoginException: USER_AUTH_FAILED).
    It seems as though the cause is that the user creation process has not completed fully before the logon step.
    We tried implementing a wait step (10 seconds) following selection of the Proceed button which reduced the incidence rate of the problem but didn't cure it entirely.
    A possible contributing factor is hardware performance as we are testing the upgrade on an impact analysis system which is not as efficient as our live portal landscape.
    I've pasted the code which performs the authentication and extracts from the DIAGTOOL portal logs below which show the login module configuration (SAP standard I believe).
    Any help/advice what to try next would be greatly appreciated as we are running out of ideas.
    Thanks,
    Alan
    The following code performs the authentication and redirection to the portal user's home page:
    public void onRedirect(Event event) throws PageException {
                   getBean();
                   //Get resource bundle
                   ResourceBundle rbSetup =
                        ResourceBundle.getBundle(
                             "setup",
                             ((IPortalComponentRequest) this.getRequest()).getLocale());
                   ILogonAuthentication logonAuthentication =
                        UMFactory.getLogonAuthenticator();
                   HttpServletRequest req =
                        ((IPortalComponentRequest) this.getRequest())
                             .getServletRequest();
                   HttpServletResponse res =
                             (IPortalComponentRequest) this
                                  .getRequest())
                                  .getServletResponse(
                             true);
                   req.setAttribute(
                        ILoginConstants.LOGON_UID_ALIAS,
                        SelfRegBean.getLogonUid());
                   req.setAttribute(
                        ILoginConstants.LOGON_PWD_ALIAS,
                        SelfRegBean.getPassword());
                   Subject subject = null;
                   try {
                        subject = logonAuthentication.logon(req, res, AUTHSCHEME);
                        if (null != subject) {
                             res.sendRedirect(rbSetup.getString("REDIRECT_URL"));
                   } catch (LoginException e) {
                        SelfRegBean.setError(rb.getString(LOGIN_FAILED));
                   } catch (IOException e) {
                        SelfRegBean.setError(rb.getString(REDIRECT_FAILED));
    Full exception thrown when the authentication process fails:
    com.sap.security.core.logon.imp.UMELoginException: USER_AUTH_FAILED at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.logon(SAPJ2EEAuthenticator.java:949) at uk.ac.ncl.SelfRegistration$SelfRegistrationDynPage.onRedirect(SelfRegistration.java:507) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:172) at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:115) at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134) at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209) at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114) at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189) at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215) at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645) at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189) at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753) at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240) at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524) at java.security.AccessController.doPrivileged(Native Method) at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172) -
    Key log extracts from DIAGTOOL:
    Exception on login: 
    [EXCEPTION]
    com.sap.security.core.server.userstore.UserstoreException: Could not refresh user postsp15p
    Caused by: com.sap.security.api.NoSuchUserAccountException: USER_AUTH_FAILED: User account for logonid "postsp15p" not found!
    LOGIN.FAILED
    User: N/A
    Authentication Stack: ticket
    Login Module                                                               Flag        Initialize  Login      Commit     Abort      Details
    1. com.sap.security.core.server.jaas.EvaluateTicketLoginModule             SUFFICIENT  ok          false                 true      
            #1 ume.configuration.active = true
    2. com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule   REQUISITE   ok          exception             true       Authentication did not succeed.
    3. com.sap.security.core.server.jaas.CreateTicketLoginModule               OPTIONAL    ok                                true      
            #1 ume.configuration.active = true
    com.sap.security.core.logon.imp.UMELoginException:
    ObjectID handed over is 'null'!
    Guest | LOGIN.ERROR | null |  | Login Method=[uidpwdlogon], UserID=[null], IP Address=[10.64.65.191], Reason=[Authentication did not succeed.]
    USER_AUTH_FAILED

    We are in the process of upgrading from EP6 to EP7 and have hit a critical authentication problem that is proving difficult to diagnose and resolve.
    Our self registration process leads straight into user logon:
    1) the user fills in the registration form with their user ID, password etc and selects Submit which creates the user ID in our R/3 user store
    2) the user is presented with text informing them that their registration has been successful and a Proceed button which when selected authenticates them with the portal with their newly created user ID
    Step 2) above is working intermittently in our EP7 system - sometimes the process works exactly as expected others an exception is raised (com.sap.security.core.logon.imp.UMELoginException: USER_AUTH_FAILED).
    It seems as though the cause is that the user creation process has not completed fully before the logon step.
    We tried implementing a wait step (10 seconds) following selection of the Proceed button which reduced the incidence rate of the problem but didn't cure it entirely.
    A possible contributing factor is hardware performance as we are testing the upgrade on an impact analysis system which is not as efficient as our live portal landscape.
    I've pasted the code which performs the authentication and extracts from the DIAGTOOL portal logs below which show the login module configuration (SAP standard I believe).
    Any help/advice what to try next would be greatly appreciated as we are running out of ideas.
    Thanks,
    Alan
    The following code performs the authentication and redirection to the portal user's home page:
    public void onRedirect(Event event) throws PageException {
                   getBean();
                   //Get resource bundle
                   ResourceBundle rbSetup =
                        ResourceBundle.getBundle(
                             "setup",
                             ((IPortalComponentRequest) this.getRequest()).getLocale());
                   ILogonAuthentication logonAuthentication =
                        UMFactory.getLogonAuthenticator();
                   HttpServletRequest req =
                        ((IPortalComponentRequest) this.getRequest())
                             .getServletRequest();
                   HttpServletResponse res =
                             (IPortalComponentRequest) this
                                  .getRequest())
                                  .getServletResponse(
                             true);
                   req.setAttribute(
                        ILoginConstants.LOGON_UID_ALIAS,
                        SelfRegBean.getLogonUid());
                   req.setAttribute(
                        ILoginConstants.LOGON_PWD_ALIAS,
                        SelfRegBean.getPassword());
                   Subject subject = null;
                   try {
                        subject = logonAuthentication.logon(req, res, AUTHSCHEME);
                        if (null != subject) {
                             res.sendRedirect(rbSetup.getString("REDIRECT_URL"));
                   } catch (LoginException e) {
                        SelfRegBean.setError(rb.getString(LOGIN_FAILED));
                   } catch (IOException e) {
                        SelfRegBean.setError(rb.getString(REDIRECT_FAILED));
    Full exception thrown when the authentication process fails:
    com.sap.security.core.logon.imp.UMELoginException: USER_AUTH_FAILED at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.logon(SAPJ2EEAuthenticator.java:949) at uk.ac.ncl.SelfRegistration$SelfRegistrationDynPage.onRedirect(SelfRegistration.java:507) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:172) at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:115) at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134) at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209) at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114) at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189) at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215) at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645) at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189) at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753) at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240) at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524) at java.security.AccessController.doPrivileged(Native Method) at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172) -
    Key log extracts from DIAGTOOL:
    Exception on login: 
    [EXCEPTION]
    com.sap.security.core.server.userstore.UserstoreException: Could not refresh user postsp15p
    Caused by: com.sap.security.api.NoSuchUserAccountException: USER_AUTH_FAILED: User account for logonid "postsp15p" not found!
    LOGIN.FAILED
    User: N/A
    Authentication Stack: ticket
    Login Module                                                               Flag        Initialize  Login      Commit     Abort      Details
    1. com.sap.security.core.server.jaas.EvaluateTicketLoginModule             SUFFICIENT  ok          false                 true      
            #1 ume.configuration.active = true
    2. com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule   REQUISITE   ok          exception             true       Authentication did not succeed.
    3. com.sap.security.core.server.jaas.CreateTicketLoginModule               OPTIONAL    ok                                true      
            #1 ume.configuration.active = true
    com.sap.security.core.logon.imp.UMELoginException:
    ObjectID handed over is 'null'!
    Guest | LOGIN.ERROR | null |  | Login Method=[uidpwdlogon], UserID=[null], IP Address=[10.64.65.191], Reason=[Authentication did not succeed.]
    USER_AUTH_FAILED

  • Cannot access to any site with ssl connection and fail to open safari and keychain, unless restart computer and login in with Guest account.

    when Update to 10.7.2 ,I cannot access to any site with ssl connection and fail to open safari and keychain, unless restart computer and login in with Guest account.
    OS:10.7.2
    Macbook Pro 2010-mid 13inch

    I also have the same problem, however if I use Firefox or Opera sites with ssl connection work fine. Still, I can't use Google Chrome (ssl), Safari (ssl), the Mac app store (generally), or the iTunes store (generally). Both the iTunes store, Safari and the app store won't respond, and Chrome displays this error: (net::ERR_TIMED_OUT). The problem persists regardless of what network I'm using. Also, when trying to access the keychain or iCloud, the process will not start (will hang). I didn't have these problems at all before updating to 10.7.2.
    Sometimes rebooting helps, and sometimes not. If the problem disappears by rebooting, then it only lasts a few minutes before it reappears. It is very frustrating, especially since there doesn't seem to be any obvious or consistent way of which to fix it.
    I'm also using a Macbook Pro 13-inch mid 2010.

  • ADF:Dynamic viewLink for self referential dynamic ViewObject jdev11.1.1.6.0

    Hi, I'm using jdeveloper studio version 11.1.1.6.0, because of my requirement I am creating a View Object programatically in the Application Module since I will not know how many colums will I have until the User has done some selections... Hence I am generating a Read only Dynamic View Object on the fly, I am able to display this in a table in ADF and do dynamic binding as well...
    Now the problem is that the data is actually hierarchical data, and I have constructed a parent and children atributes in the View Object to basically sort this view and build the hierarchy, I am trying to change the way this is displayed from a Table to a TreeTable in ADF... And for that I need to create a ViewLink... now I read how to do this programatically but never against the same View Object, I did found some examples on how to do this but against two different View Objects, but I want to use the same View Object which has been created on the fly (at run time)
    I have been trying to do this using createViewLinkBetweenViewObjects by passing the same VO as master and detail (self referential View Link), but it fails as the documentation says with
    InvalidParamException which says : (1) if master or detail is null (2) if master and detail represent the same view object (circular view link is disallowed)
    The odd thing here is that you can do this declaratively
    http://docs.oracle.com/cd/E14571_01/web.1111/b31974/bcquerying.htm#CHDDEFCE
    meaning you can create a View Link to the same View Object if you have a previously defined View Object at design time... (not at run time) using Expression Language... so I am puzzled to understand why this cannot be done programatically...
    1. How could this be done programatically?
    This is the code I was trying:
        public static final String DYNAMIC_BOM_VO_INSTANCE = "DynamicBomVO";
        public void createSQLBasedDynamicBomViewObject(){
            //Define the View Object Instance name
            inputElement[] inputElementsVO;
            inputElementsVO=populateInputString();
            int numberOfItems = inputElementsVO.length;
            System.out.println("Inside VO creation");
            ViewObject vo = findViewObject(DYNAMIC_BOM_VO_INSTANCE);
            //Check if view object exist and remove it if it does
            if (vo!= null)
                vo.remove();
            //Create view definition
            ViewDefImpl dynamicBomViewDef = new ViewDefImpl("com.CST.DynamicBomView");
            //Define names and types of atributes of the View
            dynamicBomViewDef.addViewAttribute("EffectAssemblyId", "EFFECT_ASSEMBLY_ID", Integer.class);
            dynamicBomViewDef.addViewAttribute("EffectCompId", "EFFECT_COMP_ID", Integer.class);
            for(int i = 0; i < numberOfItems; i++){
                dynamicBomViewDef.addViewAttribute("RollupId"+(i+1), "ROLLUP_ID"+(i+1), Integer.class);
            dynamicBomViewDef.addViewAttribute("RollupId", "ROLLUP_ID", Integer.class);
            dynamicBomViewDef.addViewAttribute("BomLevel", "BOM_LEVEL", Integer.class);
            //Define the SQL for th eview object
            String    querytoUse = createSQLJoin(inputElementsVO);
            //Assign query to VO
            dynamicBomViewDef.setQuery(querytoUse);
            dynamicBomViewDef.setFullSql(true);
            dynamicBomViewDef.setBindingStyle(SQLBuilder.BINDING_STYLE_ORACLE_NAME);
            dynamicBomViewDef.resolveDefObject();
            //Create an instance of the dynamic view definition
            vo = createViewObject(DYNAMIC_BOM_VO_INSTANCE,dynamicBomViewDef);
            AttributeDef[] parentAttrs = new AttributeDef[] {vo.findAttributeDef("EffectAssemblyId")};
            AttributeDef[] childAttrs = new AttributeDef[] {vo.findAttributeDef("EffectCompId")};
            ViewLink v1 = createViewLinkBetweenViewObjects("AssemblyLink", "Children", vo, parentAttrs, vo, childAttrs, null);
        }I also tried creating a second instance of the same view object, and adding a view criteria but it failed saying that:
    Definition EFFECT_ASSEMBLY_ID of type Attribute is not found in DynamicBomVO, I tried using
    The code was added after createViewObject
             vo = createViewObject(DYNAMIC_BOM_VO_INSTANCE,dynamicBomViewDef);
             ViewCriteria vc = vo.createViewCriteria();
             ViewCriteriaRow vcr1 = vc.createViewCriteriaRow();
             vcr1.setAttribute("EFFECT_ASSEMBLY_ID", "=-1");
            vc.add(vcr1);
            vo.applyViewCriteria(vc);
            vo.executeQuery();When I used
             vcr1.setAttribute("EffectAssemblyId", "=-1"); I got
    ORA-00904: "EFFECTASSEMBLYID": invalid identifier
    Please let me know if you know how could this be achieved so that I can use a treeTable once that viewLink has been stabled and the hierarchy can be constructed.
    Regards,
    Ivan
    Edited by: user756323 on Jan 8, 2013 2:58 PM
    Edited by: user756323 on Jan 8, 2013 3:03 PM
    Edited by: user756323 on Jan 8, 2013 3:07 PM

    Hi, I'm using jdeveloper studio version 11.1.1.6.0, because of my requirement I am creating a View Object programatically in the Application Module since I will not know how many colums will I have until the User has done some selections... Hence I am generating a Read only Dynamic View Object on the fly, I am able to display this in a table in ADF and do dynamic binding as well...
    Now the problem is that the data is actually hierarchical data, and I have constructed a parent and children atributes in the View Object to basically sort this view and build the hierarchy, I am trying to change the way this is displayed from a Table to a TreeTable in ADF... And for that I need to create a ViewLink... now I read how to do this programatically but never against the same View Object, I did found some examples on how to do this but against two different View Objects, but I want to use the same View Object which has been created on the fly (at run time)
    I have been trying to do this using createViewLinkBetweenViewObjects by passing the same VO as master and detail (self referential View Link), but it fails as the documentation says with
    InvalidParamException which says : (1) if master or detail is null (2) if master and detail represent the same view object (circular view link is disallowed)
    The odd thing here is that you can do this declaratively
    http://docs.oracle.com/cd/E14571_01/web.1111/b31974/bcquerying.htm#CHDDEFCE
    meaning you can create a View Link to the same View Object if you have a previously defined View Object at design time... (not at run time) using Expression Language... so I am puzzled to understand why this cannot be done programatically...
    1. How could this be done programatically?
    This is the code I was trying:
        public static final String DYNAMIC_BOM_VO_INSTANCE = "DynamicBomVO";
        public void createSQLBasedDynamicBomViewObject(){
            //Define the View Object Instance name
            inputElement[] inputElementsVO;
            inputElementsVO=populateInputString();
            int numberOfItems = inputElementsVO.length;
            System.out.println("Inside VO creation");
            ViewObject vo = findViewObject(DYNAMIC_BOM_VO_INSTANCE);
            //Check if view object exist and remove it if it does
            if (vo!= null)
                vo.remove();
            //Create view definition
            ViewDefImpl dynamicBomViewDef = new ViewDefImpl("com.CST.DynamicBomView");
            //Define names and types of atributes of the View
            dynamicBomViewDef.addViewAttribute("EffectAssemblyId", "EFFECT_ASSEMBLY_ID", Integer.class);
            dynamicBomViewDef.addViewAttribute("EffectCompId", "EFFECT_COMP_ID", Integer.class);
            for(int i = 0; i < numberOfItems; i++){
                dynamicBomViewDef.addViewAttribute("RollupId"+(i+1), "ROLLUP_ID"+(i+1), Integer.class);
            dynamicBomViewDef.addViewAttribute("RollupId", "ROLLUP_ID", Integer.class);
            dynamicBomViewDef.addViewAttribute("BomLevel", "BOM_LEVEL", Integer.class);
            //Define the SQL for th eview object
            String    querytoUse = createSQLJoin(inputElementsVO);
            //Assign query to VO
            dynamicBomViewDef.setQuery(querytoUse);
            dynamicBomViewDef.setFullSql(true);
            dynamicBomViewDef.setBindingStyle(SQLBuilder.BINDING_STYLE_ORACLE_NAME);
            dynamicBomViewDef.resolveDefObject();
            //Create an instance of the dynamic view definition
            vo = createViewObject(DYNAMIC_BOM_VO_INSTANCE,dynamicBomViewDef);
            AttributeDef[] parentAttrs = new AttributeDef[] {vo.findAttributeDef("EffectAssemblyId")};
            AttributeDef[] childAttrs = new AttributeDef[] {vo.findAttributeDef("EffectCompId")};
            ViewLink v1 = createViewLinkBetweenViewObjects("AssemblyLink", "Children", vo, parentAttrs, vo, childAttrs, null);
        }I also tried creating a second instance of the same view object, and adding a view criteria but it failed saying that:
    Definition EFFECT_ASSEMBLY_ID of type Attribute is not found in DynamicBomVO, I tried using
    The code was added after createViewObject
             vo = createViewObject(DYNAMIC_BOM_VO_INSTANCE,dynamicBomViewDef);
             ViewCriteria vc = vo.createViewCriteria();
             ViewCriteriaRow vcr1 = vc.createViewCriteriaRow();
             vcr1.setAttribute("EFFECT_ASSEMBLY_ID", "=-1");
            vc.add(vcr1);
            vo.applyViewCriteria(vc);
            vo.executeQuery();When I used
             vcr1.setAttribute("EffectAssemblyId", "=-1"); I got
    ORA-00904: "EFFECTASSEMBLYID": invalid identifier
    Please let me know if you know how could this be achieved so that I can use a treeTable once that viewLink has been stabled and the hierarchy can be constructed.
    Regards,
    Ivan
    Edited by: user756323 on Jan 8, 2013 2:58 PM
    Edited by: user756323 on Jan 8, 2013 3:03 PM
    Edited by: user756323 on Jan 8, 2013 3:07 PM

  • FRM-92050: Failed to connect to Server: /forms/lservlet-1 coming thru LBR

    Hi,
    Our EBS setup is as follows,
    R12.1.1,
    10g DB, 10.2.0.4 (patchset)
    Sun Solaris 10 64 bit
    Two node Apps Tier (AppServer1 and AppServer2) in a shared APPL_TOP.
    and Two node RAC Database Tier (DBNode1 and DBNode2)
    Highly secured and firewall environments.
    We configured EBS R12 and we were able to login and launch forms , Submit conncurrent jobs and everythings worked fine.
    http://hostname.domainname:8000
    Now , our requirement is that all the users would be accessing our EBS through https and the flow is as follows,
    Step1:
    User => https://lbrname.domainname:443
    here lbrname is our Load Balancer name. Here the request is identified as EBS request and LBR forwards that URL to our reverse proxy server
    Step2:
    Our reverse proxy server is Sun http web server 7 update 5. It converts it to http://hostname.domainname:8000 and offloads it to the apps tier.
    We followed metalink note 380489.1 - Using Load-Balancers with Oracle E-Business Suite Release 12 to configure our EBS with load balancer .
    (Section 2.1: Using Hardware Load Balancers with Single Web Entry Point).
    After configuring we are able to login to the EBS URL using https://lbrname.domainname:443.
    Now here is our problem,
    When trying to launch any form , it gives the below error.
    FRM-92050: Failed to connect to Server: /forms/lservlet-1
    not sure how to proceed. Looked at google , metalink but not getting anywhere.
    Can you please give some pointers as how to solve this problem ?
    Thanks,
    Sasi

    Hi Helios,
    Thank you very much for your time.
    Metalink ID 438522.1 & 367614.1 doesnt apply to our environment.
    I had looked at 470890.1 and it looked like we are ok but I'm going to double check on that.
    FRM-92050: Failed to connect to Server: /forms/lservlet:-1 http://ID 470890.1
    On the laodbalancer (Big IP) i need to check with our network team.
    FRM-92050: Failed To Connect To Server: /forms/lservlet:-1 http://ID 793409.1
    Thanks again.
    Sasi

  • How to calculate the total of bytes transferred when I submit a PDF Form in A. Reader

    Hello,
    I need to know some way for calculate the total of bytes transferred when I submit a PDF form using JavaScript, hereby:
    b ******************************************************************
    i var service_url = http://some_webservice/;
    i var send_type = "PDF";
    i var doc = event.target;
    i doc.submitForm( { cURL: service_url, cSubmitAs: send_type } );
    b ******************************************************************
    b The reason:
    I need to indicate the percentage of bytes sent to the server, in real time. Adobe Acrobat shows a progress bar and the transferred quantity in bytes, but Adobe Reader doesn't. Is in this case, when I need to find a way in order to make something similar.
    b Than you for your time.

    You can use SharePoint Designer and calculate the total in xslt view. Refer to the following post for more information
    http://community.bamboosolutions.com/blogs/bambooteamblog/archive/2009/04/24/how-to-total-calculated-columns-in-a-sharepoint-list.aspx
    http://blog.metrostarsystems.com/2012/12/03/jennys-sharepoint-tip-sum-calculated-columns/
    Cheers,

  • How can recipients submit completed PDF forms using a MAC?

    We have created fillable PDF forms using LiveCycle Designer 8.0.  They include
    submit buttons that are set to submit the completed forms as PDFs.  Rights have been extended for Adobe Reader users.  They work great when the recipient is using a PC, but when they are using a MAC we have a number of problems:
    1) the Print and Submit buttons do not work
    2) when the recipient saves and e-mails the file manually, the data they entered is only visible when you click on that field
    Help!  How can our MAC recipients submit their completed form as a PDF that displays all of the data!
    Thanks!

    Thanks Niall.  This information proved really helpful in confirming the problem.  We ran some tests and the problem does seem to only occur when MAC recipients are using Preview.
    We recieved this link from Adobe, which provides a solution if you have access to all the recipients:
    http://blogs.adobe.com/pdfdevjunkie/script_to_fix_mac_osx_previewa.html
    Thanks to Niall and Paul for all your help!

  • On Windows 7 Enterprise OS, Firefox failed to start when upgrading to any higher versions after 6.0.2

    Hi
    Please can you help me with this?
    Currently I am running Firefox version 6.0.2 on my Windows 7 Enterprise OS Desktop.
    When I try to update Firefox, installations completes successfully. However when trying to launch Firefox, browser window is not opened. It was showing a 'Firefox failed to start' error message for versions before 11. For the latest version i.e 11, no error messages are displayed. When trying to launch application, no browser window is opened, but I can see Firefox process running in Task Manager. I tried to do a clean install by removing all add-ins and also deleting Firefox folder under program files. It did not solve the problem.
    Thanks
    Chandra

    Ok, well let's try going straight to what the problem probably is, a corrupted profile.
    Can you please read [https://support.mozilla.org/en-US/kb/Managing-profiles https://support.mozilla.org/en-US/kb/Managing-profiles], and create a new testing profile? Start Firefox 6 up using the new profile, then close it. After you've done that, upgrade to Firefox 11, and try starting, again using the new profile. If everything works, then you just had a corrupted profile, and you can read [[Recovering important data from an old profile|Recovering important data from an old profile]], which explains how to transfer your data from your old one to your new profile.
    Let me know if this helps!

  • Error in Self Registration form

    Hi,
    Language field in the initial supplier self registration form is mandatory in ROS. Even after selecting english, it gives me error, select yr language. Pl let me know how to correct it. Is it related to config in web survey or is it html form error?
    Regards,

    Hi Pooja,
    This error usually occurs when you have wrongly populated some other field. For ex : In email id you mention 'abc ' instead of 'abc at xyz.com'.
    Pl ensure that all other fields are populated in the correct format.
    It's a strange behaviour of the ROS_SELF_REG BSP page.
    Regards,
    Nikhil

  • Firefox fails to startup, with no error message whatsoever, after installing the Fireftp add-on.

    Firefox fails to startup on OS X 10.6.4, after I install the FireFTP plugin. There's no crash message or anything, just a bouncing icon on the dock and then nothing happens. Creating a new profile solves the issue until i install FireFTP, which again produces the same effect.

    Hi Anselmo_MSW!
    It looks as though you have followed the correct steps and no, you do not need to lift up both levers at the same time. 
    The error code 5100 indicates that an internal error has occurred which may be resolved by resetting the printer.  Please follow these steps for isolating and resetting the printer:
    1.  Open the printer's front cover, and then open and close the print head lock lever (do not remove the print head).
    2.  Make sure all ink tanks are seated properly.
    3.  Make sure all packing materials have been removed.
    4.  Make sure no paper is jammed in the printer.
    5.  Disconnect the printer cable from the printer.
    6.  Close the front cover and turn the printer off.
    7.  Unplug the printer from the power source, and then plug it back in after five minutes.
    8.  Power on the printer.
    If the error returns, the printer will require service options.  I realize you have just purchased this and wanted to let you know that this is not the normal operation of our printers.  What I would recommend is contacting a Canon Representative using the following link to learn of your service options.  Contact Us.

  • Dbms_job.submit usage in forms

    Hi All
    I am getting implementation restriction problem when I use dbms_job.submit in oracle forms.
    Please let me know if anybody has any workaround.
    Thanks
    Sreeni

    see <Note:197696.1> How do you submit a DBMS_JOB from an Oracle Forms?
    I hop it helps bye

  • Multiple submit on single form

    hi all,
    My current system have 1 submit button with single form. This submit button will call file_content.upload.
    htp.p('function on_submit() {');
    htp.p('     ...the rest of my code here..');
    htp.p('     document.forms[0].submit();');
    htp.p('     return true;');
    htp.p('}');
    htp.p('<form enctype="multipart/form-data" method="post" action="file_content.upload">');
    htp.p('     ...the rest of my code here..');
    htp.p('<input type="button" id="btn_Submit" value="Submit" onclick="on_submit()"></form>');My question is, i want to enhance this by adding additional 1 submit button with value "Save". But this new "Save" button will call/trigger different file. This new button will call file_content.update. How to accomplish this and how to differentiate these 2 button?
    htp.p('<input type="button" id="btn_Submit" value="Submit" onclick="on_submit()"> 
              <input type="button" id="btn_Save" value="Save"></form>');Appreciate any help from you guys. Thanks
    Edited by: morezack on Jul 21, 2011 2:08 PM

    You again did accident like one below
    multiple submit button on a single form
    Take care..
    Regards,

  • Self-referential attribute: how to set the value if it is NULL/unknown

    Hi,
    I am getting the following error while doing Logical Loop Check:
    self-referential attribute: b5@Rules_test_doc
    number of rules in this loop: 3
    number of attributes in loop chain: 3
    number of relationships in loop chain: 0
    The rule engine will be seeded with information from a database.
    My requirement is to set a value to the attribute (X) = "ABC" if (X) is null and (Y) is 0
    ( in 10.4 NULL is represented by unknown)

    You would have to have an intermediate field here to achieve this. It definitely is a logical loop in OPA terms, since you are trying to use X to prove X.
    To solve it you would need to do:
    attribute (X) = "ABC" if (X_input) is null and (Y) is 0
    Or for a "real" example:
    the person's processing office:
    "london" | the person's provided procesing office is currently unknown
    the person's provided procesing office | otherwise
    So if no processing office has been provided by the database, (i.e. "null") it effectively defaults to London.
    You could then use "the person's processing office" as normal throughout the rules, confident that it should never be unknown.
    Cheers,
    Ben
    Edited by: Ben Rogers on Jan 8, 2013 1:28 PM

Maybe you are looking for