AddRow problem in a OAF page

Dear all,
Hope you are well.
i am facing a problem whiling adding a row in Table by clicking a AddRow button.
the problem is when i click AddRow button then previous rows are also showing as well as adding a new row.
but i am not executing that VO so why should show the previous rows.
i am required only when i click a button then a new row will be generated.
please suggest.
Regards
Mofizur

Hi Mofizur
You can create a submit button for Add rows and write below code for creating a new row
//in AM
  public void addRow()
    OAViewObject vo = getYourVO1();
    if (!vo.isPreparedForExecution())    
    vo.setWhereClause("1=0");
      vo.executeQuery();
  Row row = vo.createRow();
   vo.insertRow(row);
   row.setNewRowState(Row.STATUS_INITIALIZED);
}Call above method from controller on ADD Rows button event.
Thanks
AK

Similar Messages

  • Problem with RTF Report Generation From OAF Page

    Hi,
    I have a requirement where from OAF page, on a button click, a RTF report should be generated. Template has been already defined for the same. If I want to generate report in .xls or pdf, it is working fine but in case of RTF it is showing that "Word cannot start the converter mswrd632" and then onclick of ok, it is displaying some junk data in word doc.
    Below is the code written in PFR-
    else if((outputType != null) && (outputType.equalsIgnoreCase("RTF")))
           outputType = "application/vnd.msword";//"application/vnd.ms-word.document";//"application/vnd.ms-word";
           ext = ".doc";
    if ((outputType != null) && (outputType.equalsIgnoreCase("RTF")))
          TemplateHelper.processTemplate(txn.getAppsContext(), "XXCUST", templateName, txn.getUserLocale().getLanguage(), txn.getUserLocale().getCountry(), in, TemplateHelper.OUTPUT_TYPE_RTF, null, pdfout);
    else
          TemplateHelper.processTemplate(txn.getAppsContext(), "XXCUST", templateName, txn.getUserLocale().getLanguage(), txn.getUserLocale().getCountry(), in, (byte)btype, null, pdfout);
    Please help urgently by sharing your ideas about solving this problem.
    Thanks,
    Annie

    hi Annie,
    Please check the links may be it will help you:
    https://forums.oracle.com/thread/2185528
    https://forums.oracle.com/thread/2545516
    https://forums.oracle.com/thread/2543842
    https://forums.oracle.com/thread/2342141
    if you get the right solution please mention here, it will help others.
    Regards
    Mahesh

  • Problem in XML Publisher Report submission from OAF Pages

    Hi,
    I am trying to submit Concurrent Program from OAF Page which is an XML Publisher Report.
    The request is Submitting and Completing successfully but when we open to view the out put we are able to view the HTML tags.
    We checked the same Concurrent program by submitting from the SRS window After completing if we click on view output the rtf file is getting opened correctly.
    I tested with normal rdf report it is working fine with standard Concurrent program used in OAF
    So my doubt is
    Does the Standard Concurrent program used in OAF supports the rtf reports.
    Please suggest if any modifications to be done in the Concurrent program
    Krishna

    Krishna
    Modified your code a little bit.Use this
        public int submitCPRequest(String shipmentId) {
        System.out.println("into submitCPRequest");
            OAPageContext pageContext;
            OAWebBean webBean;
        try {
    OAApplicationModule am =pageContext.getApplicationModule(webBean);
        OADBTransaction tx = (OADBTransaction)am.getOADBTransaction();
        java.sql.Connection pConncection = tx.getJdbcConnection();
        ConcurrentRequest cr = new ConcurrentRequest(pConncection);
        String applnName = new String("XXAPL"); //Application that contains the concurrent program
        System.out.println("ApplName"+ applnName);
        String cpName = new String("XXAPLPOSMPRD"); //Concurrent program name
        System.out.println("Concc Name"+ cpName);
        String cpDesc = new String(" APL PO Shipping Material Pickup Request"); // concurrent Program description
        // Pass the Arguments using vector
        // Here i have added my parameter headerId to the vector and passed the
        //vector to the concurrent program
        Vector cpArgs = new Vector();
        cpArgs.addElement(shipmentId);
        System.out.println("Args"+ cpArgs);
        // Calling the Concurrent Program
        int requestId = cr.submitRequest(applnName, cpName,cpDesc, null, false, cpArgs);
        cr.addLayout("XXAPL", "XXAPLPOSMPRT", "ENG", "US" , "RTF");
        System.out.println("Req Id"+ requestId);
        tx.commit();
        return requestId;
            catch (RequestSubmissionException e) {
            System.out.println("Into Exception");
            OAException oe = new OAException(e.getMessage());
            oe.setApplicationModule(this);
            throw oe;
            catch(Exception exception)
            throw OAException.wrapperException(exception);
        }Thanks
    AJ

  • OAF pages in different browsers--problem

    Does the page behave differently on different browsers? For instance,we have a page that loads fine in mozilla, but in IE lay out goes awry. Do we have any special setting to do?
    Kindly reply asap

    Check the reply in thread Clock in OAF page
    Please elaborate, what exactly is the issue? What do you mean by "but in IE lay out goes awry"?
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Stale data error while opening a multiple OAF page .

    Dear Friends ,
    I have a OAF page developed and deployed in server , its basically a search page , it also has several links to
    go to create page and update page . when the user opens the multiple page using different tabs in the browser
    like for example
    ex :
    from search page click on create page open it as new tab . if such multiple table are being opened
    and do some operation like search a record , it gives and error (stale data : Developer's mode exception ) .
    How to over come this exception , could you please share you ideas
    Thanks in Advance,
    Keerthi.k

    Hi friend ,
    In Search page i didn't do any update. and also search page is not a problem it's working fine. create page only the problem. In this page only throwing Stale data error exception.
    Please give me more suggestion.
    Thanks in advance,

  • Creating PDF in OAF page using DocumentHelper class

    I an trying to display a PDF from within an OAF page.
    I am generating the XML using a database function and getting the XML in the controller class as a clob object which I then converted into an ascii stream. I tested the stream, and I am getting the XML output as expected. Sample below>
    <ORG_NAME>
    <EMPLOYEE_ID>
    <FIRST_NAME>Ogre</FIRST_NAME>
    <LAST_NAME>Swamp</LAST_NAME>
    <EMAIL_ID>[email protected]</EMAIL_ID>
    <SALARY>10</SALARY>
    <MANAGER_ID>0</MANAGER_ID>
    <MANAGER_NAME>I work for no one</MANAGER_NAME>
    <EMP_ADDRESS>My Swamp</EMP_ADDRESS>
    <EMP_CITY_STATE>Kingdom from far away</EMP_CITY_STATE>
    </EMPLOYEE_ID>
    </ORG_NAME>
    I am using the following code in the controller class to generate the PDF as suggested in the XML Pub Guide Chapter 12.
    String redirectURL = DocumentHelper.getOutputURL(pageContext,"PER", "NEW_EMP", bi, "PDF", null, "en", "00");
    OAHTMLWebBean outRegion = (OAHTMLWebBean)createWebBean(pageContext, HTML_WEB_BEAN, null, "IFRAME");
    outRegion.setHTMLAttributeValue("src",redirectURL);
    outRegion.setHTMLAttributeValue("width", "100%");
    outRegion.setHTMLAttributeValue("height", "500");
    outRegion.setHTMLAttributeValue("title ","NEW_EMP");
    outRegion.setHTMLAttributeValue("name ","NEW_EMP");
    pageContext.getPageLayoutBean().addIndexedChild(outRegion);
    But, I am getting the following error on the PAF page.
    404 Not Found
    OracleJSP: java.io.FileNotFoundException: C:\JDeveloper\jdevhome\jdev\myhtml\OA_HTML\xdo_doc_display.jsp (The system cannot find the file specified)
    When I checked the redirectURL that is generated by the DocumentHelper class, this is what I found.
    redirectURL: /OA_HTML/xdo_doc_display.jsp?dbcName=localhost_vis&fileName=NEW_EMP-1348275838_out.pdf&mFileLength=1873&p_output=C:\JDeveloper\jdevhome\jdev\myhtml\OA_HTML\fwk/t/NEW_EMP-1348275838_out.pdf&outputType=PDF
    I noticed that the first part of the url string is in windows path format, while the second part in unix format. I had copied the DocumentHelper.class from a unix file system (where the oracle ebs is installed in my org) and placed it in my windows based machine. Caould this be the cause of the problem.
    Note: I am pointing my JDeveloper to the Oracle EBS installed locally on my windows machine (but did not find the DocumentHelper.class in the local $JAVA_TOP, so I copied it from my org's Unix based Oracle EBS installation).
    If you think this has to do with me copying the DocumentHelper.class from a unix env and using it in a windows env, can someone point me to where I can find the DocumentHelper.class file for use in Windows env. since I donot find it under my windows based oracle ens installation (Oracle EBS 11.5.10)
    Thank you for your time. Appreciate your help.
    Edited by: user8005428 on Feb 16, 2010 1:26 PM

    I an trying to display a PDF from within an OAF page.
    I am generating the XML using a database function and getting the XML in the controller class as a clob object which I then converted into an ascii stream. I tested the stream, and I am getting the XML output as expected. Sample below>
    <ORG_NAME>
    <EMPLOYEE_ID>
    <FIRST_NAME>Ogre</FIRST_NAME>
    <LAST_NAME>Swamp</LAST_NAME>
    <EMAIL_ID>[email protected]</EMAIL_ID>
    <SALARY>10</SALARY>
    <MANAGER_ID>0</MANAGER_ID>
    <MANAGER_NAME>I work for no one</MANAGER_NAME>
    <EMP_ADDRESS>My Swamp</EMP_ADDRESS>
    <EMP_CITY_STATE>Kingdom from far away</EMP_CITY_STATE>
    </EMPLOYEE_ID>
    </ORG_NAME>
    I am using the following code in the controller class to generate the PDF as suggested in the XML Pub Guide Chapter 12.
    String redirectURL = DocumentHelper.getOutputURL(pageContext,"PER", "NEW_EMP", bi, "PDF", null, "en", "00");
    OAHTMLWebBean outRegion = (OAHTMLWebBean)createWebBean(pageContext, HTML_WEB_BEAN, null, "IFRAME");
    outRegion.setHTMLAttributeValue("src",redirectURL);
    outRegion.setHTMLAttributeValue("width", "100%");
    outRegion.setHTMLAttributeValue("height", "500");
    outRegion.setHTMLAttributeValue("title ","NEW_EMP");
    outRegion.setHTMLAttributeValue("name ","NEW_EMP");
    pageContext.getPageLayoutBean().addIndexedChild(outRegion);
    But, I am getting the following error on the PAF page.
    404 Not Found
    OracleJSP: java.io.FileNotFoundException: C:\JDeveloper\jdevhome\jdev\myhtml\OA_HTML\xdo_doc_display.jsp (The system cannot find the file specified)
    When I checked the redirectURL that is generated by the DocumentHelper class, this is what I found.
    redirectURL: /OA_HTML/xdo_doc_display.jsp?dbcName=localhost_vis&fileName=NEW_EMP-1348275838_out.pdf&mFileLength=1873&p_output=C:\JDeveloper\jdevhome\jdev\myhtml\OA_HTML\fwk/t/NEW_EMP-1348275838_out.pdf&outputType=PDF
    I noticed that the first part of the url string is in windows path format, while the second part in unix format. I had copied the DocumentHelper.class from a unix file system (where the oracle ebs is installed in my org) and placed it in my windows based machine. Caould this be the cause of the problem.
    Note: I am pointing my JDeveloper to the Oracle EBS installed locally on my windows machine (but did not find the DocumentHelper.class in the local $JAVA_TOP, so I copied it from my org's Unix based Oracle EBS installation).
    If you think this has to do with me copying the DocumentHelper.class from a unix env and using it in a windows env, can someone point me to where I can find the DocumentHelper.class file for use in Windows env. since I donot find it under my windows based oracle ens installation (Oracle EBS 11.5.10)
    Thank you for your time. Appreciate your help.
    Edited by: user8005428 on Feb 16, 2010 1:26 PM

  • Integrating XML Publisher into an OAF page

    Hello,
    I'm pretty to new to both OAF and XML Publisher...hoping someone can help me out. I created an OAF page that uses oracle.apps.xdo.oa.common.DocumentHelper to display a PDF. I created my Data Definition and Template, and tested that using concurrent manger.
    When I display my OAF page and click a button to view the PDF, the page does not show the PDF. However, when I click on the export button it opens a new window and I can view the PDF no problem.
    So I know the XML Publisher document is working, but why doesn't it display in the page?
    We are on 11.10.2 applications and 5.6.3 XML Publisher.
    Thanks,
    Johnnie
    CO:
    private static final String APP_NAME = "PTC";
    private static final String TEMPLATE_CODE = "PTC_HR_TOTAL_COMP";
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    System.out.println( "============processRequest 10" );
    pageContext.putParameter("p_DataSource",DocumentHelper.DATA_SOURCE_TYPE_BLOB);
    pageContext.putParameter("p_DataSourceCode",TEMPLATE_CODE);
    pageContext.putParameter("p_DataSourceAppsShortName",APP_NAME);
    pageContext.putParameter("p_TemplateCode",TEMPLATE_CODE);
    pageContext.putParameter("p_TemplateAppsShortName",APP_NAME);
    pageContext.putParameter("p_Locale","English:United States");
    //pageContext.putParameter("p_XDORegionHeight","95%");
    pageContext.putParameter("p_OutputType","PDF");
    System.out.println( "============processRequest 20" );
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    Serializable[] parameters = { new Integer(pageContext.getEmployeeId()).toString() };
    System.out.println( "============processRequest 30" );
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    System.out.println( "============processFormRequest 10" );
    if (pageContext.getParameter("ViewStatement") != null)
    Serializable[] parameters = { new Integer(pageContext.getEmployeeId()).toString() };
    BlobDomain result = (BlobDomain) am.invokeMethod("getXMLData", parameters );
    System.out.println( "============processFormRequest 20" );
    pageContext.putSessionValueDirect("XML_DATA_BLOB", result );
    System.out.println( "============processFormRequest 30" );
    AM:
    public BlobDomain getXMLData( String personId )
    BlobDomain blobDomain = new BlobDomain();
    OADBTransaction oadbtransaction = getOADBTransaction();
    System.out.println( "============getXMLData 10" );
    try
    String dataDefCode = "PTC_HR_TOTAL_COMP";
    String dataDefApp = "PTC";
    // Create the new data template
    DataTemplate datatemplate = new DataTemplate(((OADBTransactionImpl)getOADBTransaction()).getAppsContext(), dataDefApp,dataDefCode );
    // Set the parameters
    Hashtable parameters = new Hashtable();
    parameters.put("p_person_id", personId );
    datatemplate.setParameters(parameters);
    // Process the template
    datatemplate.setOutput(blobDomain.getBinaryOutputStream());
    datatemplate.processData();
    catch(SQLException e)
    throw new OAException("SQL Error=" + e.getMessage(),OAException.ERROR);
    catch (XDOException e)
    throw new OAException("XDOException" + e.getMessage(),OAException.ERROR);
    catch(Exception e)
    throw new OAException("Exception" + e.getMessage(),OAException.ERROR);
    return blobDomain;
    }

    Hi Steve,
    I tried the approach you mentioned using IFRAME and found that,i am able to get the region in the end of the page, but its displaying the error message "Page not Found".
    Can you please let me know, what could be the reason.
    Here is my code
    In Controller( Process Request):
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    BlobDomain result = (BlobDomain)am.invokeMethod("getXMLData");
    pageContext.putSessionValueDirect("XML_DATA_BLOB", result);
    // Outputs letter in PDF format inline.
    String redirectURL = DocumentHelper.getOutputURL(pageContext,"XXJSDATA","XXJS_SAC_CPD",result.getInputStream(),"RTF",null,"en","US");
    OAHTMLWebBean outRegion = (OAHTMLWebBean)createWebBean(pageContext, HTML_WEB_BEAN, null, "IFRAME");
    outRegion.setHTMLAttributeValue("src",redirectURL);
    outRegion.setHTMLAttributeValue("width", "50%");
    outRegion.setHTMLAttributeValue("height", "50%");
    outRegion.setHTMLAttributeValue("title ","XXJS_SAC_CPD");
    outRegion.setHTMLAttributeValue("name ","XXJS_SAC_CPD");
    pageContext.getPageLayoutBean().addIndexedChild(outRegion);
    In AM:
    /**Get XML Data*/
    public BlobDomain getXMLData()
    BlobDomain blobDomain = new BlobDomain();
    OADBTransaction oadbtransaction = getOADBTransaction();
    try
    System.out.println("Now Calling Template to get XML Data>>>");
    String dataDefCode = "XXJS_SAC_CPD" ;
    String dataDefApp = "XXJSDATA";
    DataTemplate datatemplate = new DataTemplate(((OADBTransactionImpl)getOADBTransaction()).getAppsContext(), dataDefApp,dataDefCode );
    datatemplate.setOutput(blobDomain.getBinaryOutputStream());
    datatemplate.processData();
    System.out.println("Got XML Data>>>");
    catch(SQLException e)
    throw new OAException("SQL Error=" + e.getMessage(),OAException.ERROR);
    catch (XDOException e)
    throw new OAException("XDOException" + e.getMessage(),OAException.ERROR);
    catch(Exception e)
    throw new OAException("Exception" + e.getMessage(),OAException.ERROR);
    return blobDomain;
    Kindly help.
    Thanks,
    S

  • Not able to create rows in a table with dependent columns in an OAF page.

    We have a table in an OAF page which has the property "Records Displayed" set as "10". Hence pagination kicks in for more than 10 rows in the table. "Add rows" is enabled in this table. The table also has 'detail' component.
    In this table, we have created 2 new columns (dropdowns) using personalization. Dropdown 2 is dependent on the value selected in Dropdown1. Both are required fields.
    We are able to add new rows to the table. All the columns render properly. Dropdown 2 also renders properly depending on the values selected in Dropdown1. There is no issue until we add the 10th row (remember the number of displayed records in the tabble is 10). When we add the 10th row, the fields appear properly. Dropdown1 values are displayed as expected. But when we select a value in Dropdown1, Dropdown2 does not refresh and get populated with the expected values (depending on Dropdown1 values). Dropdown2 remains blank. But this happens only when the 10th row is added. Since Dropdown2 is a required field and since Dropdown2 is not refreshed with values depending on Dropdown1, the records cannot be saved.
    There seems to be a problem with refresh when the nth row is added to the table where 'n' is the Records displayed in the table (pagination).
    If we change the Records Displayed to say 15 then we have the above problem when adding the 15th row. 14 rows can added to the table without an issue.
    Can a workaround (other than increasing the number of displayed records) be provided for this issue?

    Hi,
    I suspect you have written a method having String return type but the method does not have return statement.
    Go to the Catalogue component->BPM Object->Right click on the BPM object and select New Method->Give the method name. Now the method window will be opened. Go to the propertied tab of the right most panel. Set the return type as string. In the method window editor write your business logic. The below mentioned code is for sample one.
    String msg = "Hello World";
    return msg;
    Bibhu

  • Error while running oaf page

    Hi All,
    Am learning OAF on myself while running oaf page with version 9.0.3 the page is resulting error.
    Message is : The page cannot be displayed
    The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.
    To attempt fixing network connectivity problems, click Tools, and then click "Diagnose Connection Problems..."
    Other options to try:
    Click the Refresh button, or try again later.
    If you typed the page address in the Address bar, make sure that it is spelled correctly.
    To check your connection settings, click the Tools menu, and then click Internet Options. On the Connections tab, click Settings. The settings should match those provided by your local area network (LAN) administrator or Internet service provider (ISP).
    See if your Internet connection settings are being detected. You can set Microsoft Windows to examine your network and automatically discover network connection settings (if your network administrator has enabled this setting).
    Click the Tools menu, and then click Internet Options.
    On the Connections tab, click LAN Settings.
    Select Automatically detect settings, and then click OK.
    Some sites require 128-bit connection security. Click the Help menu and then click About Internet Explorer to determine what strength security you have installed.
    If you are trying to reach a secure site, make sure your Security settings can support it. Click the Tools menu, and then click Internet Options. On the Advanced tab, scroll to the Security section and check settings for SSL 2.0, SSL 3.0, TLS 1.0, PCT 1.0.
    Click the Back button to try another link.
    Could any one plz help me on this.
    Thnaks,
    Ayrus

    1. Have you set runtime connection properties (under Project Properties) with DBC file name, user credentials etc?
    2. Have to chosen Default Local IP address option under Embedded OC4J > Startup properties?
    Please make sure that initial pre-reqs are completed before running the page.
    Thanks
    Shree

  • Running OAF page from JDeveloper

    Hi,
    For customizing an existing page , I have to load the current OAF page in JDeveloper. I have already transfered all the contents from JAVA_TOP and other files in necessary folders. When I run the page from JDeveloper, I am getting error page like "Page Cannot be displayed". What should i do , in order to run the page successfully from Jdev. I have to customize the page. Help me out, its urgent.
    Thanks
    Narain

    Sounds to me like OC4J settings and browser proxy settings.
    1. If you are using R12 JDeveloper, Tools -> Embedded OC4J server preferences
    2. on the left side click through Global -> Startup
    3. on the right side, select the radio button "Local host's full name"
    if you still have the problem, set your browser proxy settings to bypass localhost
    regards
    srini

  • Calling a procedure from an OAF page through a button in the screen

    problem: calling a procedure from an OAF page through a button in the screen

    CREATE OR REPLACE procedure APPS.xx_delete_dept_prc(p_id in number)
    as
    begin
    delete from xx_training_dept_tbl where td_dept_id=p_id;
    commit;
    end;
    2.     create image button for delete
    3.     set the following property to this button:
    action type : fire action
    event :DeleteDept
    parameter :
    name: DEptIdParam value: ${oa.XxTrainingDeptVO1.TdDeptId}
    4.     create Co and writing the following code on process form request
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    String actionInscreen=pageContext.getParameter(EVENT_PARAM);
    if ("deleteDept".equals(actionInscreen))
    String deptidparam=pageContext.getParameter("DeptIdParam");
    Serializable [] s={deptidparam};
    Class [] c={deptidparam.getClass()};
    OAApplicationModule am=pageContext.getApplicationModule(webBean);
    am.invokeMethod("deleteDept",s,c);
    throw new OAException("delete completed",OAException.INFORMATION);
    5.     create AM and writing the following code
    public void deleteDept(String deptid) {
    XxTrainingDeptVOImpl deptview= getXxTrainingDeptVO1();
    deptview.deleteDept(deptid); }
    6.create VO and writing the following code in view object class
    public void deleteDept(String deptid
    System.out.println("Dept ID =" +deptid);
    String s = "call xx_delete_dept_prc(:1)"; // :1 is the number of parameter to pass it to procedure
    CallableStatement cs =trx.createCallableStatement(s,1); // 1 number of record to fetch but delete always delete 1 row
    try
    cs.setString(1,deptid); // the name of the first parameter
    cs.execute();
    cs.close();
    catch (SQLException e)
    e.printStackTrace();
    }

  • Focus on an Item (based on button click)  in OAF page

    Hi,
    I am new to OAF. I face an issue in a OAF page. The page has got 'message input text fields', 'Apply' and 'cancel' button. Once the page is rendered , there is no initial focus on any item. If i click on the page or use tab to navigate to a text field , the focus moves to the 'Apply' button (by default). The real problem is, even before entering the details , if i accidentally press the *'ENTER'* key , the apply action is triggered(where the focus relies).
    1. I just need to find out why the focus moves to the particular button item , when i click on text box or anywhere in the region.
    2. Is there any mouse event mapped to the page or that item ?
    3. I don't want that focus to be on any button (when i click in the page region or place the cursor in text box to enter values).
    How to achieve this?
    Is this can be done using personalization or its has to be looked up in the CO of that page.
    Please help me on this.
    Thanks and Regards,
    Raghav

    Hi Gaurav,
    Thank you so much for your quick response.That page has got a custom CO which got extended from another main CO . I need to add this code in the processRequest() of the main CO for that particular PG or in this custom CO. Correct me if i am wrong.
    Thanks and Regards,
    Raghav

  • Add a custom button on notification page and open a oaf page after button

    Hi All,
    My Requirement is add a custom button on notification page and after button click with take some parameter from notification page like supplier_id and org_id then open a new oaf page and show supplier credit and debit balance but problem is that button is only enable to a ap invoices notification not for other type of notification.
    how to take approach/action i don't know.
    it is possible through OAF personalization/customization or it is part of work flow customization.
    Navigation path - payable->worklist->open notification and Type of notification also there
    Type should be matched with AP_Invoices type notification then custom button enable.
    Please Let me know is it possible or not. If possible how to achieve this. ...................................it's argent...plz help me
    Edited by: 815572 on Nov 25, 2010 1:15 AM

    Hi Irk,
    My notification came in given below format (in table) but my custom button only enable for Contract Approval Type not for others..........i hv attach a button on notification page (subject-Contract 21969-R17......)
    From Type Subject Sent
    Taylor, Phillip Contract Approval Contract 21969 - R17-AUG-07 06:19:27 has been approved by Taylor, Phillip 22-Aug-2007
    Taylor, Phillip OKS Contract Process Contract 21975 - R17-AUG-07 06:22:18 for AT&T Universal Card (52,500.00 USD) has been published online 19-Aug-2007
    Taylor, Phillip OKS Contract Process Contract 21969 - R17-AUG-07 06:19:27 for AT&T Universal Card (15,000.00 USD) has been published online 19-Aug-2007
    If I just put a button SHOW BALANCE just like notification button APPROVE, REJECT, REASSIGN but this button shows all types of notification and my req. is this button show only for Contract Approval type notification. how to handled this issuesss ?
    if extend the co of notification page then how to handle TYPE value from worklist page ....please write proper code if u hv any idea...........
    Thanks,

  • Can not access OAF pages on R12.2

    Hi All,
    We installed R12.2 with the beta patch for doing some investigation before it is formal released. After we patched add-on products successfully, we found we can not use all OAF pages of those products on R12.2 by following error message:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    oracle.apps.fnd.framework.OAException: Could not load application module 'oracle.apps.XXX.XXXAM'.
    ## Detail 0 ##
    JBO-30003: The application pool (XXX.cn.oracle.comVIS641521oracle.apps.XXX.XXXAM) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.NoDefException, msg=JBO-25002: Definition oracle.apps.XXX.XXXAM of type ApplicationModule not found
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In the $COMMON_TOP/java/classes, both the XXXAM.xml and XXXAMImpl.class are there. Also the $COMMON_TOP/java/classes has already been included in $CLASSPATH.
    BTW. The standard OAF pages are working fine one R12.2, the error just happen on our add-on OAF pages(those pages are working fine on R12.1.3)
    I knew the change from R12.1.3 to R12.2 includes using Weblogic, is it the problem?
    Thanks,
    Xiaofeng

    Hi Krish,
    Thanks for your help.
    I have done following steps according to your suggestion.
    1. CHMOD 777 to all add-on java class files and xml files
    2. Clear cache in functional administrator responsibility
    3. Bounce the APP tier by adstpall.sh & adstrtal.sh
    But it doesn't work.
    I noticed that the weblogic will deploy some war&jar files when restarting the oacore_server & oafm_server & forms_server, I don't remember if it is the same on R12.1.3.
    Is it may be the reason?
    Thanks&Regards,
    Xiaofeng
    Edited by: user12433549 on May 8, 2012 8:42 PM

  • In the Firefox browser, when i click button in ADF page, then popup  the OAF page in iframe tag,and then when i  click the PPR bean in  OAF page, then Firefox  browser reload to ADF page. This is not the right response,browser should not reload the ADF pa

    In the Firefox browser, when i click button in ADF page, then popup  the OAF page in iframe tag,and then when i  click the PPR bean in  OAF page, then Firefox  browser reload to ADF page. This is not the right response,browser should not reload the ADF page.It should stays in OAF page or goto another OAF page. and in other browser such ad IE,We get the right response.

    hello, normally such issues are caused by a firewall/security software which doesn't recognize & therefore blocks new firefox versions. please remove all program rules for firefox from your firewall and let it detect the new version of the browser again.
    [[Fix problems connecting to websites after updating Firefox]]

Maybe you are looking for

  • Issues with using /31 mask on 3750 switch

    I work for a large manufacturing plant that employes Cisco 3750 and 6500 series switches. We are having a problem in using 255.255.255.254 mask on point-to-point VLAN uplinks. Every time, the switch restarts, after the initial boot process, it locks

  • How do I rename the 2 optical drives in a mac pro

    On the Mac Pro (OSX 10.6.8), using Toast to copy a CD, I often find that the "read" phase assumes I am going to "write" to a disc in the same Superdrive, even though there are two of them. The superdrives both have identical names, so selecting the d

  • Business logic in Database layer or in Middle layer.

    I am converting my form 6i client server application to .net 3 tier web architecture application using oracle 10g database. My application is a very data centric, millions of records calculations happen in many processes. I have a problem while prese

  • Ccan't play my iDVD project on a TV

    So I've burned both an iDVD project and also as an alternative created a VICEO_TS version that I burned to a DVD-RW - however in both cases the DVD's play when inserted into a PC or a MAC, but I keep getting an Insert Disc error when I load these int

  • Adobe flash plugin will not download - keep getting an error, try again

    I've tried everything but it will not load and keeps giving me an error and to try again but it will not download and I cannot open any links in mail or on sites. Also tells me my Adobe flash is out of date to download the new version. This all just