Important: Upgrade safe Controller extension

Hi
i had to actually changed my VO query to include a new attribute, for which i extended the view object .
I also needed to pass argument to the query thru "setWhereClauseParam". For this i am required to change the code in controller also.
My query is how to extend the controller and use it , so that my whole changed activity works fine and is also upgrade safe as i can't change the oracle shipped controller file.
Kindly reply soon.
Regards,
Mariah

Controller extensions are similar to extending java classes. You need to create your custom controller and extend the seeded Oracle controller. Override the processRequest and processFormRequest methods whichever is necessary. Write your logic before or after calling super in these methods depending on how your logic needs to be introduced. Deploy the new controller, use personalization and change the controller class property to point to your controller. This way your logic as well as seeded controller's logic will both be executed.

Similar Messages

  • In Which case Vo extension is not upgrade safe

    Hi all,
    In Which case Vo extension is not upgrade safe
    kumar

    Hi Anand,
    The extended VO with extra parameters or validation is going to substitute the seeded VO after the deployment.
    So how does it matter after upgrade if any changes in the seeded VO causing VO extension to stop working?
    If this is the case, what is the best practice to customize a seeded VO.
    I am very new to OAF and started working on extending a seeded VO.
    Any pointers will be much appreciated.
    Thanks,
    -Mukesh.

  • BC4J Extension and Upgrade Safe

    Hi All,
    I would like to know when all an extension(done in R12) is safe. Like
    1. If we extend a VO and add a new column - is it upgrade safe.
    2. Extend VO and change the where clause - is it upgrade safe.
    3. Extending AM(not RootAM) - when all is it upgrade safe.
    I believe these might be old questions, but if someone can answer or point me to some documentation on this - would help.
    Thanks,
    Anand
    PS: I have gone through the Dev Guide - but did not understand completely.

    1. If we extend a VO and add a new column - is it upgrade safe.
    Yes it is2. Extend VO and change the where clause - is it upgrade safe.
    Yes it is3. Extending AM(not RootAM) - when all is it upgrade safe.
    Yes it isThanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Personalization and Extentension  Upgrade Safe.

    HI
    I have in confusion by reading many articles on Personalization and Extentension Upgrade Safe.
    Plz clarify me on this.
    For ex: client using Oracle apps 11.5.10 n client want to migrate to R12,
    1) Are The Personalization done in Oracle apps 11.5.10 will be visible in R12 ?
    2) Are The Extension done in Oracle apps 11.5.10 will be visible in R12 ?
    3) Are The CO,VO,AM,EO Extension are Upgrade Safe ?
    Thanx

    1) Are The Personalization done in Oracle apps 11.5.10 will be visible in R12 ?Yes
    2) Are The Extension done in Oracle apps 11.5.10 will be visible in R12 ?Please download a compatible Jdeveloper to your R12 instance. Then create the Customizations project in the Jdeveloper and copy all the custom files. Now delete the myclasses and recompile everything. Please move these class files to the server. Bounce server and test.
    3) Are The CO,VO,AM,EO Extension are Upgrade Safe ?Yes
    Regards
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • DO NOT import images with no extension

    If you import import images with no extension (I have lots of those from Mac OS 9 days) by reference and then consolidate them with the Move option you will encounter a serious problem (at least with Aperture 1.5.1. on an Intel Mac).
    If you quit Aperture and launch it again, the thumbnails for those images will show as being referenced and broken. But another part of Aperture believes that they are in the library. The result is that your images ARE in the library, but are unaccessible to Aperture.
    You can repair this by fixing the contents of the apfile and renaming the image file, but it is a major pain to do this on a large scale.
    Here is the problem I encountered:
    http://homepage.mac.com/bagelturf/files/dbe9ea5dec3f703abb4efece1249d894-682.htm l
    And here is the solution:
    http://homepage.mac.com/bagelturf/files/8a3a218630e2b36136612e19b4495ba6-683.htm l

    Which version?
    This is not my experience in 1.5.1: files without extensions are silently ignored, no? That's annoying enough!
    Unfortunately, I have a lot of Genuine Fractals files that can't even be catalogued, let alone viewed. I have to keep using Portfolio, which deals with GF files just fine.

  • Script to identify what all objects are upgrade safe/unsafe

    I remember Oracle Consulting has a script which it runs before any major upgrade( 11i to R12 for example) which lists all the objects and also the status whether it is upgrade safe/unsafe.
    Can anyone give me the script.

    I want to know that there may be some seeded codes and objects on which some customizations/modifications have been done ( say user hooks) for example.
    Now I want to know that during upgrade if i run some script that will highlight that particular objectYou have to revisit all the custom pages you have and test it after the upgrade, there is no way (through a script) to find out if your customizations were upgraded successfully or not.
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Custom+AND+List&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • How to add upgrade safe custom button

    We'd like to add a custom button to fire a custom action on the "CheckOutLinesPG".
    I tried the personalization but that won't allow me to add the custom action. How can I add an action button and is upgrade safe?
    Please advise.

    Hi,
    You may want to try the OA Framework forums.
    Brenden

  • Iphoto 9.5.1 will not import videos with .mpg extension from my pictures folder and keep getting a OSStatus error-54. Is there a way I can import such videos to the iphone library?

    iphoto 9.5.1 will not import videos with .mpg extension from my pictures folder and keep getting a OSStatus error-54. Is there a way I can import such videos to the iphone library? Pls help.

    This is what that error means:
    -54
    permErr
    Software lock on file; Not a subscriber [permissions error on file open]
    Download and launch  BatChmod.  Put the videos into a subfolder and drag that folder containing the video files into the Batchmod window.  Make sure you are the owner and have R,W, X access as well as the group.  Everyone will have R only.
    Check the Change ownership and privileges, Unlock and Apply to enclosed boxes and then click on the Apply button.  When done try importing the files again.
    OT

  • Change requisition lov qeury through controller extension

    I'm new to OAF, if anyone has worked with requisition controller extension, please kindly help me. We've a requirement to take the value from DFF and append to the query in Supplier Name/Supplier Site Lov to restrict the list. I'm trying to extend the controller but unable to get the handle for ReqSupplierVO to set the where clause. Below is the code
    public class xxNonCatalogRequestCO extends NonCatalogRequestCO
    public xxNonCatalogRequestCO()
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    //OAApplicationModule lovAM = (OAApplicationModule)am.findApplicationModule("RequisitionLovAM");
    //OAViewObject vo = (OAViewObject)lovAM.findViewObject("ReqSupplierVO");
    ViewObjectImpl vo = (ViewObjectImpl)am.findViewObject("ReqSupplierVO");
    OAMessageLovInputBean mlib = (OAMessageLovInputBean)webBean.findIndexedChildRecursive("XX_LL3");
    String ll = (String)mlib.getValue(pageContext);
    if (vo != null)
    vo.setWhereClause(//"Query"//);
    Please help!!!

    The error seems to be casting but unable to figure out what's the issue here.
    Exception Details.
    oracle.apps.fnd.framework.OAException: java.lang.ClassCastException: oracle.apps.fnd.framework.webui.beans.form.OAFormValueBean
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:620)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1183)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:976)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:943)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:663)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:976)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:943)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:663)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2629)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1949)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:549)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:437)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
         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:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.lang.ClassCastException: oracle.apps.fnd.framework.webui.beans.form.OAFormValueBean
         at xxatc.oracle.apps.icx.icatalog.shopping.webui.xxatcNonCatalogRequestCO.processRequest(xxatcNonCatalogRequestCO.java:27)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:604)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1183)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:976)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:943)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:663)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:976)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:943)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:663)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2629)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1949)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:549)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:437)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
         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:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    java.lang.ClassCastException: oracle.apps.fnd.framework.webui.beans.form.OAFormValueBean
         at xxatc.oracle.apps.icx.icatalog.shopping.webui.xxatcNonCatalogRequestCO.processRequest(xxatcNonCatalogRequestCO.java:27)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:604)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1183)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:976)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:943)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:663)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:976)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:943)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:663)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2629)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1949)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:549)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:437)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
         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:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)

  • Controller Extension

    Hi All,
    I am working on Controller Extension. I extend controller but whenever i do personalize particular controller i cann't identified that controller name.
    how to identify the controller name.
    Narayana

    Naranya,
    Sounds as if you are asking about OA Framework? If so, you should try asking on the OA Framework forum.
    John

  • How to Unhide Import button in Standard Extension collection?

    Hi Experts,
    I have a requirement to unhide Import button in standard extension collection "PROJECT SAVINGS" in project.
    I have tried with script but it is not working.
    colln=doc.getExtensionCollection("PROJECT_SAVINGS");
    objectref = doc.getObjectReference();
    bean = colln.find(objectref);
    IapiDocumentLockManager.unlockAll(session,bean);
    If anyone have achieved this requirement please share.
    Thanks for your support.
    Regards,
    Lava.

    Hi Lava,
    The method which you are using is for extension collection, but project savings is a standard collection.
    For the class Project in IAPI there is a method named getProjectSavings()
    Your problem would be solved if you use the above mentioned method.
    Please let me know if you need any assistance.
    Thanks,
    Raj.

  • Create Partial Fire action on DFF context value in controller extension

    Hi All,
    I have a requirement where I will have to default the DFF attribute value based on the context value chosen in the same DFF.
    Since the page is a seeded page i have done that using Controller Extension.
    I have followed the below steps.
    1.I have created one class file XXR2R_AR_BANK_ACCT_EXTCO
    2. In that file I have written the following piece of code
    +public class XXR2R_AR_BANK_ACCT_EXTCO extends UpdateExtBankAcctCO {+
    public void processRequest(OAPageContext oapageContext,
    OAWebBean webBean)
    +{+
    super.processRequest(oapageContext, webBean);
    OADescriptiveFlexBean dfb =
    +(OADescriptiveFlexBean)webBean.findChildRecursive("FlexField");+ // This is the ID of the flexfield defined in seeded page
    FireAction firePartialAction = new FirePartialAction("contextvalchng");
    +}+
    public void processFormRequest(OAPageContext pageContext,OAWebBean webBean)
    +{+
    super.processFormRequest(pageContext, webBean);
    if ("contextvalchng".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
    +{+              
    super.processFormRequest(pageContext, webBean);
    OADescriptiveFlexBean dffBean =
    +(OADescriptiveFlexBean)webBean.findChildRecursive("FlexField");+
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAViewObject extVO =
    +(OAViewObject)am.findViewObject("ExtBankAccountsVO");+ *// This is the view name corresponding to the DFF fields*
    String str = "" ;
    OARow row = null;
    if (extVO!=null)
    +{+
    row = (OARow) extVO.getCurrentRow();
    if (row!=null)
    +{+
    str = (String)row.getAttribute("ATTRIBUTE_CATEGORY"); *// here I have retrieved the context value of the DFF*
    +}+
    +}+
    dffBean.processFlex(pageContext);
    if ("DEN".equals(str)) *// if the context value is "DEN" then only the defaulting will be done*
    +{+
    OAMessageTextInputBean mnum = (OAMessageTextInputBean)webBean.findChildRecursive("FlexField1");
    mnum.setText("599956");
    row.setAttribute("ATTRIBUTE13","6995");
    +}+
    3. After compiling the .jave file I have placed the .class file in the CUSTOM_JAVA_TOP location and in the seeded page I have placed this CUSTOM_JAVA_TOP top path (in the personalize page section)exactly in the same way where the .class file is.
    But when I am changing the context value in the DFF nothing is actually happening.It is never including the custom file behavior.
    Please let me know if I am wrong in my coding or my approach.
    Thanks
    Sudie
    Edited by: user10816003 on Jun 21, 2010 5:54 AM
    Edited by: user10816003 on Jun 21, 2010 5:55 AM

    Hi,
    I think you need to set PPR on one of the segment of the DFF. Following is the code snippet I found few days back in forum. Use this in processRequest() method to set the PPR.
    OADescriptiveFlexBean oadescriptiveflexbean = (OADescriptiveFlexBean)webBean.findIndexedChildRecursive("ASNPrdtAddInfoFF"); //DFF ID...in your case it is "FlexField"
    if(null != oadescriptiveflexbean)
         oadescriptiveflexbean.processFlex(pageContext);
         //oadescriptiveflexbean.setFlexTableRendered(false); -- useful, if we want to render the items on our own.
         int cnt = oadescriptiveflexbean.getIndexedChildCount(pageContext.getRenderingContext());
         for(int i=0; i<cnt; i++)
              OAWebBean uiNode = (OAWebBean)oadescriptiveflexbean.getIndexedChild(pageContext.getRenderingContext(),i);
              if(null != uiNode && uiNode instanceof OAMessageTextInputBean )
                   System.out.println(i + "::::" + uiNode.getLabel() + "::::" + uiNode.getUINodeName()+ "\n");
                   if(uiNode.getUINodeName().equalsIgnoreCase("ASNPrdtAddInfoFF2")) //Segment ID...you need to find it out..on which segment you want to do PPR
                        FireAction firePartialAction = new FirePartialAction("Event.termChangeEvent", true); //This is I am not sure but it must be the event name
                        uiNode.setAttributeValue(PRIMARY_CLIENT_ACTION_ATTR,firePartialAction);
    Now you need to check for this event in processFormRequest() method. If this event fetched iterate the Vo rows and check the Attribute value there. if the value matched then do the defaulting process.
    Hope this helps..
    Regards,
    Mukesh Uchaniya

  • Upgrade Safe Customizations

    Hi,
    how upgrade safe are modifications to default SAP components?
    For example, I choose to configure in the default framework the property visible of the detailed navigation to false. The end-users won't have a detailed navigation.
    Now I do an upgrado to a newer SPS. Will this modification be overwritten, meaning, the property visible will be set to the default value from SAP (true)?
    Or I define a new portal theme to the default desktop. Will this get overwritten by the installation of a new SPS?
    br,
    Tobias

    Tobias,
    Now I do an upgrado to a newer SPS. Will this modification be overwritten, meaning, the property visible will be set to the default value from SAP (true)?  - TRUE
    Or I define a new portal theme to the default desktop. Will this get overwritten by the installation of a new SPS? --- this is the suggested way and will not be overwritten
    Thanks
    Bala Duvvuri

  • Controller Extension vs. AM Extension : Important

    Hi All,
    Keeping in view OAF seeded Page Customization Best Practice which is more advisable in the following scenario:
    (@Oracle Dev/Support guys: Please do provide arguments for/against. It would be helpful if u can point to any supporting Oracle Doc/metalink note )
    Requirement: Include User Input Validation Logic in a seeded page (validate values of custom DFF entered against an existing segment combination in a custom table)
    Solution Method1: Extending the region controller COSteps:
    1. Capture User Input
    2. Get current AM transactional object using
    ...//am is OAAplicationModule object
    OADBTransacton txn= am.getOADBTransaction();
    3. Use PreparedStatement to query the custom table
    4. Include data validation logic
    5. Point the region's controller to custom extended CO
    Solution Method2: Create a nw ViewObject and Extend the region AM to include validation logicSteps:
    1. Create VO for custom table
    2. Extend AM and include validation logic
    (The steps are just indicative and any other suggestions for solution is most appreciated. Also there is no need for any extra column/data to be shown or captured hence VO extension can b ruled out.)
    thanks
    --debashis                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Since your AM is not root AM, you can go ahead with AM extension.
    Only the extension of Root AM is not supported by OAF because of following issue
    OA Framework does not support substituting a root application module due to
    a known limitation in MDS and personalizations.
    A root application module substitution has no runtime effect in a deployed environment outside JDeveloper or
    could lead to a runtime error with a "Cannot Display Page" message in a LOV modal window in JDeveloper--Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Upgrading Domain Controller Questions

    Hello, we currently have 2 domain controllers in our environment, both with Server 2003 R2. We are looking to upgrade them one at a time to 2008 R2 but I have some questions. 
    Here's the environment:
    Server 1 (the one we are going to upgrade first):
    Server 2003 R2
    Domain Controller
    DHCP Server
    DNS Server
    Server 2 (we will be upgrading this in the near future but not just yet):
    Server 2003 R2
    Domain Controller
    DHCP Server
    DNS Server
    File Server with most of the company data
    We also have DNS replication set up between the two servers. 
    My questions:
    Will we run into any issues having two domain controllers with different Operating Systems?
    We would like for the domain controllers to keep the same names and IP's. Any issues with that?
    How will we stop, then re-setup DNS replication between the two servers?
    Any other 'gotcha's' we should be aware of?
    Dan Chandler-Klein

    I don't see any reason why not keeping old name and IP.
    Before upgrading make sure AD has no issues:
    look at the event viewer, run DCDiag, replication runs clean (repadmin /showrepl) etc.
    OS has no warning/errors.
    Not  must but I would move the FSMO roles to another DC before demote.
    Make sure applications installed on the new DC's (AV\Backup agents etc.)  support Windows 2008 R2 OS.
    Make sure all your network applications in your environment support working with Windows 2008 R2 DC - I recommend test it in lab first.
    Make sure that the DC you are about to demote not holding CA role. 
    Most important:
    Make sure you successfully demote the old DC and no records left in DNS.
    I'm not agree with evrimicelli about DC's naming and I wouldn't go for CNAME record - this can get you in many troubles in the future. 
    after demote the old DC, I would rename it or remove it from the domain, than you can rename the new server with old Dc name and promote it to DC with old DCs' IP address. 
    I didn't understand the question about DNS replication.
    What kind of DNS zone do host?  if its AD integrated (and thats what you should have), you don't need to configure any replication, AD integrated DNS zone replicate as part of AD replication between your two DC's.
    Please take a moment to Vote as Helpful and/or Mark as Answer where applicable. Thanks.

Maybe you are looking for

  • Remote and Testing Server Site Definitions

    I am confused about what information I should put in my remote site definition info and testing server FTC Host directory text boxes. My host placed 3 directories: database, log, and www on my server and Dreamweaver placed two directories, Connection

  • Why is it not possible to access lightroom catalouge trough a Network (ready nas)

    As the Topic title says why i can´t use My LRM Catalouge when it´s hosted on my Network hard drive or why I can´t create a catalouge an an Network Share (ready Nas) With friendly Regards Colin

  • Can I use a Sony all-in-one PC/TV as a second display for the G5?

    I'm trying to build a pro music system out of my G5, which means that it should only have music software on it. I have an aluminum 20" display hooked up to my Radeon x800T video card, which has one DVI and one ADC jack on it. A pro music rig needs tw

  • M3u streams won't play in non-admin account

    Using Firefox 3.6.8 with Win XP SP3 with auto updates. After years of being able to go to Amazon.com and click on an mp3 preview button (streams m3u format), I can no longer do so in my user account - I get a "What should Firefox do with this file?"

  • Column icon in top bar grayed out

    Created a doc from "basic" template, and can't get the columns icon in the format bar to work. Always grayed out. Anyone know what I should do? Thanks