Form submits

I have following jsp page in struts. if you see, this page has four editable textfields and one submit button. when i edit four textfiled values and then try to press submit, I want to submit these four textfiled values to a stored procedure which updates the fields in database and then re-display this same jsp page, with those textfield values re-displayed. I do have a Form class which has get/set methods for these textfield values. i also have a Action class. I want to know how this whole submit thing works. which code gets invoked when.
problem: No values get submitted after submit button is pressed.
Same jsp page is not redisplayed.
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-form.tld" prefix="form" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="http://jakarta.apache.org/taglibs/log-1.0" prefix="log" %>
<%@ page import="com.mmm.is.PSS.pim.data.*" %>
<html:html locale="true">
<head>
<link rel="stylesheet" href="../swa/c/cdc.css" type="text/css">
<link rel="stylesheet" href="../swa/c/apps.css" type="text/css">
</head>
<body>
<html:errors/>
<html:form action="/company.do">
  <html:hidden property="update" value="false"/>
        <table border="0" cellspacing="0" cellpadding="0" width="100%" class="content">
          <tr bgcolor="#ffffff" valign="top" align="left" >
            <td colspan="2" ><span class="contenttitlealt"><bean:message key="PIMBeGeoinfo.businessinfo" /></span></td>
          </tr>
          <tr bgcolor="#ffffff" valign="top" align="left" >
            <td width="26%" ><bean:message key="PIMBeGeoinfo.partnername"/><br>
              (Legal Name)</td>
            <td width="74%"> <bean:write name="PIMBeGeoForm" property="partnerName" /></td>
          </tr>
          <tr bgcolor="#ffffff" valign="top" align="left" >
            <td width="26%" ><bean:message key="PIMBeGeoinfo.countrygroup"/></td>
            <td width="74%"><bean:write name="PIMBeGeoForm" property="partnerCountry" /></td>
          </tr>
          <tr bgcolor="#ffffff" valign="top" align="left" >
            <td width="26%" ><bean:message key="PIMBeGeoinfo.webaddress"/></td>
            <td width="74%">
              <input type="text"  class="inputtext" value=<bean:write name="PIMBeGeoForm" property="partnerURL"/> >
            </td>
          </tr>
          <tr bgcolor="#ffffff" valign="top" align="left" >
            <td width="26%" ><bean:message key="PIMBeGeoinfo.emaildomain"/></td>
            <td width="74%">
              <input type="text"  class="inputtext" value=<bean:write name="PIMBeGeoForm" property="partnerEmailDomain" /> >
            </td>
          </tr>
          <tr bgcolor="#ffffff" valign="top" align="left" >
            <td width="26%" ><bean:message key="PIMBeGeoinfo.dunsnumber"/></td>
            <td width="74%">
              <input type="text"  class="inputtext" size="15" value=<bean:write name="PIMBeGeoForm" property="partnerDUNSNumber" /> >
              <a class="contentlink" href="https://www.dnb.com">Request a DUNS
              Number</a> from Dun & Bradstreet. </td>
          </tr>
          <tr bgcolor="#ffffff" valign="top" align="left" >
            <td width="26%" ><bean:message key="PIMBeGeoinfo.description"/></td>
            <td width="74%">
              <textarea  class="inputtext"  style="width:100%;" rows="4"><bean:write name="PIMBeGeoForm" property="partnerDescription"/> </textarea>
            </td>
          </tr>
          <tr bgcolor="#ffffff" valign="top" align="left" >
            <td width="26%" > </td>
            <td width="74%">
             <input type="button"   value=<bean:message key="PIMBeGeoinfo.button" /> >
            </td>
          </tr>
        </table>
      <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
          <td class="content" height="2"><img src="../swa/i/s.gif" width="1" height="3" alt=""></td>
        </tr>
        <tr>
          <td bgcolor="#cccccc" class="content"><img src="../swa/i/s.gif" width="1" height="3" alt=""></td>
        </tr>
      </table>
               <span class="contenttitlealt">Important Information</span>
          <br>
          <br>
          <span class="content">
        <table border="0" cellpadding="0" cellspacing="0" width="100%" class="appstablecolor">
          <tr>
            <td width="6"><img src="../swa/i/s.gif" width="6" height="26" alt=""></td>
            <td width="100%" nowrap><img src="../swa/i/s.gif" width="1" height="5" alt=""><br>
              <span class="moduletitlerev">Other Details</span> <br>
              <img src="../../images/spacer.gif" width="1" height="5" alt=""></td>
            <td width="7" align=head
            "right" valign="top"><img src="../swa/i/corner_ur_7.gif" width="7" height="7" alt=""></td>
          </tr>
        </table>
        <!-- // outer table supplies the 1px wide outline around the module -->
        <table border="0" cellpadding="0" cellspacing="0" class="appstablecolor" width="100%">
          <tr valign="top" align="left">
            <td width="100%"  >
              <table border="0" cellspacing="1" cellpadding="3" width="100%" class="modulecontent">
                <tr valign="top" align="left">
                  <td  width="40%" bgcolor="#ffffff" ><span class="modulesubhead"><bean:message key="PIMBeGeoinfo.hqaddress" /> </td></span></td>
                  <td  width="20%" bgcolor="#ffffff"> <span class="modulesubhead"><bean:message key="PIMBeGeoinfo.countrygroup"/></span>
                  </td>
                  <td  width="17%" bgcolor="#ffffff"><span class="modulesubhead"><bean:message key= "PIMBeGeoinfo.hqcam" /></span></td>
                  <td  width="23%" bgcolor="#ffffff"><span class="modulesubhead"><bean:message key= "PIMBeGeoinfo.partneradmin" /></span></td>
                </tr>
                <logic:iterate id="site" name="PIMSite">
                <tr valign="top" align="left">
                  <td  width="40%" bgcolor="#ffffff" >
                  <bean:write name="site" property="headQuarter"/><br>
                    <bean:write name="site" property="siteAddress1"/> <bean:write name="site" property="siteAddress1"/> <bean:write name="site" property="siteAddress1"/> <br>
                     <bean:write name="site" property="siteCity"/>  <bean:write name="site" property="siteState"/>, <bean:write name="site" property="siteZipCode"/><br>
                    <bean:write name="site" property="sitePhone"/></td>
                  <td  width="20%" bgcolor="#ffffff"> <bean:write name="site" property="siteCountry"/></td>
                  <td  width="17%" bgcolor="#ffffff"><a href="mailto:[email protected]?subject=Email from mmm  Partner Self Service" class="modulecontentboldlink"><bean:write name="site" property="channelAcctMgr"/></a></td>
                  <td rowspan="2" bgcolor="#ffffff"  width="23%">Lisa Simpson<br>
                    Peter Parker
                  </td>
                </tr>
                </logic:iterate>
              </table>
            </td>
          </tr>
        </table>  
          </span>
