Cancel on the OFA Page

Hi all

I have a requirement for the Undo feature.
My Page has a few required fields to e b completed by the user before submitting the form.
but, when the user clicks the button quit, then it should not promt to fill the required parameters.
On the exit button (submit button) I used OAdialog confirmation page and run small business validations on clique of Yes/No buttons.

Problem is that when the user presses the output on the page, the Page opens to fill required fields.
How can we avoid this?

Thanks and greetings
POOJA

POOJA,

You must set the client property of validation on the side of the button as false. then it won't work.

Tags: Oracle Applications

Similar Questions

  • Calls to procedures of database with IN/OUT params in the OFA Page

    Hello

    I have the following requirement, can anyone suggest as the best approach please.

    I have a contract with header page and the rows that will be stored in the custom tables.

    User needs features to copy, which will provide a copy of the current record with the new record (similar to copy the functionality of the simultaneous program).


    As soon as the user presses the copy function, it must call my backend pricedure copy_contract (p_old_contract_no in NUM
    p_new_contract_no OUT number
    p_ret_code OUT number
    p_err_msg OUT VARCHAR
    )

    Once it returns RETCODE contains 0, and p_err_msg is null, then I need open another page that displays p_new_contract_no.


    If one has done similar req. Please share the code.

    Thank you
    Mahesh

    Mahesh

    You can use Oracle callable statement to call the procedure of the OFA database. Please find the link to describe which

    http://oracleanil.blogspot.com/2009/04/itemqueryvoxml.html

    Thank you
    AJ

  • HTTPS Post does not work in the OFA Page

    Hi all

    I created a Page of the OFA, by clicking on button I do next.

    //--------------------------------------------------------
    private static String contactService(String xmlInputString) throws Exception {}
    String outputStr = null;
    OutputStream outputStream = null;
    try {}

    URL url = new URL ("https://wwwcie.ups.com/ups.app/xml/ShipConfirm");

    HttpURLConnection connection = () (HttpURLConnection) url.openConnection;
    System.out.println ("Customer connection established with" + url.toString ());
    Configure the HTTP POST parameters
    connection.setDoOutput (true);
    connection.setDoInput (true);
    connection.setUseCaches (false);

    outputStream = connection.getOutputStream ();
    outputStream.write (xmlInputString.getBytes ());
    outputStream.flush ();
    outputStream.close ();
    System.out.println ("Http status =" + connection.getResponseCode () + "" + connection.getResponseMessage ());

    outputStr = readURLConnection (connection);
    System.out.println ("Response..." + outputStr);
    } catch (Exception e) {}
    System.out.println ("error sending data to the server..." + e.getMessage ());
    throw e;
    } {Finally
    If (outputStream! = null) {}
    outputStream.close ();
    outputStream = null;
    }
    }
    Return outputStr;
    }

    //----------------------------------------------------
    public static String readURLConnection (URLConnection uc) throws Exception {}
    StringBuffer buffer = new StringBuffer();
    BufferedReader reader = null;
    try {}
    reader = new BufferedReader (new InputStreamReader (uc.getInputStream ()));
    Letter int = 0;
    reader.readLine ();
    While ((letter = reader.read ())! = - 1) {}
    Letter from buffer. Append ((Char));
    }
    Reader.Close ();
    } catch (Exception e) {}
    System.out.println ("could not read from URL:" + try ());
    throw e;
    } {Finally
    If (reader! = null) {}
    Reader.Close ();
    Reader = null;
    }
    }
    Return buffer.toString ();
    }

    Now, when I run this JDEVELOPER local it works fine, but when when depolyed on the server, then when I click the button then page gets hanged and it does nothing.
    Is there any setting I should do in APPS environment. or anyone had done the same. any help will be appreciated.

    Thank you
    Vijay chraibi

    Hello

    If your code works fine in JDev and it does not work on the instance, then you can trigger SR with Oracle for Ptoduct JDeveloper.

    Kind regards
    Out Sharma

  • After you apply the hotfix, button Submit seems to be different in the OFA page

    Hi all

    Recently, we have applied a fix to the db in one of our cases of development and we are now able to find the difference, it's originally. The difference is, in the OA Page submit button seems to be a little different.

    Fixing of the screenshot, FYR

    Note: This is instance 11i in which the hotfix is applied (db is 12 c version)

    Kindly share your thoughts

    Thank you

    Valsaint

    Check the solutions mentioned in the links below.

    Button style - OA frame display

    The button resembles html button not like OPS button

    See you soon

    AJ

  • Selection multiple question table advanced on the OFA page

    Hello

    I have a table edge on the OA Page. This advanced table, I had added the action of multi selection table.
    For multiple selection, I have attached an Instance of the view and an attribute of the view.

    There are text entry field in the advanced table. If the user makes changes to it, a 'updateDate' event fires.
    Co:
    {if (Event.Equals ("updateDate"))}
    System.out.println ("A");
    String rowReference =
    pageContext.getParameter (OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);

    [Serializable] param = {rowReference};

    am.invokeMethod ("DetailsCheckBox", param);
    }

    Am:
    public void DetailsCheckBox (String rowReference) {}
    System.out.println ("B");
    line oracle.jbo.Row = findRowByRef (rowReference);


    Ivo DetailsVOImpl =
    FindViewObject ("DetailsVO1") (DetailsVOImpl);

    String chkbox = (String) row.getAttribute ("Multiselect");
    System.out.println ("multiselect original:" + chkbox);
    If ((chkbox == null) |) (chkbox.equals ("N"))) {
    ivo.setCurrentRow (row);
    row.setAttribute ("Multiselect", "Y");
    String chkbox1 = (String) row.getAttribute ("Multiselect");

    System.out.println ("multiple selection:" + chkbox1);
    Ivo.Reset ();
    }

    }

    The problem is that if there are 5 lines are displayed in the advanced table and changes to one of the first 4 rows, the box gets checked on the page but if I make the changes to the last row, the box is not checked on the page, even if the statement String chkbox1 = (String) row.getAttribute ("Multiselect"); Returns 'Y' AM.

    Help, please. Its urgency.

    Hello

    We use the following pseudocode of the AOS.

    VO. Reset()
    While (vo.hasNext ())
    {
    your code
    }

    This will solve your problem.

    Thank you
    Kumar

  • Control the OFA page scrolling

    Hello

    In the OAF page, we have developed, when you click button SAVE to save the data, the screen is up i.e. that it scrolls automatically to the top of the page when save the ends of the event.

    There are also same thing when we click the button 'Add to the GRID' in a table that has multiple choice.

    Let me know if there is a way by which we can manage this problem and focus on the part of the page desired.

    Thanks in advance
    Saurabh

    test fire partial action instead of full submit.

    Prasanna-

  • hierarchical query of VO in the ofa page

    Hello

    I try to use the hierarchical query in VO for the display of all levels of supervisors for employee and want to display in populist:

    This is the query

    REPLACE SELECT distinct (mgx.full_name, "',' ') supervisor_full_name;

    XPP. Employee_number

    OF per_assignments_x pax,.

    per_people_x ppx,

    per_people_x mgx,

    per_positions pp,

    per_jobs pj,

    per_position_definitions ppd

    WHERE ppx.person_id = pax.person_id

    AND ppx.current_employee_flag = 'Y '.

    AND mgx.person_id = pax.supervisor_id

    AND pp.position_id = pax.position_id

    AND pj.job_id = pax.job_id

    AND ppd.position_definition_id = pp.position_definition_id

    START WITH ppx.employee_number =: 1

    CONNECT BY PRIOR MGX.employee_number = ppx.employee_number AND LEVEL < 6

    I'm trying to get this VO implemented PR when I run the page in jdeveloper with parameter binding, it's getting error.

    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: 27122 Houston: SQL error in the preparation of the statement.

    I would like to delete the parameter binding and executing CO VO past these two statements may be:

    START WITH ppx.employee_number =: 1

    CONNECT BY PRIOR MGX.employee_number = ppx.employee_number AND LEVEL < 6

    How can I do?

    Thank you

    MK

    has worked?

  • How to invoke the webcam in the OFA Page

    Hi all

    I'm working on 12.2.3.

    Can anyone suggest or give an idea of how make to invoke the custom OAF page webcam and capture and store images in to table.

    Kind regards

    Guru

    Take a look at the answer given the thread below:

    Web Cam of OAF Page using custom

  • Need to fill the value of the sequence in a field after insertion in the ofa page

    Hi all

    I have a custom OAF insert the page in do I have to fill out a sequence to a field value, once the data inserted with success at the table.

    so for this I followed the approach below.

    1 > created a database sequence.

    2 > java in the EOImpl of the file in the accessor method Set for their respective fields wrote code below.

    {} public void setContainid (numeric value)

    If (value == null) {}

    OADBTransaction t = getOADBTransaction();

    value = t.getSequenceValue ("XXXXX_CONTAIN_SEQ");

    }

    setAttributeInternal (CONTAINID, value);

    }

    But still, I'm not able to complete the sequence value for the field in my oaf page, please help me with that.

    Thank you

    Hello

    Write this logic to create the EOImpl method:

    public void create (AttributeList attributeList)

    {

    Super.Create (AttributeList);

    Transaction OADBTransaction = getOADBTransaction();

    ContID number = transaction.getSequenceValue ("XXXXX_CONTAIN_SEQ");

    setContainId (contID);

    }

    Sushant-

  • MessageStyledText label comes somewhat horizontal right in internet explore the OFA page

    Hi gurus,

    I developed a customized and attached to a standard page RN.

    IM my RN custom label is to big for a pull-down menu, so I have jailbroken as

    messagechoicebean-first part

    messagestyledtext - part 2

    messagestyledtext - 3rdpart-> when I run this page from Internet Explorer, and then the third part comes a little right aligned... How can I do aigned, left

    Please suggest

    Thank you

    Mahesh

    Hello

    This problem is solved, but lined up strange, I just added a text more before my line and it's good.

  • NullPointer Exception in the OFA page

    Hello

    Here's the code I used.

    v_OnTheFlyViewObject.executeQuery ();
    line oracle.jbo.Row = v_OnTheFlyViewObject.first ();

    If (line! = null)
    {
    v_PONum = row.getAttribute (0) m:System.NET.SocketAddress.ToString ();
    System.out.println ("CO - v_PONum-" + v_PONum);
    v_POType = row.getAttribute (1) m:System.NET.SocketAddress.ToString ();
    }


    The code has been compiled and the v_PONum was displayed. But for education v_POType, OAF wrong page with the exception of pointer zero. Is the statement v_POType = row.getAttribute (1) m:System.NET.SocketAddress.ToString (); good. ?

    The request was:

    String v_OnTheFlyVOQuery = "sΘlectionner segment1 as PONum, attribute5 as POType from po_headers_all";

    How to get the value in column 2 of the 1st row?

    Thank you
    HP
    v_OnTheFlyViewObject.executeQuery();
    v_OnTheFlyViewObject.reset(); //NEW
    oracle.jbo.Row row = v_OnTheFlyViewObject.first();
    if(row != null)
    {
    v_PONum = row.getAttribute(0).toString();
    System.out.println("CO - v_PONum - " +v_PONum );
    v_POType = row.getAttribute(1)+"";
    }
    

    The code has been compiled and the v_PONum was displayed. But for education v_POType, OAF wrong page with the exception of pointer zero. Is the statement v_POType = row.getAttribute (1) m:System.NET.SocketAddress.ToString (); good. ?

    It is a region of table, if yes then you can capture by making a loop on the view to this field object attribute.

    //Sample Code
    OAViewObject vo1 = (OAViewObject)am.findViewObject("EmployeeEOVO1");
    vo1.reset();
    if (vo1 != null)
    {
    do
    {
    if(!vo1.hasNext())
    break;
    vo1.next();
    EmployeeEOVORowImpl lcerl = (EmployeeEOVORowImpl)vo1.getCurrentRow();
    
    //Get value of VO attribute here
    v_PONum = lcerl.getAttribute(0)+"":
    
    //How to get the 2nd column value from the 1st row?
    
    v_POType = row.getAttribute(1)+"";
    
    OR
    v_POType = row.getAttribute("POType")+""; //VO Attribute attached with that column
    }while(true);
    }
    }
    

    See how loops through the View object to get its line
    http://oracleanil.blogspot.com/2009/04/auto-invoice.html
    http://oracleanil.blogspot.com/2010/09/OAF-passing-table-type-object-to-Oracle.html

    If this POType is just one element on the page, not within the region of the Table then use can capture its value by:

    String VPOtype = pageContext.getParameter("POType")+"";  //POType is the ID of the column created on page.
    

    Thank you
    -Anil
    http://oracleanil.blogspot.com/

  • To retrieve the default organization name in the OFA page

    Hi all

    My requirement is that I have a field named OrganizationName

    Here, I need to get the name of the organization based on the GETORG.ID)

    I read the previous discussions, but they were not clear

    I got to know that we need to write the sql query

    but here, we should pass the org id

    can I know how it's done...


    Sasha in advance

    DEV

    Hi Dev,

    Try this,

    Get the Id of the pageContext Org and pass the query using the prepared statement to get the name of the organization.

    to get the id of the org pageContext.getOrgId ();

    for example: String orgIdValue = pageContext.getOrgId ();
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Code snippet to get the name of Org

    import java.sql. *;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;

    Connection Conn = pageContext.getApplicationModule (webBean) .getOADBTransaction () .getJdbcConnection ();
    Try
    {
    Query to check the combination for the records.
    Dim Query = "SELECT NAME, hr_all_organization_units, WHERE ORGANIZATION_ID =: 1";
    PreparedStatement stmt = conn.prepareStatement (Query);
    stmt.setString (1, orgIdValue); Set the value obtained by context object

    for (ResultSet resultset = stmt.executeQuery (); resultset.next ();)
    {

    result = resultset.getInt ("NAME");

    }
    }
    catch (System.Exception Exception)

    {
    Incase of any error during execution of the statement to throw an exception.
    throw new OAException ("Error in the application of staffing" + exception, OAException.ERROR);
    }

    Had

  • Call an HTML page directly from the page of the OFA.

    Hello
    I have a customer requirement to call an HTML page directly from my page of the OFA. The HTML page is the home page of their business and in my OAF page whenever the Cancel button will be squeezed user will be redirected to the HTML home page.
    Is someone can you please tell me how I can get this feature.

    Thank you
    Lucile

    R11 I have pageContext.sendRedirect (url) of the user; to achieve this.

    Kind regards
    Out Sharma

  • How can I cancel a subscription and get a refund? An application does not work, the "assistance of the developer page" link provided by itunes is broken.

    How can I cancel a subscription and get a refund?

    An application does not work, the "assistance of the developer page" link provided by itunes is broken, and email provided by the application developer's sole means of support, but no response in 3 weeks to multiple addresses.

    The page you posted has since how to stop an auto-renewal subscription to renew again (see, change, or cancel your subscription - Apple Support).

    To contact iTunes support try http://reportaproblem.apple.co or https://www.apple.com/emea/support/itunes/contact.html

  • my hp deskjet3050all-one j610 when asked to print a page as it is cancelled by the user

    my hp deskjet3050all-one j610 when asked to print a page as it is cancelled by the user

    Hello

    I suggest you try to run this under fixit and check if it helps:

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-printer-problems

    It will be useful.

