Extending the Lov Controller

Hi,
I have one lov and external region is used for the lov purpose.
One controller is attached at this external region and I want to extend this controller.
Programatically I extended this controller and added my functionality. Now when I am trying to give my controller name through personalization, I am not able to find the region at which the seeded controller was attached. How can I achieve this???
Thanks
Anoop

I fully agree with Senthil.
--Mukul                                                                                                                                                                                                                           

Similar Messages

  • How to extend the seeded controller?

    Our requirement is to insert warning messages in seeded HR Self Service transactions. On click of the next button, we need to evaluate conditions depending on the values filled in by user and throw warning dialog page with
    with ok button on it. When user clicks OK on the warning window, next page should be displayed.
    So the need is to insert warning dialog page between navigation of 2 pages.
    Is this possible to do in a Oracle seeded transaction. I believe I would
    need to extend the controller of the page and insert my code in the controller.
    Has anyone dealt with such a scenario before , how do it achieve it and How a controller can be extended?
    Thanks,
    Tanveer

    This definitely is possible. You will have to extend the seeded controller and override the seeded behavior for this particular scenario. After your logic ends, call the seeded code which will handle the rest.
    For getting started, look at dev guide and other similar discussions.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to change the lov query??

    Hi Friends,
    I am trying to extend a controller of the base page to change the lov query. I am not able to get the lov VO since I am not getting the lov AM in the controller.
    I want to use the setQuery() to set the lov query programatically in base class controller PR.
    My controller code looks like ::
    OAApplicationModule am = oapagecontext.getRootApplicationModule();
    oapagecontext.writeDiagnostics(this,"The Root AM is : " + am.toString(),6); // displaying oracle.apps.icx.por.req.server.RequisitionAMImpl
    OAApplicationModule lovAM = (OAApplicationModule)am.findApplicationModule("RequisitionLovAM"); // Returning Null
    OAViewObjectImpl vo = (OAViewObjectImpl)lovAM.findViewObject("ReqSupplierVO");
    String seededQuery = vo.getQuery();
    oapagecontext.writeDiagnostics(this,"Seeded Query for ReqSupplierVO is "+ seededQuery,6);
    String customQuery = "new_query" // here i m writing my new query.
    vo.setQuery(customQuery); // setting my custom query.
    oapagecontext.writeDiagnostics(this,"Custom Query for the ReqSupplierVO is "+ vo.getQuery(),6);
    The following are the details.
    Base Page : /oracle/apps/icx/icatalog/shopping/webui/NonCatalogRequestPG
    Base Page Controller : logi.oracle.apps.icx.icatalog.shopping.webui.NonCatalogRequestCO
    Lov Region : /oracle/apps/icx/lov/webui/ReqSupplierLovRN
    Lov Controller : oracle.apps.icx.lov.webui.ReqSupplierLovCO
    Lov VO : oracle.apps.icx.lov.server.ReqSupplierVO ( i want to remove outer join in this VO query )
    I cant extend the lov controller since the same lov region is using in other pages also where i dont want apply my new lov query.
    Is the way i am trying is correct? How can i get the Lov AM in the base page? Any help highly appreciated.

    Hi Pratap,
    Thanks for coming back on this.
    The background of this customization is, We are implementing AME and are trying to restrict the number of approvers in the Change First Approver LOV (ApprroverLovVO.xml) based on company code and cost centre during the creation of Requistion. At the moment, the LOV is bringing back every employee who has a valid WF role.
    At the moment (up till I saw this thread) I was trying to customize ReqApprChfCo.java by adding this code to processRequest method
    OAMessageLovInputBean CompanyCode = (OAMessageLovInputBean)oawebbean.findIndexedChildRecursive("ChargeAccountFlex0_column"); //this is returing null
    OAMessageLovInputBean CostCentre = (OAMessageLovInputBean)oawebbean.findIndexedChildRecursive("ChargeAccountFlex1_column"); //this is returing null
    RequisitionLovAMImpl am = (RequisitionLovAMImpl)oapagecontext.getApplicationModule(oawebbean); // this is returning null
    OAViewObject approverLovVO = (OAViewObject)oam.findViewObject("ApproverLovVO");
    Then, once found to append the viewobject with where clause. Was this the right method of achiving it, or to create a new custom VO and region?
    Regards,
    Chetan

  • TransactionContext not foundin class.Extending the controller

    Hi All,
    I am extending the LocationLovCO controller. I want to utilize the SSHRParams of LocationLovCO in my CO i.e. xxxLocationLovCO (basically to get assignment_id,effective_date, bgid).
    I have imported all the packages.
    When I tried to compile my Controller. it throws up the following error.
    TransactionContext not foundin class oracle.apps.per.selfservice.common.SSHRParamTable in class oracle.apps.per.selfservice.common.SSHRParams in class xxx.oracle.apps.per.selfservice.deployperson.webui.xxxLocationLovCO.
    Does anyone have any idea. Any help is appreciated.
    Thanks
    Rama

    Try the OA Framework forum

  • OA Passivation error while trying to extend a standard Controller.

    Hi,
    I am trying to generate an XML report from standard OAF page button. For this, I have extended the standard controller class of the page and added my custom code to launch a custom AM. This AM has the custom VO and should print the output on a XML template.
    I am opening the standard page from jDev and trying to click on the button. I am getting the following error:
    ((This developer mode error is thrown instead of being registered due to the lack of the page context object.) The OA passivation framework coding standard has been violated. Web bean properties cannot be modified in the controller processFormData or processFormRequest method. Web bean properties should be modified in the processRequest method only. An attempt to modify a web bean has been made in the following call stack: java.lang.Throwable at oracle.apps.fnd.framework.OACommonUtils.getCallStack(Unknown Source) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.setAttributeValue(Unknown Source) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.setAttributeValue(Unknown Source) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.setAttributeValue(Unknown Source) at oracle.cabo.ui.beans.layout.PageLayoutBean.setTitle(Unknown Source) at oracle.apps.asn.common.customer.webui.OrgUpdateCO.callDoCommit(OrgUpdateCO.java:1314) at oracle.apps.asn.common.customer.webui.OrgUpdateCO.processFormRequest(OrgUpdateCO.java:1199) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at _OA._jspService(_OA.java:71) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)
    If anyone has any idea about this, it will be a great help.
    Thanks in advance.
    Anoop

    Please find below the processRequest and processFormRequest methods:
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModule oaapplicationmodule = pageContext.getApplicationModule(webBean);
    initUserContext(oaapplicationmodule, pageContext);
    OASubmitButtonBean oasb = (OASubmitButtonBean)pageContext.getWebBeanFactory().createWebBean(pageContext, "BUTTON_SUBMIT");
    oasb.setID("sgxGenAcctPlanButton");
    oasb.setUINodeName("sgxGenAcctPlanButton");
    oasb.setLabel("Account Plan");
    oasb.setEvent("sgxGenAcctPlanButton");
    oasb.setText("AccountPlan");
    //webBean.addIndexedChild(oasb);
    OARowLayoutBean orlb=(OARowLayoutBean)webBean.findIndexedChildRecursive("ASNAcctPlanRow");
    // OATableLayoutBean otlb=(OATableLayoutBean)webBean.findIndexedChildRecursive("ASNAcctPlanTbl");
    orlb.addIndexedChild(oasb);
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    // super.processFormRequest(pageContext, webBean);
    OAApplicationModule oaapplicationmodule = pageContext.getApplicationModule(webBean);
    String strEvent = pageContext.getParameter("event");
    String s = (String)pageContext.getTransactionValue("ASNTxnCustomerId");
    String s1 = (String)pageContext.getTransactionValue("ASNTxnCustAcsMd");
    String s2 = (String)pageContext.getTransactionValue("QotTxnComTblId");
    String s3 = (String)pageContext.getTransactionValue("ASNTxnCurrCode");
    String s4 = pageContext.getParameter("AcctPlanCurrency");
    if("sgxGenAcctPlanButton".equals(pageContext.getParameter("event")))
    StringBuffer stringbuffer5 = new StringBuffer(100);
    stringbuffer5.append(" View worksheet Event Handling ::");
    pageContext.writeDiagnostics("asn.accountplan.webui.AcctPlanCO.processFormRequest", stringbuffer5.toString(), 1);
    String s13 = pageContext.getParameter("AcctPlanTemplates");
    if(s13 == null)
    s13 = pageContext.getProfile("ASN_AP_DEFAULT_XML_TEMPLATE");
    if(s13 == null)
    Serializable aserializable3[] = new Serializable[0];
    s13 = (String)oaapplicationmodule.invokeMethod("getTemplateCode", aserializable3);
    HashMap hashmap1 = new HashMap();
    hashmap1.put("P_ACCOUNT_PLAN_ID", s2);
    hashmap1.put("P_PARTY_ID", s);
    hashmap1.put("P_TEMPLATE_ID", s13);
    hashmap1.put("P_AM", "xxsgx.oracle.apps.asn.opportunity.server.SGXAcctPlanAM");
    StringBuffer stringbuffer12 = new StringBuffer(100);
    stringbuffer12.append(" Before View Worksheet Event :: ");
    stringbuffer12.append(" HashMap values :");
    stringbuffer12.append(hashmap1.toString());
    pageContext.writeDiagnostics("asn.accountplan.webui.AcctPlanCO.processFormRequest", stringbuffer12.toString(), 1);
    ASNXMLReports.publishReport(pageContext, webBean, hashmap1);
    pageContext.writeDiagnostics("asn.accountplan.webui.AcctPlanCO.processFormRequest", "End", 2);
    }

  • Base page button submit causing Lov Controller procesRequest being called

    Hello,
    I have created programmatic LOV's to my base page to which I set to declarative LOV region.
    I run my page, provide value to one of the LOV and trigger LOV page open, select value and the value gets populated to my base page LOV item.
    Now I click submit button which should actually go to my base page CO, however it is going to the LOV Controller.
    and as expected my code in LOV CO which should not be called, at this point is called causing errors.
    This happens as the LOV items are set validation to true by default in OAF. If Is set the lovItemBean.setUnvalidated(false) to my Lov Item in my bas page CO and then run, my base page submit goes to its correct CO.
    Its clear the OAF is trying to validate the values of LOV in base page by calling LOV Controller.
    Is it a bug?
    Please help.
    Edited by: Prashanth Pillai on Aug 13, 2009 4:31 AM

    Hi,
    Whenever a form submit occurs on the page it checks for Client Side Validations.
    These should be enabled as it submits the form only when the validation succeds.
    So you should use
    lovItemBean.setUnvalidated(false);
    in the code
    Thanks,
    Gaurav

  • How to Handle the LOV AM in the page level Controller

    Hi All,
    I have standard page ,In that page there is LOV in which user can select any value.
    But the client requirement is the value in the lov has to be displayed has to be displayed automatically the first record of the LOVwhen page is rendered.
    For that i am trying to handle the Lov AM in the extended controller by using
    OAApplicationModule rootAM = pageContext.getRootApplicationModule();
    OAApplicationModule childAM1=(OAApplicationModule)rootAM.findApplicationModule("CsfPoLovAM");
    Here CsfPoLovAM is the AM of the LOV
    when i am doing this i am getting the value of childAM1 as null.
    Could you please let me know is there any other way of handling the AM of lov on the extended controller
    And there is controller is defined for the LOV .
    Thanks
    Ajay

    If there is no CO than you can put a new custom controller in the LOVRN ,in the PR method of new controller get the VO and call the firs() method of this VO like
    LOVVO.first() ;this will full fill your requirement .
    HI Pratap,
    I had created a new custom controller in the LOVRN and in the Process Request.of the controller i am getting the first record.
    like follows
    OAViewObjectImpl vo=(OAViewObjectImpl)am.findViewObject("CsfInstallLotNumberVO1");
    oapagecontext.writeDiagnostics("IN LOV CO Process Request ","vo:"+vo,4);
    if(vo!=null)
    vo.executeQuery();
    Row row=vo.first();
    oapagecontext.writeDiagnostics("IN LOV CO Process Request ","row:"+row,4);
    if(row!=null){
    String lotnumber=(String)row.getAttribute("LotNumber");
    oapagecontext.writeDiagnostics("IN LOV CO Process Request ","lotnumber:"+lotnumber,4);
    oapagecontext.putSessionValue("LotNumberParam",lotnumber);
    i am able to get this lov value in the lov window when the lov item is clicked
    and i am trying to handle that value in my exteded co its getting that value
    Thanks
    Ajay

  • Issue in standard LOV after extending the VO

    Hello All,
    My requirement is to restrict the LOV "Payment Document" of standard page "PsrPG.xml".
    Path of the page :-
    oracle.apps.ap.payments.psr.webui
    I have extended the VO and implemented my logic to fulfill the requirement. Its working fine if I click the glass icon and try to search in LOV window .
    If I enter the same value in the base page field and tab out then also it is working fine means I am able to select the value.
    Issue :-
    If I use the look Ahead feature of oracle then the matching records are appearing in the Look Ahead LOV window but when I select any of that record it is opening the LOV window "Pop up Window" and says no record found.
    Any help on this is greatly Appreciated.
    Regards
    Karan deep.

    Hello All,
    My requirement is to restrict the LOV "Payment Document" of standard page "PsrPG.xml".
    Path of the page :-
    oracle.apps.ap.payments.psr.webui
    I have extended the VO and implemented my logic to fulfill the requirement. Its working fine if I click the glass icon and try to search in LOV window .
    If I enter the same value in the base page field and tab out then also it is working fine means I am able to select the value.
    Issue :-
    If I use the look Ahead feature of oracle then the matching records are appearing in the Look Ahead LOV window but when I select any of that record it is opening the LOV window "Pop up Window" and says no record found.
    Any help on this is greatly Appreciated.
    Regards
    Karan deep.

  • How to extend the controller

    Hello All,
    I want to extend the HellowWorldMainCO.java to my xxnspHellowWorldMainCO.Java.
    in HelloworldPG i have added one MessagetextInput, Now,how will i handle this (parameter) in xxnspHellowWorldMainCO.Java.
    Thanks,Siva Prasad

    Hi,
    Follow the below steps:
    1) Go to the page HelloWroldPG from front end, click on 'Personalize this page' link.
    2) Check that on which region HellowWorldMainCO is attached.
    3) For example, if it is attached on pageLayout region, click on Personalize pencil icon.
    4) on 'Controller Class' property, set the complete path of your custom controller in place of 'inherit' (at whatever level u want like site or resp)
    5) Click on apply.
    Now you can see your changes.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Error while extending the Controller

    Hi,
    I have extended the CompetenciesCO.class to CompetenciesExtendCO.java using jdeveloper, after that i transfered this file to the same location where the CompetenciesCO.class
    is available.
    My extended class coding is :
    package oracle.apps.per.selfservice.appraisals.webui;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageStyledTextBean;
    public class CompetenciesExtendCO extends CompetenciesCO {
    public CompetenciesExtendCO() {
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    String variable ="HI";
    if(pageContext.getParameter("xxCalcCompetenciesAvg")!=null){
    OAMessageStyledTextBean competenciesAvg = (OAMessageStyledTextBean)webBean.findChildRecursive("xxCompetenciesAvg");
    competenciesAvg.setValue(pageContext,variable);
    After that i changed the controller class for that region using personalization.
    but it is not working.
    What is the problem?
    Thanks in advance,
    SAN

    Gyan,
    Even after i placed the Extended Controller java file under the custom top $JAVA_TOP/xxhr.oracle.apps.per.selfservice.appraisals.webui.XxCompetenciesExtendCO
    it is not working.
    I also personalized the region for this controller but it throws error:
    Could not create Java class: (xxhr.oracle.apps.per.selfservice.appraisals.webui.XxCompetenciesExtendCO) associated with region: (CompetenciesRN). This is probably because the class name is wrong or not included in project.

  • While Extending AM LOVs in the standard page stopped working

    Hi,
    I extended an AM in one of the standard Oracle Apps Page. After substituting the new AM, all the LOVs in the standard page stopped working.
    Do you have a solution for this?
    Please reply.
    Thanks and Regards,

    If your page contains any LOV then root AM extension is not supported.
    Root AM substitution fails when the page contain a LOV.
    You can try different approach by extending VO/EO.
    --Sushant

  • How to extend the network when the main base station is a netgear WPN824 ?

    We have had a LAN since 98 with the first graphite AirPorts. Last years, we changed to 2 AirPort Express to include a printer and to extend the range. Now when we moved, needed further extention and have enhanced number of devices to connect to the LAN I thought an Extreme would be the right thing. But they are not sold in Sweden any longer! OK checking up what is on the market it looks like they need an upgrading. So listening to some good advice netgear should be right and easy to build into a network, I bought a WPN824. It works fine, with the ADSL+2 modem. Adding the AirPort Expresses (3 of them) work as long as they are wireless clients. But I can't sort it out to extendling our LAN. The AirPorts won't recognize the WPN824 as a WDS mainbase station. The router set up for the WPN824 doesn't include WDS, says extending network is by making another network on another channel and to have another SSID. I tried that but it only makes the AirPort Expresses look yellow and not complying with transfer of internet connection.
    Someone have an idea of how to make it out? Or of another up to date router with WDS function and being recognized by AirPorts?
    Cheers
    Viveka - - in Sweden
    20 Intel   Mac OS X (10.4.7)   LAN of 5 (+ 15 Alu, 17 iMac, 14 iBook, Strawberry iMac)

    OK, this is the way of learning - make mistakes. I can sell the WPN824 to the neighbours who are PC folks. But do you know any suitable router instead of the AirPort Extreme (and an updated version) I need as it isn´t for sale at present?
    I can't even make the WPN824 an access point to an AirPort Express as it demands two ethernet ports!
    Well, I'll still love our mac fleet and to get a good network (reaching to the beach house) is worth an effort!
    Cheers
    from Viveka - - in Sweden

  • How to handle the LOV mapping in OAF

    Hi all I am Antony .
    I am trying to replace a LOV region in a Seeded page with that of Mine . I have succeeded in it ,but the LOV item is not returning to the field in the Page.Please help. I have created a new Region of type LOV and have chaged the region to that of mine in the Extended CO.Problem is Query has been changed but LOV selected item is not returning to the Page
    Edited by: 807207 on Nov 12, 2010 1:01 AM

    Hi
    I am having a Seeded page where there is a region in which an LOV is there ,I have created a new LOV RN with that Query ,now my problem is when I click the LOV my Query is getting executed but the Value that I select is not returnign to the Main Page.The main page is Controlled by A.CO and the LOV is controlled by some other CO.
    Also in the MAin page all the Values are populated from some VO where in the Query of the VO is something like this
    select to_number(NULL) Project_Id,
    NULL Project_Name,
    NULL Project_Number,
    NULL Project_Description,
    NULL Project_Status_Code,
    NULL Project_Status_Name,
    to_date(NULL) Project_Start_Date,
    to_date(NULL) Project_Completion_Date,
    to_number(NULL) Probability_Member_ID,
    NULL Probability_Percentage,
    to_number(NULL) Project_Value,
    to_date(NULL) Expected_Approval_Date,
    NULL Carrying_Out_Org_Name,
    to_number(NULL) Carrying_Out_Org_ID,
    NULL Customer_Name,
    to_number(NULL) Customer_ID,
    to_number(null) bill_to_customer_id,
    to_number(null) ship_to_customer_id,
    null bill_to_customer,
    null ship_to_customer,
    NULL Customer_Relationship_Code,
    NULL Public_Sector,
    to_number(NULL) Key_Member_id,
    NULL Key_Member_name,
    NULL Key_Member_role,
    NULL Distribution_Rule_Name,
    NULL Distribution_Rule_Code,
    NULL Class_Category,
    NULL Class_code,
    to_number(NULL) orig_project_id,
    to_number(NULL) Key_Member_Count,
    to_number(NULL) Class_Code_Count,
    NULL Team_Template_Name,
    to_number(NULL) Team_Template_Id,
    NULL Location_Country_Code,
    NULL Location_City,
    NULL Location_State_Region,
    NULL Location_Country_Name,
    to_number(NULL) Role_List_Id,
    NULL Agreement_Currency_Code,
    NULL Agreement_Organization,
    to_number(NULL) Agreement_Organization_Id,
    to_number(NULL) Agreement_Amount,
    NULL Opportunity_Currency_Code,
    to_number(NULL) Org_Member_id,
    NULL Org_Member_name,
    NULL Org_Member_role,
    to_number(NULL) Org_Member_Count,
    NULL Priority_Code,
    to_number(NULL) security_level,
    NULL long_name
    from dual
    out of all I am trying to change the CustomerName attribute and the code tat I have used is
    customerBean.setLovRegion(oapagecontext,"/XXXX/oracle/apps/pa/util/lov/webui/XXXXCustomersLovRN");
    customerBean.addLovRelations(oapagecontext,"CustomerName","CustomerName",LOV_RESULT,LOV_REQUIRED_YES);
    Edited by: 807207 on Nov 12, 2010 10:50 PM

  • OAF: *PG.xml is read-only. Unable to extend the LOVRN to add lovmappings

    Hello All,
    I am trying to extend the PG.xml to add additional lovmappings using JDev. But the PG.xml is readonly. Unable to create new items on lovmappings!
    I have imported all the server.xml for the VO extension. That worked fine. ( I tried to add the new lovmappings using Personalization but with NO LUCK! ).
    So, now I am trying to add the lovmappings using JDev and am unable to create new lovmappings! The whole PG.xml is readonly (except the Privacy and others on the footer! ).
    So I opened only the PG.xml and the concerned LovRN.xml from myprojects/oracle/apps directory! along with all the myclasses/oracle/apps xml files.
    So Do I need to bring in anything else into my project to make the lovmapping to create new items ???
    Please help...
    Thanks,
    Francis

    Ramkumar,
    This is what I am trying to do!
    I extended the LovVO and deployed it successfully to application. I could see and use the newly added fields in the LOV region. That works fine.
    The requirement is:
    I want to populate the newly added field values from Lov region to the base page. This is what I did.
    1. Added the 2 new "Message Styled Text" items (from the extended VO) in the LOV region ( But not rendedred! )
    2. Added 2 new "Message Styled Text" items on the base page to populate the values from the LOV region.
    3. On the base page, personalizing the LOV (lovMappings) to inherit the values from the LOV region.
    >> Created 2 new lovmappings to inherit the 2 new values from the LOV region extended VO. ( Here the "LOV Region Item" {the itemID from the LOV region that I want to bring back and populate} and "Return Item" {the itemID on the base page that I want the value to get populated} are the only fields I entered other than the ID column! )
    5. Bounced the apache.
    -- After doing this, logged back in and tried the LOV, it doesn't populate the inherited values to the newly created items on the base page.
    Thanks for all the help.
    FR

  • Extending one Region Controller but need hold button id in Another Region

    Hi All,
    I am extending one Region() Controller.But i need to get control to a Button in a different region(Page Button Bar: (EffDateFooterRN)).
    I tried to use PageLayoutBean as well as OASubmitButtonBean but it is returning null.
    Can anyone help on this?
    Thanks
    Preeti

    Hi
    as sumit said ,u need to capture the button event inside the CO of Paglayout region ,u have to get the correct id of buttion to capture the event in PFR method of CO.
    thanx
    Pratap

Maybe you are looking for

  • How to run: system32 dism/online /cleanup-image /restorehealth

    I can run this on my Window's 8.1 pc but not on my Windows 7 pc.

  • Deadline seems to be dead for me!!!

    I have done this before ... now i am wondering whats wrong here.. i have an idea what it could be... but just wanted to run it thru the ppl here just to check if i am missing something... I added a deadline to a display workitem.. 1minute starting fr

  • Error in Account Segmentation

    Hi Experts I have created account Segment Branch Code With Size 8 and Alphanumeric. When I try to create branch code of 5 Characters i am getting an error ISR 27 characters Regards Joby J Abraham

  • Pricing condition not appearing in the COMMPR01 for service  products

    Dear All, i have created the  a condition type ZPR  in R3 . This condition type  is successfully replicated to CRM along with the access sequence  and the relevant tables . Now the problem is when i am trying to maintain the price in COMMPR01 for the

  • Dynamic filtering, data level security

    In order to enforce data level security we would like to do the following: 1. Send a user identification parameter through a URL that calls a BAM report. 2. According to this parameter retrieve from a dedicated data object the list of organization un