</html:form>
</body>
</html:html>

You didn't assign a name attribute your input field (< input type="text" name="myField" ...> ! The fields are submitted as request parameters in the form {$name}={$value}.
It might help to read about ActionForms and replace the whole input html tags with html:text tags from struts.
I'd recommend the articles on:
http://www.fawcette.com/javapro/2002_10/online/servletsjsp_bkurniawan_10_28_02/
http://www.fawcette.com/javapro/2003_01/online/servletsjsp_bkurniawan_01_28_03/
(Both are articles in a series don't forget to look at the other parts, too)
Yours,
Stefan

Similar Messages

  • How to increase count in a text increases on each new form submitted?

    Hi All,
    I have a field in infopath form as 'RefNo', whenever new form submitted, it count should increase. How to achieve this scenario?
    Thanks in advance!

    I'm not sure if you can do this to display on form load, but you could do this on submit and edit form. 
    Refer to the following posts,
    http://sharepointryan.com/2011/05/25/add-an-auto-numbering-field-to-an-infopath-form/
    http://sharepointfromthetop.wordpress.com/2011/08/31/auto-numbering-infopath-forms/
    --Cheers

  • Preventing user to click on links once form submitted

    Hi All,
    Preventing end user to click on any links once he/she submitted the form until he/she received a response from it.
    I can use filter or shale techniques for this, but it prevents the multiple form submits but not the links.
    (ie, hyperlinks can’t control with the above techniques I suppose.)
    I also used hourglass technique of Javascript. It will show you the hour glass icon once you submitted the form/page.
    Mean while if you mouse over any links on the page (I have other command links on the same page), the hourglass icon showing with hand icon.
    <tr:commandButton provides one attribute blocking=”true”, is not working in this condition.[setting true – blocking user input when the action is initiated and will stop when response received from server.]
    At least if I provide a progress indicator by using <tr:progressIndicator, well enough to the user as some process is going on so that end user can wait for some time.
    I have gone through in detail about it - http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_progressIndicator.html
    Please provide your inputs, how to implement by using <tr:progressIndicator for my <tr:commandButton.
    Or any other fruitful solution for this?
    Thanks in advance :-)

    No idea about the Trinidad component library, but you can also use CSS/JS/DHTML to "freeze" the window during the onsubmit. Add a transparent iframe overlay which covers the whole screen and turn it on during the onsubmit.
    E.g.
    <body>
        <iframe id="freeze" frameborder="0" border="0"></iframe>
        <h:form onsubmit="freeze();">
    iframe#freeze {
        position: absolute;
        visibility: hidden;
        width: 100%;
        height: 100%;
        opacity: 0.0;
        filter: alpha(opacity=0);
    function freeze() {
        document.getElementById('freeze').style.visibility = 'visible';
    }

  • Oracle Collaborate Suite ORA-6502 error during loging or form submitting

    Hi!
    I had Oracle Collaborate Suite ORA-6502 error during loging or form submitting:
    Internal error (WWC-00006)
    An unexpected error has occurred (WWS-32100)
    ORA-6502: ORA-06502: PL/SQL: numeric or value error: character string buffer too small (WWC-36000)
    Unexpected error encountered in wwsec_api.person_info (ORA-06502: PL/SQL: numeric or value error: character string buffer too small) (WWC-41417)
    Error (WWS-20000)
    An unexpected error has occurred (WWS-32100)
    ORA-6502: ORA-06502: PL/SQL: numeric or value error: character string buffer too small (WWC-36000)
    Unexpected error encountered in wwsec_api.person_info (ORA-06502: PL/SQL: numeric or value error: character string buffer too small) (WWC-41417).
    This happened when:
    I was using Russian letters in OCS HTML forms (for example - in Administration provision console or in my own HTML forms)
    and only I work in Linux (with UTF-8 encoding) (in Windows with win1251 encoding all is OK).
    My Database NLS not-null Parameters are:
    NLS_LANGUAGE      - AMERICAN
    NLS_LENGTH_SEMANTICS      - BYTE
    NLS_TERRITORY      - AMERICA
    NLS_CHARACTERSET - AL32UTF8
    NLS_NCHAR_CHARACTERSET - AL16UTF16
    WHAT MUST I DO TO AVOID THIS SITUATION?
    Thank
    Valery

    All,
    It appears that the page Javascript maximum limit size was reached. The error stopped appearing after some of the page Javascript code was removed out to Application Static Files. I wonder if there exists any "direct" indicator by the system whenever the size limit has been reached?
    Again, the run error only occurred when the page was loaded in "Debug" mode.
    Bernard

  • PHP forms submitted as an attachment rather than email?

    How do I get my PHP forms submitted as an attachment rather than email?
    Meaning, if I set up a form on my website and someone completes and submits it, how can I get the responses as an attachment rather than in email text?
    Much appreciated.
    G

    Hi Gunter
    I have spent so much time on this now.
    I have tried to convert the php to an attached .txt or .csv file.
    Learnt a lot but still can not seem to get the form data to be submitted as an attached file.
    Here are two of my attempts, please assist:
    <?php
    $email=$_REQUEST['email'];
    $firstName=$_REQUEST['firstName'];
    $lastName=$_REQUEST['lastName'];
    //The Attachment
    $cr = "\n";
    $data = "Email" . ',' . "First Name" . ',' . "Last Name" . $cr;
    $data .= "$email" . ',' . "$firstName" . ',' . "$lastName" . $cr;
    $fp = fopen('reservationTest.csv','a');
    fwrite($fp,$data);
    fclose($fp);
    // Mail to
    $email = "myemailaddress";
    //subject
    $subject = "Test Budget reservation";
    //Header
    $headers("Content-type: application/octet-stream");
    $headers("Content-Disposition: attachment; filename=reservationTest.csv");
    $headers("Pragma: no-cache");
    $headers("Expires: 0");
    //Message
    $message = "".
    "Email: $email" . "\n" .
    "First Name: $firstName" . "\n" .
    "Last Name: $lastName";
    mail($email, $subject, $message, $headers);
    ?>
    <html>
    <body>
    <table width="400" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td>
    <div align="center">Guperman Your Test Message Has Been Submitted</div>
    </td>
    </tr>
    </table>
    </body>
    </html>
    EOD;
    echo "$theResults";
    OR
    <?php
    /* subject and email variables */
    $email = $_POST['email'];
    $lastname = $_POST['lastname'];
    $firstname = $_POST['firstname'];
        $to = 'myemailaddress';
        $emailSubject = 'Test Form';
        $headers = "From: $email\n";
    $message = "A new reservation test.\n
    Last Name</b>: $lastname
    Name</b>: $firstname
    Email</b>: $email
        mail($to,$emailSubject,$headers,$message);
    //open the file and choose the mode
    $fh = fopen("reservationTest.txt", "a");
    fwrite($fh, $email);
    //close the file
    fclose($fh);
    ?>
    <html>
    <body>
    <table width="400" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td>
    <div align="center">Guperman Your Test Message Has Been Submitted</div>
    </td>
    </tr>
    </table>
    </body>
    </html>
    On both accounts when I test these files I get the following types of messages.
    Warning:  fopen(reservationTest.csv) [function.fopen]: failed to open stream: Permission denied in \\HOSTING\DFS\20\1\9\1\2028751191\user\sites\mywebsite.com\www\reservationTest.php on line 11
    Warning:  fwrite(): supplied argument is not a valid stream resource in \\HOSTING\DFS\20\1\9\1\2028751191\user\sites\mywebsite.com\www\reservationTest.php on line 12
    Warning:  fclose(): supplied argument is not a valid stream resource in \\HOSTING\DFS\20\1\9\1\2028751191\user\sites\mywebsite.com\www\reservationTest.php on line 13
    Fatal error:  Function name must be a string in \\HOSTING\DFS\20\1\9\1\2028751191\user\sites\mywebsite.com\www\reservationTest.php on line 22
    And then to give the .php files permission I left click on the already uploaded files and try and set the permission to 777, but then I get a response like: Setting Access Properties failed for:
    Your assistance is much appreciated. Regards

  • Form-submitting database

    Hello all!
    I'm in need of a simple form-submitting system, and I was wondering whether it could be done using Pages.
    This is what I need it to do:
    It's a school, where I need teachers to submit a report for each class they teach, about how the class went.
    I'm gonna have a server, where the main database will be kept.
    So each teacher will have an iPad, and on their iPad they will open a form, that I will design, and fill it out.
    Once they press submit, the form goes up to the server.
    In the server, I need a control app where I can search by teacher, by student, date etc.
    Anyone know of a good way to do this?
    Maybe Pages can handle it, or maybe there's another app I can get?
    Even knowing what terms to search on google would help a lot.
    Thanks in advance!

    Hello all!
    I'm in need of a simple form-submitting system, and I was wondering whether it could be done using Pages.
    This is what I need it to do:
    It's a school, where I need teachers to submit a report for each class they teach, about how the class went.
    I'm gonna have a server, where the main database will be kept.
    So each teacher will have an iPad, and on their iPad they will open a form, that I will design, and fill it out.
    Once they press submit, the form goes up to the server.
    In the server, I need a control app where I can search by teacher, by student, date etc.
    Anyone know of a good way to do this?
    Maybe Pages can handle it, or maybe there's another app I can get?
    Even knowing what terms to search on google would help a lot.
    Thanks in advance!

  • PDF Not Displayed After Parameter Form Submitted

    We are moving a Forms6i application to web deployed Forms10g. Reports with parameter forms are being called using web.show_document(...) with the oracle.reports.utility.FrmReportsInteg JavaBean to hide database login credentials, as described in the Forms/Reports integration white papers.
    On our development server this process works as expected: the form displays a new browser window containing the parameter form with URL http://server/reports/rwservlet?userid=&report=report&desformat=pdf&destype=cache&paramform=yes, the parameter form is submitted, and the report output is displayed as a PDF embedded in the new browser window.
    However, on our customer's test server, after the parameter form is submitted, the Oracle Reports OracleAS Reports Services - Servlet Command Help page is displayed. Executing the rwservlet/showjobs command shows the job as being successfully completed. Clicking on the Job Name link redisplays the parameter form, and submitting this returns to the Oracle Reports OracleAS Reports Services - Servlet Command Help page.
    I have not been able to trace any other posts describing the same behavior on Metalink or OTN. Has anyone else seen this?
    Development server is OracleAS 10g (9.0.4.1) on Red Hat Linux, customer server is OracleAS 10g (9.0.4.1) on Solaris.
    Anyone explain this difference between the two servers?

    wonder if your problem is the host.domain name?
    It has to be the same name as the "host:" name that was entered in the "Register with Oracle Internet Directory" screen - while installing AS. Reason is that: when the .html is running, it has no connections to the AS, OID, SSO or anything else - it runs independentally. For it to go back into the oracle 'system', the full host.domain name is needed. So, if when the AS was installed, the "fully qualifed" domain name was not given, you may have problems and could need to reinstall AS again. (speaking from sad experience :) )
    regards

  • ProcessFormSubmission form submitted as pdf issue

    Hi
    I have a scenario where, the form must be submitted as PDF content_type, i.e while designing the form, I am setting the submit form as "PDF" format. I have written a J2EE application that receives the submitted form.  Here is what, I am doing.
    Document formData =
    new Document(request.getInputStream()); 
    formData.copyToFile(
    new File("C:/home1/eformwas/InputFile.pdf"));
    I ensured that the submitted content from the web browser is a pdf file by opening the InputFile.pdf in the acrobat reader and I verified that the form is siubmitted with the data that I have posted.
    Next step, I wanted to process this form, and extract out some of the data elements in it. Hence I did the following
    RenderOptionsSpec processFormSubmissionOptionsSpec =
    new RenderOptionsSpec();
    processFormSubmissionOptionsSpec.setXMLData(
    true);processFormSubmissionOptionsSpec.setPDF2XDP(
    true);processFormSubmissionOptionsSpec.setExportDataFormat(
    "XMLData");
    formsResultObject = formsServicesClientObject.processFormSubmission(formData ,"HTTP_REFERER=referrer&HTTP_CONNECTION=keep-alive& CONTENT_TYPE=application/pdf&CONTENT_TYPE=application/vnd.adobe.xdp+xml&CONTENT_TYPE=text/ xml",
    "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)",  
    processFormSubmissionOptionsSpec);
    When I execute the above code, I get the following error at processFormSubmission method,
    Caused by: com.adobe.livecycle.formsservice.exception.FormServerException: Parse error on document: DataSets error: Parse error on document: FSRequest error:  Content is not allowed in prolog.
    Any idea, of what is causing this issue. Can I process a form that is submitted as "pdf" content type.? I guess, I can.
    As a cross check, I created the whole scenario by creating a process in the LC process modeller and used the processFormSubmission task of the Forms Service and I was successful in processing the form. Not sure, am I missing to set something in RenderOptionSpec or is this a bug in LC SDK ?
    LiveCycle error log, also reports the error when invoked through LC SDK API
    [1/26/10 11:13:36:627 EST] 0000008a FormServerExc E com.adobe.livecycle.formsservice.logging.FormsLogger logMessage ALC-FRM-001-016: Parse error on document: DataSets error: Parse error on document: FSRequest error: Content is not allowed in prolog.
    However, everything works like a charm if processFormSubmission invoked as part of LC process model. I even downloaded the data part as getOutputXML task in the process model and it looks well formed.
    Will greatly appreciate your response.
    Many Thanks
    Gopala...

    Hi,
    The issue got resolved. Just posting the solution to benefit other folks who can potentially face the same issue.
    It worked by setting the content_type="application/pdf" only in environment buffer parameter of formSubmission when the submitted content is of type pdf.
    Actually, I referred to the livedocs adobe article @ http://livedocs.adobe.com/LiveCycle/8.2/programLC/programmer/help/wwhelp/wwhimpl/js/html/w whelp.htm?&accessible=true
    which specifies the following, which is contradictory to the solution.
    "You can also specify multiple content type values such as:
    CONTENT_TYPE=application/pdf&CONTENT_TYPE=application/vnd.adobe.xdp+xml
    to ensure various form submissions can be used"
    Regards
    Gopala...

  • Flex 3 and Form submits

    I am using a Flex form to gather information that is
    submitted to a Cold Fusion function page via HTTPService.
    I can successfully gather, submit and insert the data with no
    problems.
    What is the best way to provide feedback from my CF page to
    my Flex app? I have tried many examples of code found online and
    with no success.
    Are there any resources, books etc that have a good and
    working example of using Flex/Cold Fusion via HTTPService that
    ya'll can recommend?
    Thank you.

    I'd return XML like this:
    <result>
    <general>
    <success>false</success>
    <errorCode>E1235</errorCode >
    <reason>Duplicate key 'attributeName' in table
    'emptable'</reason >
    <general>
    <data>
    </data>
    </result>
    <general> describes the overall execution state, while
    <data> may contain actual data to be returned.

  • How do you make a required checkbox field stop a form submitting if not checked.

    Hello,
    I have a form which needs people to accept two checkboxes before the form will submit upon clicking a button.
    I am using Acrobat X Pro.
    The form does not submit when a required text field is empty but when the checkboxes are empty it still tries to submit.
    How can I work around this?
    Thanks.

    You can't do it directly, but there's a work-around. Create a (hidden) text field and set it as required. As the text field's custom calculation script enter the following code:
    event.value = this.getField("Check Box1").value=="Off" ? "" : this.getField("Check Box1").value;
    This will prevent the document from being submitted if "Check Box1" is not ticked. The downside is that the check-box won't be highlighted in red when the validation fails, but at least the file won't be submitted partially filled-in.
    Alternatively, you can write you own validation script, which can provide a full report of which fields still need to be filled-in before submitting the file.

  • Designer Forms submitted via a website

    I have developed a number of forms in Adobe Designer (LiveCycle 7.0) with a view to putting them on my website for users to fill out and return by email. However when I tested the first of the forms (i.e. I uploaded it on to my website and filled it out and submitted it) I noticed that the form was (somehow) saved on the web as I left it i.e. all the fields filled out. All I did was close the window after filling out the fields and submitting. That means that when another user opens it to fill out, they will see the information left by the previous user. What have I done wrong and how do I rectify this problem? HELP!!

    It's caching the data on your hard drive. You can turn that off by unchecking Edit->Preferences->Forms->Keep forms data temporarily on disk. You can also look at the Document.nocache property in the Acrobat JavaScript Scripting Reference.
    Chris
    Adobe Enterprise Developer Support

  • Form submitted via Email

    Hi,
    I am using a MS SQL database and ASP. I have a client that
    wants to send out an email to potential auction donors and have the
    form to donate an auction item right in the email (so not a link,
    but the actual form) and then they want the donors to fill out the
    form and have it get submitted to the database as well as email
    them confirmation. I can do this all from the web site, but I have
    no idea how to do it from an actual email.
    Can this be done? And if so, how??
    Thanks in advance!
    Julie

    You will probably find, due to nature of various email
    clients, that this is
    not viable. Best to provide a link to a web page.
    Jules
    http://www.charon.co.uk/charoncart
    Charon Cart 3
    Shopping Cart Extension for Dreamweaver MX/MX 2004

  • How to avoid form submitting ?

    All,
    I have a form that gets submitted when I press a button, and I need to prevent the submitting of the data on the database, which in our case is an update of the record.
    In the bean I want to get the user inputs, so I need the submitted values of each field, but I don't want the update of the table record.
    How can I do this ? Is there any method I can override in the object implementation of the view object, in order to cancel the table update ?
    Any help is appreciated,
    Sergio.

    Hi,
    Not enough information anyway if you no need to submitting data to Database do not commit for submit action or can use ADF Subform
    See
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/40-ppr-subform-169182.pdfHope helpful above link your "I have a form that gets submitted when I press a button, and I need to prevent the submitting of the data on the database, which in our case is an update of the record." scenario

  • Form submitted in frame opens in new tab

    We have a series of pages in a frameset that has worked fine since the Netscape 4 days. The layout is basically a header, left menu, content area, and an option bar at the bottom.
    The problem occurs when we have a form in the content frame. When the form is submitted the HTML returned after submission opens in a new tab rather than going back to the frame that the form was in. The submission works, but since the HTML goes into a new tab the frame-based navigation code breaks and the user is left looking at a blank page. The form remains in the original tab.
    This code works fine in IE, Firefox 3.x, and Safari. The problem occurs on all versions of Windows and Mac OS we have tried it on.
    Thanks!
    - John

    I was having the same problem and finally figured out how to change this bahavior.  Go to Safari preferences under the 'Tabs' settings.  Make sure the field "Open pages in tabs instead of windows" is set to NEVER.  That should do the trick.

  • Form Submits twice with IE

    Hi, my problem is that my form is submitted twice when using IE 7, but only once on firefox as desired. The steps my jsp app takes are:
    1. submit details
    2. validate details
    3. submit details to database
    4. faces-config navigates to appropriate download page and starts download
    The second submit happens when the user clicks on the IE warning bar that allows the download. I'm using <h:commandButton id="submit" value="Submit" action="#{userInfoBean.submit}" />
    All help is appreciated.

    I have the smae issue!!

Maybe you are looking for

  • Oracle 10g R2 installation with ASM+RAC

    Gurus, Need some suggestuon on Oracle 10g R2 installation with ASM and RAC option. We have found many documents on the Oracle, HP, HP-Oracle CTC and third party web sites, but nothing that is specific to this particular combination of separate ORACLE

  • Adobe photoshop elements 11 issue help.....Please

    My adobe photoshop element 11 has been working great since I have installed for awhile now....all of a sudden one day...when I used the day before with no problems....it wont open now....gives me a runtime error and wants to shutdown....what is this

  • How  can i print currency symbol in smart form?

    how  can i print currency symbol in smart form? i want to print the currency symbol with grant total based on the vendor currency. pls hepl............

  • Import Data into multiple tables

    Hi folks, I already did some research in this forum but I cannot find a solution. As far as I understood I need to import the data from the flatfile into a staging table and then distribute it to the different tables by running a SQL script/statement

  • Bluetooth stopped working on Windows 8 (GT780DX)

    I recently upgraded my MSI GT780DX to Windows 8 and since then my Bluetooth connection has stopped working. I have updated my Intel Bluetooth drivers to Win 8 and nothing has changed. I can see the Bluetooth settings in my controlpanel, but they are