OAFramework

I need some help. if i want to extnding a page, i need how to configer the jdeveloper and how to open files like vo.xml. page.xml from server into jdeveloper.
and give me package structure.
Message was edited by:
user584711

Try the [url http://forums.oracle.com/forums/forum.jspa?forumID=210]OA Framework forum

Similar Messages

  • How to make a field required in OAFramework

    How to make a field required in OAFramework at runtime?? Please explain in detail if possible.
    Thanks
    Kumar

    Get the handle of the bean using the following Code
    <BeanType> bean = <BeanType>webBean.findIndexedChildRecursive("<Id of bean>");
    if(bean!=null && <condition>)
    bean.setRequired(true);
    }

  • Advanced Table in OAFramework.

    Hi,
    I am trying to personalize the advanced table in OAFramework to make sure that atleast one row is mandatory. I.e. i have a button to add a row and then enter the values in that row. I also have a delete button to delete the row. I made the row mandatory so that atleast one row should not be empty. But eventhough i make the row mandatory, the user can enter a value and then delete the row.
    I tried in several ways using personalization but couldn't stop that. I thought of customizing the page but not sure how to capture the property of the advanced table and make it mandatory so that atleast 1 row is not deleted from the table.
    Any help is appreciated.
    Thank you

    Hi Prasanna,
    I did like you said but now it doesn't allow to delete any new row which we create in the table. Basically its not allowing the delete functionality.
    Below is the seeded function and below that is the modification i have made....
    public void callRemove(OAPageContext oapagecontext, OAWebBean oawebbean)
    OAViewObject oaviewobject = (OAViewObject)oapagecontext.getApplicationModule(oawebbean).findViewObject("PhoneNumbersUpdateVO");
    String s = oapagecontext.getDecryptedParameter("HrPhoneHidden");
    for(OARow oarow = (OARow)oaviewobject.first(); oarow != null; oarow = (OARow)oaviewobject.next())
    String s1 = oarow.getAttribute("RowIndex").toString();
    if(s1.equals(s))
    oarow.setAttribute("DeletePhoneId", "Y");
    oarow.remove();
    return;
    public void callRemove(OAPageContext oapagecontext, OAWebBean oawebbean)
    OAViewObject oaviewobject = (OAViewObject)oapagecontext.getApplicationModule(oawebbean).findViewObject("PhoneNumbersUpdateVO");
    String s = oapagecontext.getDecryptedParameter("HrPhoneHidden");
    for(OARow oarow = (OARow)oaviewobject.first(); oarow != null; oarow = (OARow)oaviewobject.next())
    String s1 = oarow.getAttribute("RowIndex").toString();
    if(!oaviewobject.hasNext())
    throw new OAException("Pavan Kotharu Sample", (byte)0);
    else
    if(s1.equals(s))
    oarow.setAttribute("DeletePhoneId", "Y");
    oarow.remove();
    return;
    Thanks

  • KIMYONG : OAframework MDS reporsitory에서 OA page 찾는방법

    PURPOSE
    이 노트는 JRD repository 에 import된 page이름을 찾고자 할때 사용하는 SQL입니다.
    Explanation
    The script below can be used to search for any page name
    REM START OF SQL
    REM
    REM Script to list out the data from the MDS repository for SS Fwk application
    REM Only run under the instruction of Oracle Support
    REM version 1.2
    REM Created 7/31/2003
    REM Updated 8/1/2003 for multiple entries in JDR_PATHS and path details
    REM
    REM This data should be same as found in the $PROD_TOP/mds/regionMap.xml file.
    REM
    set echo off
    set feedback off
    set pagesize 66
    set linesize 132
    set serveroutput on
    spool JRADMetaData.txt
    DECLARE
         mzDOCidRef integer;
         mzPathParent integer;
         mzPathName VARCHAR2(60);
         cursor mzDOCID is
              select p.PATH_DOCID, p.PATH_NAME, p.PATH_OWNER_DOCID, p.PATH_TYPE
              from JDR_PATHS P
              where upper(p.path_name) = upper('&Enter_page_name');
         mzDocData mzDOCID%ROWTYPE;
         cursor mzATTR is
              select ATT_NAME, ATT_VALUE
              from JDR_ATTRIBUTES
              where ATT_COMP_DOCID = mzDOCidRef
              order by ATT_SEQ;     
         mzAttrData mzATTR%ROWTYPE;
         cursor mzCOMP is
              select COMP_ELEMENT, COMP_REF
              from JDR_COMPONENTS
              where COMP_DOCID = mzDOCidRef ;
         mzCompData mzCOMP%ROWTYPE;
         cursor mzATL is
              select ATL_LANG, ATL_COMP_REF, ATL_NAME, ATL_VALUE
              from JDR_ATTRIBUTES_TRANS
              where ATL_COMP_DOCID = mzDOCidRef ;
         mzAtlData mzATL%ROWTYPE;
    BEGIN
    dbms_output.enable(buffer_size=>1000000);
    for mzDocData in mzDOCID LOOP
         dbms_output.put_line('**************************************************************');
         dbms_output.put_line('Information for PATH_DOCID ' || mzDocData.path_DOCID);
         dbms_output.put_line('Path Name : ' || mzDocData.path_name);
         dbms_output.put_line('Owner DocID : ' || mzDocData.path_owner_docid);
         dbms_output.put_line('Path Type : ' || mzDocData.path_type);
         dbms_output.put_line('.');
         mzPathParent := mzDocData.path_owner_docid;
         dbms_output.put('Full file path (reversed) is : ');
    --- For example
    --- /oracle/apps/fnd/wf/monitor/webui/AdminMonSuspendActivityMainRG
    --- maps to physical file of
    --- $FND_TOP/mds/wf/monitor/webui/AdminMonSuspendActivityMainRG.xml
         WHILE mzPathParent != 0 LOOP
              select path_owner_docid, path_name
                   into mzPathParent, mzPathName
                   from JDR_PATHS
                   where path_docid = mzPathParent;
         dbms_output.put('.' || mzPathName);
         END LOOP;
         dbms_output.new_line;
         dbms_output.put_line('.');
         dbms_output.put_line(' ** Attribute information ** ');
         dbms_output.put_line('.');
         mzDOCidRef := mzDocData.path_DOCID;
         for mzAttrData in mzATTR LOOP
              dbms_output.put(mzAttrData.ATT_NAME);
              dbms_output.put(' : ' || mzAttrData.ATT_VALUE);
              dbms_output.new_line;
         END LOOP;
         dbms_output.put_line('.');
         dbms_output.put_line(' ** Component information ** ');
         dbms_output.put_line('.');
         for mzCompData in mzCOMP LOOP
              dbms_output.put(mzCompData.COMP_ELEMENT);
              dbms_output.put(' : ' || mzCompData.COMP_REF);
              dbms_output.new_line;
         END LOOP;
         dbms_output.put_line('.');
         dbms_output.put_line(' ** Language Attributes ** ');
         dbms_output.put_line('.');
         for mzAtlData in mzATL LOOP
              dbms_output.put(mzAtlData.ATL_LANG);
              dbms_output.put(' : ' || mzAtlData.ATL_COMP_REF);
              dbms_output.put(' : ' || mzAtlData.ATL_NAME);
              dbms_output.put(' : ' || mzAtlData.ATL_VALUE);
              dbms_output.new_line;
         END LOOP;
    END LOOP;
    END;
    spool off
    set echo on
    set feedback on
    REM END OF SQL
    Reference
    Note.245349.1 Investigating the MDS repository used by Self Service Framework
    글 수정: kimyong

    I am not sure if you are refering to JDEV_USER_HOME variable as apps path, if yes then yes your page should be present in proper directory structure under the jdev user home.
    Typically you would set the jdev user home as D:\OAFramework\jdevhome\jdev\myprojects and not D:\OAFramework\jdevhome\jdev\myprojects\oracle\apps.
    It is not mandatory that the pages should always start with the package /oracle/apps. You can prepend any directory structure before /oracle/apps but make sure that your directory structure contains /../../oracle/apps/<product shortname>/....
    How are you calling this page or running this page from jdev ? If you are calling it from a jsp what is the a href you are using to call this page ?

  • APEX vs OAFramework or JSP

    Hello Folks,
    I have been evangelizing APEX at Dell and amazed with the reduction in time/effort required to create scalable applications.
    Now a lot of our extensions/custom development is done using OAFRamework, which is time consuming and the skills of our dev team are sometimes lacking.
    My question is, what would be the reasons to choose OAFramework/J2EE instead of APEX knowing that our development environment is Ebusiness suite and all the applications are basically running on E-Biz data model and API ?
    Most of our applications are internal applications ( Work within the firewalls) and the business processes are very dynamic.
    OA FRamework is simply very complex and we are facing scaling/performance issues with that and surprisingly not with APEX. Probably because OAFramework involves lot of custom code written by our developers vs APEX which is more like managed code.
    So to summarize my query.
    1. Where to use APEX ( Limitations)
    2. Where to use OAFramework
    3. Performance/scaling/security etc concerns for APEX
    4. Why doesn't Oracle use APEX for its e-biz suite, instead of using OA Framework or jtt framework.
    Rgds,
    Venkatesh

    Venkatesh,
    Just happened to see this thread and thought that I will share my view too. Actually because you are from Apex background, you should had posted this issue in OAF forum to get more of the OAF view and then compare with yours.
    APEX is good and fast but doesn't have direct integration features with EBiz. It also doesn't support many of the advanced features of Apps. So when it comes to simple applications, APEX is fine, but when a full fledge application with complex UI is required, you need a framework and not just a tool.
    Also can you confirm whether you are using OAF for extension of Apps or for creating custom applications?
    You were talking about performance issue. Can you confirm it was the OA code and not the underlying pl/sql code? Most of the ebiz is running on OAF and there are no inherent performance issues with it. When you say your code is giving performance issue, there might be many reasons and most of them should have a solution with either code or design.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Desktop setup for OAFramework

    Hi All,
    I am trying to setup OAFramework on my desktop so I would like to download all the files from $JAVA_TOP.But I see that all the .class files are to be downloaded in binary mode and all the .xml files in ascii mode. Is there a way to say that all the .class files should be in binary and .xml files in ascii while downloading (FTP or PUTTY).
    Thanks,
    Naveen.

    Hi,
    There are tool available on Net like WS_FTP which give you the option to download the file as per you need.
    Also go through this thread. It will really helps you.
    http://prasanna-adf.blogspot.com/2008/02/deploying-oafwk.html
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • What is LTD file in OAFramework

    What is LTD file in OAFramework,how can we use this type of file to build a OAFramework application and how can we deploy that type of file in 11i.If anybody knows please help me on this regards,It will be a great help to me.

    It depends on the fact that an LCT file is already present for the Entity that you want to create an LDT File for. If the Entity already has an LCT File, then you just need to use the DOWNLOAD option from the source DB to get the LDT file with data.
    If not you can create your own LCT file as well. You can look into any existing LCT file as to how it handles UPLOAD and DOWNLOAD.

  • OAFramework Export - Output File Permissions

    Gurus,
    After our upgrade to 12.1.3 our developers ran into some issues with exporting custom OAFramework pages. To explain:
    1. Developers belong to UNIX group "hrdev"
    2. Apps Mt owner belongs to UNIX group "dba"
    Therefore, in order to share files between these two, world read permissions are required.
    What we have found is that when exporting OAF customisations, the exported files are:
    1. owned by the middle tier user (as expected)
    2. The middle tier user has a umask of 022 (as per its UNIX profile)
    3. The top level filesystem exported to has perms 777
    4. The sub directories and files that are created by the export process have permissions 750 (so an effective umask of 027).
    Any docs I can find about the export process merely say something like "make sure you have permissions on the filesystem being exported to." Which we do - but the problem is with the permissions on the files that are copied to filesystem be the export.
    Anyone know where these files get their permissions set from? (I've done a quick check through FND_PROFILE_OPTION_VALUES but can't find any settings there)
    Thanks, in advance, for your help.....

    Export to QuickTime Movie. Take that to Compressor. Use the batch from template function.
    BTW, you need to update your system information, unless you're really running FCP7 on a G4 PowerBook, which might explain the issue.

  • Tab Page In OAFramework

    Hi All,
    Does any one know how to create Tab Pages in OAFramework?
    Please let me know the steps for the same.
    I request you that kindly provide me documents/url, if you have it where I can get more information on it.
    Thanks in Advance.
    Regards,

    Hi All,
    Does any one know how to create Tab Pages in OAFramework?
    Please let me know the steps for the same.
    I request you that kindly provide me documents/url, if you have it where I can get more information on it.
    Thanks in Advance.
    Regards,

  • Javadoc for OAFRamework

    HI,
    Where can i find the list of Classes and functions of the OAFramework. Basically Javadoc for OAFramework.
    Thanks

    To Access java documentation
    1. Open jdev installation folder(where you unzipped your files) and then open jdevdoc/index.htm
    2. You can find list of classes under JavaDoc link
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to set the default context value for flexfield in OAFramework pages

    Hi,
    I have a page which contains a contexxt value field i.e Flexfields
    To select the context value we have to select the value from drop down
    So Here we want to display the context value immediately when the page is called
    How to set the default valu in this case
    Regards,
    Krishna

    You can set the Attribute category view attribute to the Flexfield context value and call prepareforRendering in the flex bean. Check the dev guide for details.
    Regards
    Sumit

  • Approvals in OAFramework.

    Hi,
    I have a custom page which invokes a custom supervisor hierarchy workflow which has got many approvals.The number of approvals will change based on certain conditions.
    Everything is fine so far but i am unable to figure out a logic to display the list of all the approvers in the page before submitting the page to call workflow.
    Any suggestions, please let me know.
    Thank you.

    Hi Molchun,
    this will be possible with Enhncement Package 5 for SAP ERP 6.0.
    Regards, Uwe

  • Creating a nice text in the custom oaframework page.

    Hi,
    I was trying to write some text in the page. The text is in different paragraphs, different fonts and has headings and underlines. So in a page, i tried using different items, regions but couldn't accomplish my requirement.
    What is the best approach of doing this?
    Thanks in advance.
    PK

    Typically, text font is written per Oracle Standard. They call it the Standard Look and Feel for OAF. You could probably go into your UIX page and make manual updates to the XML code. Give it a try and let me know how it works.
    -Scott

  • RadiButtons Functionality in OAFramework page

    Hi All,
    I have 3 radiobuttons like HQLocations,Notrequired & OneTimeAddress and having the MessageTextInput button( Attribute1) in a OAF page.
    The Requirement is as follows
    1). If i select HQLocations Radio Button then MessageTextInput button( Attribute1) should be readonly and display the POPUP LOV window on the same page with a valid HQAddresses.
    2.) If i select the Notrequired RadioButton then the MessageTextInput button( Attribute1) should be readonly and click NEXT button then it goes to the next page.
    3.) If i click OneTimeAddress RadioButton then MessageTextInput button( Attribute1) should be Readonly 'FALSE' and redirected to same page.
    3RadioButtons & RadioGroup are defined in CO.class file and MessageTextInput button( Attribute1) is defined in.XML file only.
    This is my CO.class code for 3Radibuttons & radioGroup.
    package oracle.apps.icx.por.req.webui;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageRadioButtonBean;
    import oracle.apps.icx.por.req.webui.OneTimeLocationCO;
    public class OneTimeLocationCO extends OneTimeLocationCO
    public OneTimeLocationCO()
    public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    super.processRequest(oapagecontext, oawebbean);
    OAMessageRadioButtonBean hqButton = (OAMessageRadioButtonBean)oawebbean.findChildRecursive("GroupButtonOne");
    hqButton.setName("reqRadioGroup");
    hqButton.setValue("HQ Location LOV ");
    hqButton.setRendered(true);
    OAMessageRadioButtonBean naButton = (OAMessageRadioButtonBean)oawebbean.findChildRecursive("GroupButtonTwo");
    naButton.setName("reqRadioGroup");
    naButton.setValue("Not Applicable");
    naButton.setRendered(true);
    OAMessageRadioButtonBean onetimeButton = (OAMessageRadioButtonBean)oawebbean.findChildRecursive("GroupButtonThree");
    onetimeButton.setName("reqRadioGroup");
    onetimeButton.setValue("One Time Address");
    onetimeButton.setRendered(true);
    public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    super.processFormRequest(oapagecontext, oawebbean);
    String radioGroupValue = oapagecontext.getParameter("reqRadioGroup");
    Anyone help me to change the code for the above requirement. I am a new to OAF and I don't have much more knowledge on JAVA.
    IT's Urgent. Please help me on this.
    Many thanks in advance,
    Nag.

    You can solve it by adding a space with the column like
    select emp_id || ' '
    from ....
    This way it won't be considered as Numeric value in the excel.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                       

  • About using customized VO in OAFramework

    <*REDACTED*>
    Hi,
    I customized VO in iProcurement to select additional columns but it seems
    the standard VO is used instead of the customized at some times.
    I confirmed this issue by HeapDump. When this issue occurs, the customized VO
    didn't exist in the list of objects.
    My questions are here..
    1. Do you know any similar issue with this?
    2. What kind of information should I gather to get further analysis about this?
    I customized VO with the following steps.
    - Created xml and java files with the new name and compiled that java files.
    - Distributed them under $JAVA_TOP.
    - Imported jpx with JPXImporter.
    Thanks,
    Keiko Tsukuta

    Hi Gyan,
    Thank you for your reply.
    I checked "About this page" but the customized VO has been extended correctly.
    Please see the files from the following links.
    Here is the screen shot and the definition of that VO.
    <internal URL's removed>
    In addition, this issue occurs only some times for some reason.
    How should I investigate this issue?
    NOTE: You can see the customized VO files from the following link.
    <internal URL removed>
    Thanks,
    Keiko

  • JSP in OAFramework

    Hi,
    Is it possible to develop JSP page in JDeveloper and run in local mochine instead of deploy on server ?
    Thanks,
    Krunal

    Yes it is very much possible

