Significance of function name property in the OAF Page

Hello, I am trying to find out how the seeded LookupPG works as i need to use the same logic in my application. In the LookupPG page, in the function name property, it's specified as 'FND_LOOKUPS_SSWA'. I tried to open the function to see what is defined in that function and it's nothing but the path of the same page is defined in the function. I tried removing the function name from the page property and it gives me error. Can anyone tell me what's the significance of this function name property in oaf page? Appreciate your advice. Thanks KK

HC,
You can add a Region of type Header and set the Text for that and add your table under the Header region.
Or you can Enter the Text attribute value for that table to get the header.
Thanks,
With regards,
Kali.
OSSI.

Similar Messages

  • How to get the function name/ID  of the current page

    HI,
    I searched the forum and google, but it is not clear on how to get the function name of the current page.
    I have 4 functions in my self service A ,B,C,D (seeded page links ) they all have to go to a page called hhhPG. Based on which function user is clicks I have to show the data in hhhPG.
    so my question is how to get the function name ? I mean I need to know if user click on link A , B, C or D link and came to this page.
    I found below in one forum and also there is getfunctionID in pageContext , but I do not know what to pass to getfunctionid("???") to get value.
    FunctionSecurity funcSecurity = pageContext.getFunctionSecurity();
    Or is there a better way of know where user is coming from ? like geturl....
    Please help, I need this ASAP.
    Thank you.

    Use below to find out how the user came into the page
    FunctionSecurity funcSecurity = pageContext.getFunctionSecurity();
    boolean isFunc1 = funcSecurity.testFunction(funcSecurity.getFunction("YOUR_FUNCTION_SHORT_NAME1"));
    boolean isFunc2 = funcSecurity.testFunction(funcSecurity.getFunction("YOUR_FUNCTION_SHORT_NAME2"));
    boolean isFunc3 = funcSecurity.testFunction(funcSecurity.getFunction("YOUR_FUNCTION_SHORT_NAME3"));
    boolean isFunc4 = funcSecurity.testFunction(funcSecurity.getFunction("YOUR_FUNCTION_SHORT_NAME4"));
    So one of them will be true based on the function the user came in.
    Write your logic based on these flags.
    Regards,
    Peddi.

  • How to  make adding attachments in the oaf page mandatory  to the user.

    Dear Friends
    I did a attachment section with item style as attachment table,entity map,primary  key concept in my details page
    But  I want to   make this section (adding attachments in the oaf page)  mandatory  to the user.
    Without adding the attchment user should not click SUBMIT.
    [ Just like we give  REQUIRED  property to ant text input fileds  to make entering them mandatory , Is there any property to set ]
    Please share ur ideas .Please help.
    Thanks
    Aravinda

    Gyan's Oracle Application Framework Blog: OAF - Making mandatory Attachement Mandatory
    iWiDi - This is how to make attachments mandatory in iExpense.
    --Sushant

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

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

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

  • Throwing Error on the OAF Page

    Hi All,
    I have a requirement to throw an error message in the OAF page.
    I have added a new region in the standard OAF page. In that region controller, am checking one condition. If that condition fails i have to throw an error message in the OAF page.
    I am using the following code:
    throw new OAException("EGO","XXAT_FILE_ALREADY_EXIST",null,OAException.ERROR,null);
    But am not able to get the error message in the page.
    Kindly please help me in resolving this issue.
    Many thanks in advance.
    Kind Regards,
    Myvizhi

    Hi Sushant,
    I have created a custom region and attached that into a standard page. Now am trying to throw the error message in the standard page from the region controller.
    I tried all the following ways, In this if condition is true this should throw the error message.
    try
    if( a3 != "-1" && lineflag[a].equalsIgnoreCase("Y"))
    throw new OAException("EGO","XXAT_FILE_ALREADY_EXIST",null,OAException.ERROR,null);
    catch(Exception e)
    Context.writeDiagnostics(this," Exception in enabling error message : ",OAFwkConstants.STATEMENT);
    try
    if( a3 != "-1" && lineflag[a].equalsIgnoreCase("Y"))
    OAException oaexception = new OAException("EGO","XXAT_FILE_ALREADY_EXIST",null,OAException.ERROR,null);
    pageContext.putDialogMessage(oaexception);
    catch(Exception e)
    Context.writeDiagnostics(this," Exception in enabling error message : ",OAFwkConstants.STATEMENT);
    if( a3 != "-1" && lineflag[a].equalsIgnoreCase("Y"))
    String errorMessage = "This file already exists as a pending attachment";
    throw new OAException(errorMessage,OAException.ERROR);
    Kind Regards,
    Myvizhi

  • How to generate alerts from the oaf page

    hii.......
    I need to generate simple alert from oaf page...........
    can u suggest me sample code for this????????

    Hi Nazeer,
    Nazeer again and again you are replying the same answer and again and again I'm asking you the same question.
    What do you mean by alert?? is it some mail that you want to send from OAF page??
    sample code to send mail from OAF:
    import java.io.*;
    import java.net.*;
    * This program sends e-mail using a mailto: URL
    public class SendMail {
    public static void main(String[] args) {
    try {
    // If the user specified a mailhost, tell the system about it.
    if (args.length >= 1) System.getProperties().put("mail.host", args[0]);
    // A Reader stream to read from the console
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    // Ask the user for the from, to, and subject lines
    System.out.print("From: ");
    String from = in.readLine();
    System.out.print("To: ");
    String to = in.readLine();
    System.out.print("Subject: ");
    String subject = in.readLine();
    // Establish a network connection for sending mail
    URL u = new URL("mailto:" + to); // Create a mailto: URL
    URLConnection c = u.openConnection(); // Create a URLConnection for it
    c.setDoInput(false); // Specify no input from this URL
    c.setDoOutput(true); // Specify we'll do output
    System.out.println("Connecting..."); // Tell the user what's happening
    System.out.flush(); // Tell them right now
    c.connect(); // Connect to mail host
    PrintWriter out = // Get output stream to mail host
    new PrintWriter(new OutputStreamWriter(c.getOutputStream()));
    // Write out mail headers. Don't let users fake the From address
    out.println("From: \"" + from + "\" <"user.name") + "@" +
    InetAddress.getLocalHost().getHostName() + ">");
    out.println("To: " + to);
    out.println("Subject: " + subject);
    out.println(); // blank line to end the list of headers
    // Now ask the user to enter the body of the message
    System.out.println("Enter the message. " +
    "End with a '.' on a line by itself.");
    // Read message line by line and send it out.
    String line;
    for(;;) {
    line = in.readLine();
    if ((line == null) || line.equals(".")) break;
    out.println(line);
    // Close the stream to terminate the message
    out.close();
    // Tell the user it was successfully sent.
    System.out.println("Message sent.");
    System.out.flush();
    catch (Exception e) { // Handle any exceptions, print error message.
    System.err.println(e);
    System.err.println("Usage: java SendMail [<mailhost>]");
    Regards,
    Reetesh Sharma
    Edited by: Reetesh Sharma on Jun 30, 2010 3:27 AM

  • Opening the OAF page in New Window on the responsibility list page

    Hi Gurus,
    I have a requirement where in I need to open the page on a new window.
    I have created the page,and attached the function to the menu,and attached the menu to a responsibility.
    When a user clicks on the responsibility it shows a list of fuctions available with the appropriate prompt.
    My recquirement is to open the page in a new window when a user clicks a function on the responsibility page.
    Is it possible to do so?If yes how?If not any document supporting this limitation.
    Any help would be highly appreciated.
    Regards
    Srikanth

    Hi Srikanth,
    This is not possible. However you can open the second page in the flow in a new window by setting Target Frame property to _blank.
    Anoop

  • Take too much time to render the OAF page from JDeveloper

    Hi Gurus:
    It takes over 30 or 40 minutes to run a OAF page from JDeveloper, my JDeveloper is 10.1.3.3.0, and connect to the remote the DB server. I don't use the VPN. And one of my colleague in the same office take about 8 minutes to run a OAF page. It's painful to take too much time, Anyone can shed some light on this?
    Regards,
    Jiang

    Thanks John.
    I will move my question to Technology - OA Framework
    Regards,
    Flywin Jiang

  • How to make the OAF page Read-Only for one Responsibility?

    I have a requirement to make the entire OAF page to Read-only for particular Responsibility.
    Is there any direct option to make page Read-only ?
    Can anyone suggest some solution?

    Hi,
    Check one article on
    http://www.applikast.net/technical/oa-fwk/misc/making-an-oa-framework-page-readonly
    or you can do Personalization for each item on page.
    Thanks,
    Abhi

  • Getting Error message while deploying the OAF page in custom top

    Hi,
    I have created a new custom OAFpage(datafileupload).It's working fine when I'm running from Jdeveloper but after deploying the page in application server under custom top($CUSTOM_TOP/java).I'm getting following error.
    I have deleted all my files from server as well as from jdeveloper and recreated and depolyed but stillI'm getting same error message.
    I have checked the controller file name and controller class property.No wrong among them
    Error message:
    oracle.apps.fnd.framework.OAException: Could not create Java class: (msi.oracle.apps.msifnd.fileupload.webui.msifileuploadCo) associated with region: (PagelayoutRN). This is probably because the class name is wrong or not included in project.
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1247)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2662)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1940)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
    at OA.jspService(_OA.java:204)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
    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.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
    at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
    at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
    at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
    at RF.jspService(_RF.java:217)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
    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:619)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: Could not create Java class: (msi.oracle.apps.msifnd.fileupload.webui.msifileuploadCo) associated with region: (PagelayoutRN). This is probably because the class name is wrong or not included in project.
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getController(OAWebBeanHelper.java:1896)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:572)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1182)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
    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:968)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
    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:2607)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1940)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
    at OA.jspService(_OA.java:204)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
    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.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
    at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
    at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
    at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
    at RF.jspService(_RF.java:217)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
    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:619)
    oracle.apps.fnd.framework.OAException: Could not create Java class: (msi.oracle.apps.msifnd.fileupload.webui.msifileuploadCo) associated with region: (PagelayoutRN). This is probably because the class name is wrong or not included in project.
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getController(OAWebBeanHelper.java:1896)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:572)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1182)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
    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:968)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
    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:2607)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1940)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
    at OA.jspService(_OA.java:204)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
    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.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
    at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
    at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
    at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
    at RF.jspService(_RF.java:217)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
    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:619)
    Regards
    Busireddy

    hi ,
    we are trying to set the class path to customtop with the help of DBA meanwhile could you please check with my controller code and please let if it have errors.
    package msi.oracle.apps.msifnd.fileupload.webui;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.server.OADBTransaction;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.jbo.domain.BlobDomain;
    * Controller for ...
    public class msifileuploadCo extends OAControllerImpl
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    if (pageContext.getParameter("Submit") != null)
    String FileName;
    String ProfileName;
    FileName = pageContext.getParameter("FileName");
    ProfileName = pageContext.getParameter("ProfileName");
    if (FileName == null)
    throw new OAException("Please Select a File to Upload",
    (byte)0);
    OAApplicationModule appModule = pageContext.getApplicationModule(webBean);
    OADBTransaction transaction = appModule.getOADBTransaction();
    BlobDomain blobDomain =(BlobDomain)pageContext.getParameterObject(FileName);
    String profileNamechk;
    profileNamechk = ProfileName;
    if (profileNamechk.length() == 0)
    throw new OAException("Please enter profilename", (byte)0);
    String msiCommonDataDir;
    msiCommonDataDir = transaction.getProfile(ProfileName);
    if (msiCommonDataDir == null)
    throw new OAException("The custom Profile Option Named has not been defined. Contact " +
    "your IT Support Group. ", (byte)0);
    if (msiCommonDataDir.length() == 0)
    throw new OAException("The custom Profile Option Named does not have a value assigned" +
    ". Contact your IT Support Group. ",
    (byte)0);
    try
    InputStream in = blobDomain.getBinaryStream();
    FileOutputStream out;
    out = new FileOutputStream((new StringBuilder()).append(msiCommonDataDir).append("/").append(FileName).toString());
    byte buf[] = new byte[1024];
    for (int count = 0; (count = in.read(buf)) >= 0; )
    out.write(buf, 0, count);
    in.close();
    out.flush();
    out.close();
    } catch (IOException e)
    throw new OAException((new StringBuilder()).append("Unable to upload the file for further processing: ").append(e.getMessage()).toString(),
    (byte)0);
    }

  • Error while running the OAF page

    Hi,
    I am working on R12.0.6 and I downloaded patch 7523554 for jdev.
    I created one Page and did all the jobs of creating an EO, VO and AM.
    When I am trying to run the page. the following exception is thrown. I can see it in the jDev - Embedded OC4J Server Log and the same exception propogates at the browser level.
    Target URL -- http://anbhard-idc.idc.oracle.com:8988/OA_HTML/runregion.jsp
    WARNING: Code-source D:\jdev_10g\jdevbin\jakarta-struts\lib\commons-logging.jar (from manifest of /D:/jdev_10g/jdevbin/jakarta-struts/lib/struts.jar) has the same filename but is not identical to /D:/jdev_10g/jdevbin/webservices/lib/commons-logging.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\jdev_10g\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.web.APPS_HTML:0.0.0.
    WARNING: Code-source D:\jdev_10g\jdevbin\xdoclet-1.2.1\commons-logging.jar (from <classpath> in D:\jdev_10g\jdevhome\jdev\myhtml\OA_HTML) has the same filename but is not identical to /D:/jdev_10g/jdevbin/webservices/lib/commons-logging.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\jdev_10g\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.web.APPS_HTML:0.0.0.
    11/04/30 10:41:24 TIME: runregion: initialization [0 ms]
    11/04/30 10:41:26 java.lang.IllegalStateException: ClassLoader "default.root:0.0.0" (from <application> in /D:/jdev_10g/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml): This loader has been closed and should not be in use.
    11/04/30 10:41:26      at oracle.classloader.util.ClassLoadAsserts.fail(ClassLoadAsserts.java:154)
    11/04/30 10:41:26      at oracle.classloader.PolicyClassLoader.checkState(PolicyClassLoader.java:1994)
    11/04/30 10:41:26      at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1659)
    11/04/30 10:41:26      at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)
    11/04/30 10:41:26      at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)
    11/04/30 10:41:26      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    11/04/30 10:41:26      at oracle.apps.fnd.common.Pool.processAbandonedObjects(Pool.java:1513)
    11/04/30 10:41:26      at oracle.apps.fnd.common.Pool.resize(Pool.java:2075)
    11/04/30 10:41:26      at oracle.apps.fnd.common.Pool.run(Pool.java:1991)
    11/04/30 10:41:26      at java.lang.Thread.run(Thread.java:595)
    11/04/30 10:43:03 TIME: runregion: session and transaction creation [98969 ms]
    Apr 30, 2011 10:43:07 AM oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
    INFO: oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found
    *11/04/30 10:43:08 java.lang.IllegalArgumentException: Unknown signal: ALRM*
    *11/04/30 10:43:08      at sun.misc.Signal.<init>(Signal.java:126)*
    *11/04/30 10:43:08      at oracle.apps.fnd.framework.AppsDiagnosticsHandler.install(Unknown Source)*
    *11/04/30 10:43:08      at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.initializeSignalHandler(Unknown Source)*
    *11/04/30 10:43:08      at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.<clinit>(Unknown Source)*
    *11/04/30 10:43:08      at java.lang.Class.forName0(Native Method)*
    *11/04/30 10:43:08      at java.lang.Class.forName(Class.java:242)*
    *11/04/30 10:43:08      at oracle.jbo.common.java2.JDK2ClassLoader.loadClassForName(JDK2ClassLoader.java:38)*
    *11/04/30 10:43:08      at oracle.jbo.common.JBOClass.forName(JBOClass.java:164)*
    *11/04/30 10:43:08      at oracle.jbo.common.JBOClass.findCustomClass(JBOClass.java:177)*
    *11/04/30 10:43:08      at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:836)*
    *11/04/30 10:43:08      at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:770)*
    *11/04/30 10:43:08      at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:534)*
    *11/04/30 10:43:08      at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:547)*
    *11/04/30 10:43:08      at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:425)*
    *11/04/30 10:43:08      at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:358)*
    *11/04/30 10:43:08      at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:340)*
    *11/04/30 10:43:08      at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:700)*
    *11/04/30 10:43:08      at oracle.jbo.server.ApplicationModuleDefImpl.findDefObject(ApplicationModuleDefImpl.java:232)*
    *11/04/30 10:43:08      at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:401)*
    *11/04/30 10:43:08      at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:91)*
    *11/04/30 10:43:08      at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.createStaticAKApplicationModule(Unknown Source)*
    *11/04/30 10:43:08      at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.getStaticAKApplicationModuleSync(Unknown Source)*
    *11/04/30 10:43:08      at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.getStaticAKApplicationModule(Unknown Source)*
    *11/04/30 10:43:08      at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)*
    *11/04/30 10:43:08      at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)*
    *11/04/30 10:43:08      at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)*
    *11/04/30 10:43:08      at OA.jspService(_OA.java:71)*
    *11/04/30 10:43:08      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)*
    *11/04/30 10:43:08      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)*
    *11/04/30 10:43:08      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)*
    *11/04/30 10:43:08      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)*
    *11/04/30 10:43:08      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)*
    *11/04/30 10:43:08      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)*
    *11/04/30 10:43:08      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)*
    *11/04/30 10:43:08      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)*
    *11/04/30 10:43:08      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)*
    *11/04/30 10:43:08      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)*
    *11/04/30 10:43:08      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)*
    *11/04/30 10:43:08      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)*
    *11/04/30 10:43:08      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)*
    *11/04/30 10:43:08      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)*
    *11/04/30 10:43:08      at java.lang.Thread.run(Thread.java:595)*
    *11/04/30 10:49:54 java.lang.IllegalStateException: ClassLoader "default.root:0.0.0" (from <application> in /D:/jdev_10g/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml): This loader has been closed and should not be in use.*
    *11/04/30 10:49:54      at oracle.classloader.util.ClassLoadAsserts.fail(ClassLoadAsserts.java:154)*
    *11/04/30 10:49:54      at oracle.classloader.PolicyClassLoader.checkState(PolicyClassLoader.java:1994)*
    *11/04/30 10:49:54      at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1659)*
    *11/04/30 10:49:54      at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)*
    *11/04/30 10:49:54      at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)*
    *11/04/30 10:49:54      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)*
    *11/04/30 10:49:54      at oracle.ias.cache.Bucket.checkTtl(Unknown Source)*
    *11/04/30 10:49:54      at oracle.ias.cache.Bucket.cleanIdle(Unknown Source)*
    *11/04/30 10:49:54      at oracle.ias.cache.CacheInternal.cleanIdle(Unknown Source)*
    *11/04/30 10:49:54      at oracle.ias.cache.CacheCleaner.run(Unknown Source)*
    Please help me out with this and let me know if I am wrong somewhere.
    Thanks,
    Ankit

    Ankit
    Regarding design of page, if you will create single page responsible for both searching as well as creating new records. It will become complex to handle. So you can proceed with a approach in which you can have a search region with employee id and a results region with all the columns. You can have a create employee/resp button on the results table region that will navigate you to a new page where user can type data and click on save button, then navigate back to search page.
    Depending on the action selected from the drop down.. i want to initiate one workflow giving all the info to it as parameters.. verify all the info using pl/sql..send a notification to the employee's >manager.. if he approves ..add/update/end accordingly.. after that drop a mail to the employee .. You didnt mention where this drop down exists. You can initiate the workflow using plsql API and this plsql you can call from OAF controller using callable statement. Below link you may use for callable statement.
    http://oracleanil.blogspot.com/2009/04/itemqueryvoxml.html
    Thanks
    AJ

  • Disable a field programatically in the OAF Page...pls  help !!!!!!!!!!!!!!

    Hi ,
    My requirement is-
    I have a region in the page which has 4 fields.Based on a condition I need to disable these fields.
    For this I tried extending a VO and created a transient Boolean Attribute and kept a SPEL expression in Read Only property for these attributes so that if i set the value in the controller to true / false the fields will be enabled or disabled accordingly.
    I extended the controller and wrote the below code.But it is not working as expected.PLSSSSSSSSSSSSSSSSS hELP.
    HzPuiOrganizationProfileAMImpl aam = (HzPuiOrganizationProfileAMImpl)oapagecontext.getApplicationModule(oawebbean);
    oawebbean.
    //OAViewObject mreqVO = (OAViewObject) (HzPuiOrganizationProfileAMImpl)oapagecontext.getApplicationModule(oawebbean).findViewObject("xxHzPuiOrganizationProfilesVO");
    // xxHzPuiOrganizationProfilesVOImpl xvo = (xxHzPuiOrganizationProfilesVOImpl)oapagecontext.getApplicationModule(oawebbean).findViewObject("xxHzPuiOrganizationProfilesVO");;
    //xvo.getCurrentRow().getAttribute("DisableAttr");
    xxHzPuiOrganizationProfilesVOImpl xvo = (xxHzPuiOrganizationProfilesVOImpl)oapagecontext.getApplicationModule(oawebbean).findViewObject("HzPuiOrganizationProfilesVO");
    int i =xvo.getRowCount();
    // throw new OAException("test "+String.valueOf(i),OAException.ERROR); -- HERE I GET THE COUNT AS 1
    String rowReference = oapagecontext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
    if(rowReference != null)
    xxHzPuiOrganizationProfilesVORowImpl xxvorowimpl = (xxHzPuiOrganizationProfilesVORowImpl)aam.findRowByRef(rowReference);
    xxvorowimpl.setDisableAttr(Boolean.FALSE); //setreadOnlyAttr(Boolean.TRUE);
    throw new OAException("hi",OAException.ERROR);
    RowSetIterator Iter = xvo.createRowSetIterator("DataIter");
    Iter.setRangeStart(0);
    Iter.setRangeSize(i);
    Row row = null;
    row = Iter.getRowAtRangeIndex(0);
    row.setAttribute("DisableAttr",Boolean.TRUE);
    //xvo.getCurrentRow().setAttribute("DisableAttr",Boolean.FALSE);
    pls help me in solving the issue.
    Thanks
    Ramya

    Hi,
    Sample Method:
    public void DeleteMeasurePeriods()
    int fetchedrowcount;
    RowSetIterator deleteIter;
    OADBTransaction tr = getOADBTransaction();
    PeriodsVORowImpl row=null;
    PeriodsVOImpl mpvo=getPeriodsVO1();
    fetchedrowcount=mpvo.getRowCount();
    deleteIter = mpvo.createRowSetIterator("deleteIter");
    deleteIter.setRangeStart(0);
    deleteIter.setRangeSize(fetchedrowcount);
    for(int i=0;i<fetchedrowcount;i++)
    row= (PeriodsVORowImpl)deleteIter.getRowAtRangeIndex(i);
    if()
    row.setAttribute("DisableAttr",Boolean.TRUE);
    else
    row.setAttribute("DisableAttr",Boolean.FALSE);
    deleteIter.closeRowSetIterator();
    Regards
    Meher Irk

  • How to control the width of the columns in a table in the oaf page?

    hi,
    We have a requirement to adjust the width of the columns of the table so that they are in line with the width of the page.
    Please do share any feasible solution.
    thanks,
    Danish

    try to personalize and set the width property of item.
    else use below code in Controlller.
    1) public class wyseQotLinesCOEx extends QotLinesCO
    public CSSStyle cellUpperCase;
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    2)
    get handle of inputitem as inputbean;
    cellUpperCase = new CSSStyle();
    cellUpperCase.setProperty("width","50");
    if (inputbean != null)
    {        inputbean.setInlineStyle(cellUpperCase);
    }

  • How to add Video on the OAF page like youtube ?

    Any one know how to add Video on the page?

    If you are getting HTML code from one of these slideshow.com places, you can add this code to your iWeb pages with a little bit of work. Two things to keep in mind...1. No way to do this via iWeb directly, so it involves editing the published html files, and 2. Because iWeb republishes the html files whenever you update the your webpage, you will lose your changes and have to redo them to add your slideshows back.
    The general directions are as follows...
    1. Decide where you want your slideshow and know exactly what dimensions you need.
    2. Insert a text box onto your page and adjust its size to exactly your dimensions.
    3. Type in some uniquely identifiable text like, "SLIDESHOWHERE" without changing the font or anything else...just type it in.
    4. Publish your page with iWeb.
    5. Find the html file associated with your published page (either on your iDisk or in a folder depending on how you published) and open it in any text editor (like Microsoft Word, or Textedit, or anything). You may need to set your text editor to "ignore rich text" or to "show HTML source".
    6. Scroll through the html file and locate your placeholder text, e.g. "SLIDESHOWHERE".
    7. Replace the placeholder text with your html code and save your page.
    That's it. You should see your slideshow element show up in Safari where you placed the text box in iWeb!

  • How to get the function name in controller class

    Hi experts ,
    I am new to the OAF framework.
    i have created the two functions and bot he the function have the same controller class .i want to capture the function name or function id in the controller class.
    can you please let me know how to get the function id or function name in the controller class.

    Hi apurba,
    Thanks for the quick reply.
    i am trying to get the function name from the FunctionSecurity class,
    However in FunctionSecurity class there is no such method defined as getFunctionName();
    my requirement is ,i have two functions functionA and functionB defined.
    both the function has the same controller class.in controller class ,i need to get the function name ,based on the function name
    i will redirect the page to respective page.
    looking forward for you response.
    appreciate your help
    Thanks,
    KT

Maybe you are looking for

  • Loading Sign Problem

    I am using iPad 4 version 7.1.1. Why that loading sign spining? I have rebooted my device but still that sign is there. When i try to open a new page in safari that loading sign disappears...Please help

  • Need help with Java Programming

    Hello All, I dont know how to save all the lines separatly and then work with the numbers? Example TxtIn: 2 5 0 9 2 3 4 // I dont know how many lines will appear, and dont know how many numbers in a line 1 2 3 9 1 5 4 2 0 0 5 6 2 5 1 9 4 6 1 5 4 9 1

  • What is the secret not to include the iPhone 5 in the comparison !

    what is the secret not to include the iPhone 5 in the comparison ! http://www.apple.com/iphone/compare/

  • How can I organize Songs and Albums that keep getting mixed

    I am new to Ipod Nano I would like to know if I can keep the songs seperate from downloaded Albums. So I can play only individual mp3s not the full albums as the two seem to be mixed. I there a better way to keep songs and Albums organised to they do

  • Language Dependent template design

    Hi Guys,      Has anybody worked on how to incorporate language      dependent resource files in ITS templates of      BBPSTART? My client has such requirement and has      asked us to .htrc files for the same. Can anybody      brief me on this. I me