Maybe you are looking for

  • iCloud library photos are not download

    When I open the Photos app, it says that "13 items have not been uploaded on iCloud." I must however, 1.3 GB of storage iCloud and 9.3 GB of storage of the iPad.

  • bootcamp/windows issues

    Hi all I gave a chance of 5 apple support reps to answer this question and still cannot be resolved so I hope you guys can help. I'm on the last machine of iMac (21.5 inch, 4K retina display) with operating system up-to-date. I tried to install windo

  • Is received message 'repair window erroes' reliable?

    I received this message with an address of firefox that says 'erroes window repair' and 2 updates available. Big flashing messages. But I update every day so is it reliable or a scam? I think it is a scam, because it comes with the contest to enter.P

  • Problem with Toshiba USB DVB - T TV tuner

    Hello My Toshiba USB DVB - T TV tuner worked perfectly for the last year when I was in Italy. Now, I'm in France and when I run the Auto search, I find not all channels. I uninstalled Savvy TV and downloaded the new version of the site Web of Toshiba

  • I don't get "Windows could not search for new updates"

    Hello useful friends. It is a brand new Windows 7 Ultimate SP1 installation (bare metal).   Nine news coming from XP, the drives were erased, product is turned on, and I get this error... I found many things on this forum, but nothing that makes me g