Maybe you are looking for

  • How to make hyperlinks in JTextField/JtextArea  ??

    My JTextField/JtextArea has got this Text. String text = "Get information from http://www.hotmail.com, if you have problems go to http://www.google.com " ; How to make hyperlinks for http://www.hotmail.com and http://www.google.com texts only??? And

  • Triggers to insert the record in a table

    I have two table 1. Holiday 2. Attendance. When I insert the record    in holiday table for his  advance holiday   with empid, the same time I want to insert it attendance table  automatically for the same date using a trigger Insert into attendance

  • MSI 975X motherboard-how connect front audio and mic connection to mobo?

    My case has separate connections (not a single molded) plug for Mic and Headset. Can someone tell me the connections by colored wire perhaps to best connect the various leads to the JAUD1 connection? Thanks, Peter

  • This computer doesn't support video chats

    This is the information my iMac shows when I want to call friends.  Next to my picture the Audio image is showing.  Until yesterday it worked perfectly. Even now I can video chat on Skype or FaceTime.  But no Messages anymore.  What is wrong?

  • Data Security

    Hello, Machine : AIX 5.3 APPS : Oracle EBS 11.5.10.2 Database : Oracle Database Enterprise Edition 9.2.0.8.0 I have made a clone of the production environnement and I wanna give the access to an external team. My questions are : - Is there a mean to