SetRendered(false) not working in ProcessRequest

hello,
in the (R12) Update Bank Details page of MY HR i am trying to render the AddDeposit (OAF ID) button to false, programmatically. Initially i want to do this 'as a test', but later want to put some conditions around it (if it works)
I have extended the SummaryCO.class to create xxSummaryCO.class and in that class i am writing the following code....(see below)
the code compiles and i can call the page (running from jdeveloper and the server) and i can see in jdeveloper that the System.out messages are being printed, meaning that the logic is going inside the area where it says to setRendered = false
But nothing is happening...i.e. the button is still visible
Does anyone have any ideas/clues as to why this is not working...i am guessing that may be i am using the wrong controller, i dont know?? Would appreciate any help please?
Thnaks,
Tariq
package tariq3.oracle.apps.pay.selfservice.payments.webui;
import oracle.apps.fnd.framework.webui.OAPageContext;
import oracle.apps.fnd.framework.webui.beans.OAStaticStyledTextBean;
import oracle.apps.fnd.framework.webui.beans.OAWebBean;
import oracle.apps.fnd.framework.webui.beans.nav.OAButtonBean;
import oracle.apps.pay.selfservice.payments.webui.SummaryCO;
public class xxSummaryCO extends SummaryCO
  public void processRequest(OAPageContext paramOAPageContext, OAWebBean paramOAWebBean)
    System.out.println("We are inside the extended controler -1");
    super.processRequest(paramOAPageContext, paramOAWebBean);
      System.out.println("We are inside the extended controler -2");
    OAStaticStyledTextBean dbuttonName = (OAStaticStyledTextBean)paramOAWebBean.findIndexedChildRecursive("AddDeposit");
      if (dbuttonName!= null)
          System.out.println("We are inside the extended controler -3");
          dbuttonName.setRendered(false);
      System.out.println("We are inside the extended controler -4");
  public void processFormRequest(OAPageContext paramOAPageContext, OAWebBean paramOAWebBean)
    super.processFormRequest(paramOAPageContext, paramOAWebBean);

Peddi, you are a genius!
i have somehow written the following code...and it works! haha:-)
thank you very much!
many thanks
tariq:-)
package tariq3.oracle.apps.pay.selfservice.payments.webui;
import oracle.apps.fnd.framework.webui.OAPageContext;
import oracle.apps.fnd.framework.webui.beans.OAStaticStyledTextBean;
import oracle.apps.fnd.framework.webui.beans.OAWebBean;
import oracle.apps.fnd.framework.webui.beans.form.OASubmitButtonBean;
import oracle.apps.fnd.framework.webui.beans.nav.OAButtonBean;
import oracle.apps.fnd.framework.webui.beans.table.OATableBean;
import oracle.apps.pay.selfservice.payments.webui.SummaryCO;
public class xxSummaryCO extends SummaryCO
  public void processRequest(OAPageContext paramOAPageContext, OAWebBean paramOAWebBean)
    System.out.println("We are inside the extended controler -1");
    super.processRequest(paramOAPageContext, paramOAWebBean);
      System.out.println("We are inside the extended controler -2");
      //OAStaticStyledTextBean dbuttonName = (OAStaticStyledTextBean)paramOAWebBean.findIndexedChildRecursive("AddDeposit");
      OATableBean table1 = (OATableBean)paramOAWebBean.findChildRecursive("EmployeeTable");
      System.out.println("We are inside the extended controler -2a");
      if (table1!= null)
          System.out.println("We are inside the extended controler -3");
          OAButtonBean dbutton = (OAButtonBean)table1.findChildRecursive("AddDeposit");
          if (dbutton!= null)
              System.out.println("We are inside the extended controler -3a");
            dbutton.setRendered(false);
      System.out.println("We are inside the extended controler -4");
  public void processFormRequest(OAPageContext paramOAPageContext, OAWebBean paramOAWebBean)
    super.processFormRequest(paramOAPageContext, paramOAWebBean);

Similar Messages

  • SetRendered not working in ProcessRequest

    Dear All,
    I am trying to make rendering property of 1 MessageTextInput item as true in processrequest() (by default it is render -false)
    I am getting error as "You have encountered an unexpected error. Please contact the System Administrator for assistance. "
    I tried Bouncing Apache,clearing cache
    ----------------------------------------------------------------------------------------CO--------------------------------------------------------------------
    package xxxqoc.oracle.apps.fnd.wf.worklist.webui;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.server.*;
    import oracle.apps.fnd.framework.server.OAViewObjectImpl;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.server.OADBTransaction;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.jbo.domain.Number;
    import oracle.jbo.Row;
    import oracle.apps.fnd.framework.OARow;
    import oracle.apps.fnd.framework.webui.beans.OADescriptiveFlexBean;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageStyledTextBean;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean;
    import oracle.apps.per.selfservice.competenceprofile.server.HrCurrSessVOImpl;
    import oracle.apps.per.selfservice.competenceprofile.server.HrCurrSessVORowImpl;
    import oracle.apps.fnd.framework.server.OADBTransaction;
    import oracle.jbo.domain.Number;
    import oracle.apps.per.selfservice.extrainfotype.server.ExtraInfoTypeVORowImpl;
    import oracle.apps.per.selfservice.extrainfotype.server.ExtraInfoTypeVOImpl;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.per.common.CommonUtils;
    import java.sql.CallableStatement;
    import oracle.jbo.Transaction;
    import java.sql.Types;
    import oracle.apps.fnd.framework.server.OADBTransactionImpl;
    import oracle.apps.fnd.framework.server.OADBTransaction;
    import oracle.apps.fnd.framework.OAException;
    import java.sql.SQLException;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean;
    public class xXFinalCoursePriceCO extends oracle.apps.fnd.framework.custom.webui.CustomPageLayoutCO
    public static String visible;
    public static String invisible;
    public static String user_id;
    public static int count;
    public static String get_user_id_count;
    public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    //--------------------Training Head User Id Match---------------------
    user_id = String.valueOf(oapagecontext.getUserId());
    String notif_id =oapagecontext.getParameter("NtfId");
    String course_price;
    String information_type;
    String transaction_step_id;
    OAMessageTextInputBean fieldHelloName =(OAMessageTextInputBean)oawebbean.findIndexedChildRecursive("Finalcourseprice");
    try
    //--------------------Procedure to get user_id count---------------------
    OADBTransaction txn11 = oapagecontext.getApplicationModule(oawebbean).getOADBTransaction();
    CallableStatement cs11 =txn11.createCallableStatement("begin XXQNOC.XXXFCP_USER_ID(:1,:2); end;",1);
    cs11.registerOutParameter(2, Types.CHAR);
    cs11.setString(1,user_id);
    cs11.execute();
    get_user_id_count = cs11.getString(2);
    cs11.close();
    //--------------------If Current user is a Training Head--------------
    Number get_user_id_count_n = new Number(get_user_id_count);
    count=(get_user_id_count_n).intValue();
    if(count<1) //----for testing actually ( count > 0 )
    //-------------------Procedure to get information_type to render(True/False) Message Text Field
    OADBTransaction txn = oapagecontext.getApplicationModule(oawebbean).getOADBTransaction();
    CallableStatement cs =txn.createCallableStatement("begin XXQNOC.XXXFINAL_COURSE_PRICE(:1,:2,:3,:4); end;",1);
    cs.registerOutParameter(2, Types.CHAR);
    cs.registerOutParameter(3, Types.CHAR);
    cs.registerOutParameter(4, Types.CHAR);
    cs.setString(1,notif_id);
    cs.execute();
    course_price = cs.getString(2);
    information_type = cs.getString(3);
    transaction_step_id = cs.getString(4);
    cs.close();
    if("QOC_OLM_EXT_EIT".equalsIgnoreCase(information_type)||"QOC_OLM_INT_EIT".equalsIgnoreCase(information_type)||"QOC_OLM_E_EXT_EIT".equalsIgnoreCase(information_type)||"QOC_OLM_E_INT_EIT".equalsIgnoreCase(information_type))
    fieldHelloName.setRendered(true);
    //String fcp = (String)fieldHelloName1.getText(oapagecontext);
    visible = "T"+user_id;
    throw new OAException(visible, OAException.INFORMATION);
    else
    //fieldHelloName.setRendered(false);
    visible = "F"+user_id;
    throw new OAException(visible, OAException.INFORMATION);
    catch (SQLException sqle)
    throw OAException.wrapperException(sqle);
    super.processRequest(oapagecontext, oawebbean);
         public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    if(count<1) //----for testing actually ( count > 0 )
    //-------------------------------catch the event of Approve Button------------
    String event_name =oapagecontext.getParameter(EVENT_PARAM);
    if("respond".equalsIgnoreCase(event_name))
    String notif_id =oapagecontext.getParameter("NtfId");
    String course_price;
    String information_type;
    String transaction_step_id;
    try
    //--------------------------------Procedure for getting the course price using the NotificationId------
    OADBTransaction txn = oapagecontext.getApplicationModule(oawebbean).getOADBTransaction();
    CallableStatement cs =txn.createCallableStatement("begin XXQNOC.XXXFINAL_COURSE_PRICE(:1,:2,:3,:4); end;",1);
    cs.registerOutParameter(2, Types.CHAR);
    cs.registerOutParameter(3, Types.CHAR);
    cs.registerOutParameter(4, Types.CHAR);
    cs.setString(1,notif_id);
    cs.execute();
    course_price = cs.getString(2);
    information_type = cs.getString(3);
    transaction_step_id = cs.getString(4);
    cs.close();
    //----------------------------------Procedure of updating the courseprice with finalcourseprice
    OAMessageTextInputBean fieldHelloName1 =(OAMessageTextInputBean)oawebbean.findChildRecursive("Finalcourseprice");
    String check = (String)fieldHelloName1.getText(oapagecontext);
    if(check!=null)
    OADBTransaction txn1 = oapagecontext.getApplicationModule(oawebbean).getOADBTransaction();
    CallableStatement cs1 =txn1.createCallableStatement("begin XXQNOC.XXXFCP_UPDATE_TABLE(:1,:2); end;",1);
    cs1.setString(1,transaction_step_id);
    cs1.setString(2,check);
    cs1.execute();
    cs1.close();
    catch (SQLException sqle)
    throw OAException.wrapperException(sqle);
    super.processFormRequest(oapagecontext, oawebbean);
    It will be very helpful if I get some solution on it.
    Thanks

    Hi Pratap,
    Following is the detailed Error message
    Logout
    Error Page
    Exception Details.
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:616)
         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:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         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:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
         at OA.jspService(_OA.java:221)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         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:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.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 ##
    java.lang.NullPointerException
         at xxxqoc.oracle.apps.fnd.wf.worklist.webui.xXFinalCoursePriceCO.processRequest(xXFinalCoursePriceCO.java:119)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:600)
         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:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         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:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
         at OA.jspService(_OA.java:221)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         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:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.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)
    java.lang.NullPointerException
         at xxxqoc.oracle.apps.fnd.wf.worklist.webui.xXFinalCoursePriceCO.processRequest(xXFinalCoursePriceCO.java:119)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:600)
         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:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         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:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
         at OA.jspService(_OA.java:221)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         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:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.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)
    at xXFinalCoursePriceCO.java:119 line, code is : fieldHelloName.setRendered(true);
    Thanks
    Sud

  • SetRendered(true) not working for an LOV

    Hi,
    I have a dropdown(soc1) in my page which has three values : A, B and C. Below that drop down are three LOVs (say ilov1, ilov2 and ilov3), which are to be rendered dynamically based on the values selected from the dropdown. i.e. if I select A, then ilov1 has to be rendered, if I select B then ilov2, if I select C then ilov3 has to be rendered. I have used the below piece of code in a backing bean :
    I have set the rendered property for ilov1, ilov2 and ilov3 as false in my jsff page. And I have set AutoSubmit property to true for soc1.
    The below method is invoked through the valueChangeListener when I select a particular value from a drop down (soc1).
    *public void setRendered(ValueChangeEvent event){*
    String str = (String)valueChangeEvent.getNewValue();
    *if (str.equalsIgnoreCase("A")) {*
    getIlov1().setRendered(true);
    getIlov2().setRendered(false);
    getIlov3().setRendered(false);
    *} else if (str.equalsIgnoreCase("B")) {*
    getIlov1().setRendered(false);
    getIlov2().setRendered(true);
    getIlov3().setRendered(false);
    *} else if (str.equalsIgnoreCase("C")) {*
    getIlov1().setRendered(false);
    getIlov2().setRendered(false);
    getIlov3().setRendered(true);
    AdfFacesContext.getCurrentInstance().addPartialTarget(ilov1);
    AdfFacesContext.getCurrentInstance().addPartialTarget(ilov2);
    AdfFacesContext.getCurrentInstance().addPartialTarget(ilov3);
    If I debug the code, I can see the control passing through this method in the desired manner. It is executing the above code correctly as per the condition provided. But the Lov is not rendered on the page.
    Can anyone please let me know the solution for the above problem ?
    Thanks in advance.
    -Kavitha

    Thanks John. This worked. Am just curious to know why it didnt work with Rendered. Any particular reason ?
    -Kavitha

  • Immediate = 'false' not working for pop up

    Hi,
    I am new to this technology.
    I have a link on screen . upon clicking the link my pop up gets opened . Which has certain text fields and drop down. If i enter some wrong data in the fields and click on cancel, the pop up gets closed. And EM doesnt come at that time . But as soon as the pop up window closes, I can see the EMs on the parent screen. Ideally if I click on cancel i should no where get EM . Please help me out why is it not working.
    I have set immediate='true' on the cancel button .
    ADF 11g & JSF 2.0

    hi,
    Thanks for the response. I have called the resetActionListener but not working.
    Also i dont want those values to get saved when cancel is clicked. Still they are coming as pre populated when i again click on the hyperlink to open the pop up.
    <af:commandImageLink icon="/theme/img/cancel.png"
    immediate="true">
    <af:showPopupBehavior triggerType="action"
    popupId="confirmationPopUp"/>
    <af:resetActionListener/>
    </af:commandImageLink>
    Scope is view scope for both the beans . Parent screen bean and pop up bean.
    Edited by: 924834 on Jun 11, 2012 1:25 AM

  • Javascript block through javascript.enabled false not working as expected in newer versions, any actual way?

    Since a few versions, around 24.0 or earlier, when you toggle javascript.enabled from true to false to block javascript, doesn't work after load a page.
    Further details:
    1.- load a page with javascript enabled
    2.- toggle javascript preference to block javascript (javascript.enabled from true to false)
    3.- if you interact with javascript elements = they still work
    This wasn't this way in earlier versions.
    You can check in the following page. You'll see that the only way to actually block javascript execution is to load the page with the preference javascript.enabled set to false (A.K.A. javascript blocked):
    http://www.geocities.ws/jothache/event_listener.html
    Note: to easy change javascript preferences, for those don't want to play with about:config you can use addons like QuickJava:
    https://addons.mozilla.org/en-US/firefox/addon/quickjava/
    I find that how it works now, in the latest versions, it is a VERY HUGE SECURITY ISSUE as javascript is never actually blocked when the preference is toggled and AJAX (httpXMLrequest through javascript) still works so the possibilities of lost of privacy inreases, as for example, mouse tracking and send it to the server, not only as the example scripts I posted above.
    The question is, is there anyway to really block javascript in the latests versions or should I report this as a bug?
    Regards.

    Hi guigs2,
    if there is no problem in open the bug ticket being a simple user I'll report by myself (if I haven't misunderstood you). (Confirm this and I'll do myself).
    About the AJAX problem, here we have a sample test that works after toggle the preference:
    http://www.w3schools.com/xml/xml_http.asp
    I know about noscript and I don't like it. I prefer to do manually (those measures and more). What bothered me is that even toggle the preference, what in the past did the job of stopping the execution of scripts, now doesn't. In about version 24 it was only happening to event listeners not being blocked (used nowadays for dynamic events assignments). Now is with every javascript code.
    About the tracking methods, I'm aware of HTTP tracking without any need of javascript. Even a simple "knock knock" on any kind of server leaves a trace.
    I was just pointing that this preference stopping doing its job (stopping scripts executions) has the worst sceneario in a security way with XMLHttpRequest calls.
    But one of the things that bothers me too, and it is not related to tracking, is that, in humble machines as mine, some javascript codes make drop whole performance and the preference toggle now does nothing, so the script keeps running without being able of doing anything and sometimes you don't have the option to load a page without javascript because you need some feature of that page that requires javascript what becomes "all or nothing".
    Regards.

  • Controller="false" not working in ie8

    I'm putting some quicktime movies on my website and I don't really want the player bar at the bottom showing. Using the code that is generated with the xport for web, 3 entries such as: controller="false"
    works in Safari, but not in ie8. Haven't tried FF yet. Is there any other way to hide this thing? Here is the entire code:
    <script type="text/javascript"><!--
    QTWritePosterXHTML('Click to Play', 'videos-poster.jpg',
    'videos.mov',
    '640', '360', '',
    'controller', 'false',
    'autoplay', 'true',
    'bgcolor', 'black',
    'scale', 'aspect');
    //-->
    </script>
    <noscript>
    <object width="640" height="360" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab">
    <param name="src" value="videos-poster.jpg" />
    <param name="href" value="videos.mov" />
    <param name="target" value="myself" />
    <param name="controller" value="false" />
    <param name="autoplay" value="false" />
    <param name="scale" value="aspect" />
    <embed width="640" height="360" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"
    src="videos-poster.jpg"
    href="videos.mov"
    target="myself"
    controller="false"
    autoplay="false"
    scale="aspect">
    </embed>
    </object>
    </noscript>

    Open the html file created by the export using any Web browser.
    Make sure you're using both of the text boxes. Your code above only shows the lower part of the code.
    In the "head" tag you must add the links to the external javascript files:
    Use this code in the <head> of your web page:
    <script src="http://www.apple.com/library/quicktime/scripts/ac_quicktime.js" language="JavaScript" type="text/javascript"></script>
    <script src="http://www.apple.com/library/quicktime/scripts/qtp_library.js" language="JavaScript" type="text/javascript"></script>
    <link href="http://www.apple.com/library/quicktime/stylesheets/qtp_library.css" rel="StyleSheet" type="text/css" />
    In a browser that uses javascript (most modern browsers) the lower portion of the page code isn't used (object and embed tag code and the noscript) and the upper portion must be included in the head tag of your html file.

  • ShowFieldCodes = false not working as expected in MS Word 2013.

    Hi,
    I am facing an issue with hiding the field codes in Word 2013, the same code works fine in Word 2010.
    I have the below code to insert the field codes,
     Word.Range fldRng = foundRng.Duplicate;
                    object dir = Word.WdCollapseDirection.wdCollapseStart;
                    fldRng.Collapse(ref dir);
                    object type = Word.WdFieldType.wdFieldAddin;
                    object text = "MyMarker";
                    object p = false;
                    Word.Field f = sourceRng.Fields.Add(fldRng, ref type, ref text, ref p);
    At certain point of time in my code i show the field codes and hide the field codes as shown in below code snippet, this works absolutely fine in Word 2010 but in Word 2013 sometimes it works as expected and some times field codes are not hidden,
    _docWindow.View.ShowFieldCodes = true;
    _docWindow.View.ShowFieldCodes = false;
    Please help me out to solve this issue. Thanks in advance .
    Regards,
    Chetan Rajakumar

    Hi Cindy,
    I checked and confirmed that 'Alt+F9' toggles the field codes correctly.
    Yes, whatever the field codes i added from the code all of them are not hidden. when i have below code:
    _docWindow.View.ShowFieldCodes = true;
    _docWindow.View.ShowFieldCodes = false;
    because of project reqquirement we had the above code.
    But if i comment the above bolded line and i dont show the field codes, After executing i found out that still the field codes are visible at some lines(not in all the lines) in the  document. I am not making any changes in the settings/options/etc
    after i execute the code. I am confused whether any other code is making the fieldcodes visible. Do we have any other syntax/codes that can make the fieldcodes visible ? Thanks in advance.
    Regards,
    Chetan Rajakumar

  • Tree showRoot = 'false' not working

    Im having trouble getting the root not to show with my tree
    that has an XMLList dataprovider. I ended up opening the component
    explorer and copying the example code (which works in the example)
    and pasting it into a new app. When I run it, it doesnt work. Has
    anyone came across this problem?

    I have come across the same problem. My only solution was to
    remove the root level! not much of a solution though :-(
    As another test, after I removed the root node (and compiled)
    I added the node again and it was not displayed if the switch was
    showRoot="false". Can't explain it.

  • Stage.showDefaultContextMenu = false; not working in CS5.5?

    When publishing a SWF, why doesn't stage.showDefaultContextMenu = false; make the main menu bar disappear in flash CS5.5. It used to in flash CS3? Has anyone got an alternative piece of code? Many thanks in advance.
    E

    I just found the solution in this article:
    http://kb2.adobe.com/cps/842/cpsid_84287.html
    Just done the first solution and now premiere works very well.

  • SharePoint On WebProvision EnableVersioning=false not working

    Hi,
    I have a WebProvisioned  event receiver attached to Publishing site template.
    The notion is to disable the moderation by default when a site is created using Publishing site template.
    In my scenario there are no errors thrown but i do not see any changes in the moderation status.
    Here by follows the code snippet that disabled the moderation status.
    SPList Pages=PubWeb.GetList("Pages");
    Pages.EnableModeration=false;
    Pages.update();
    PubWeb.update();
    Ready for Action

    Does not seem to help.
    Except Enable moderation, other updates seem to take effect
    Ready for Action

  • Visible not working on Mac

    Dear,
    obj_mc.visible = false; not working on mac, work good on pc.
    AIR \ AS3

    package
         import flash.events.MouseEvent;
         import flash.events.InvokeEvent;
         import flash.events.Event;
         import flash.display.Loader;
         import flash.desktop.*;
         import flash.net.URLRequest;
         public class AppBehavior
              var icon:Loader = new Loader();
              var sysTrayIcon:SystemTrayIcon;
              public function AppBehavior()
                   var minBtn:AppMin = new AppMin();
                   minBtn.x = 360;
                   minBtn.y = 380;
                   addChild(minBtn);
                   // constructor code
                   minBtn.addEventListener(MouseEvent.MOUSE_DOWN,handleMinimizeBtn);
                   //////////////////Check if it Mac OS or Windows
                   if (NativeApplication.supportsDockIcon)
                        icon.contentLoaderInfo.addEventListener(Event.COMPLETE,iconLoadComplete);
                        icon.load(new URLRequest("Graphics/128.png"));
                        var dock:DockIcon = NativeApplication.nativeApplication.icon as DockIcon;
                        NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE, undock);
                   else if (NativeApplication.supportsSystemTrayIcon)
                        icon.contentLoaderInfo.addEventListener(Event.COMPLETE, iconLoadComplete);
                        icon.load(new URLRequest("Graphics/16.png"));
                        sysTrayIcon = NativeApplication.nativeApplication.icon as SystemTrayIcon;
                        sysTrayIcon.tooltip = "Notification";
                        sysTrayIcon.addEventListener(MouseEvent.CLICK,undock);
              private function handleMinimizeBtn(evt:MouseEvent)
                   Main.MS.nativeWindow.visible = false;
              private function iconLoadComplete(event:Event):void
                   NativeApplication.nativeApplication.icon.bitmaps = [event.target.content.bitmapData];
              private function undock(event:Event = null):void
                   NativeApplication.nativeApplication.icon.bitmaps = [];
                   Main.MS.nativeWindow.visible = true;
    My problem is: i added the [Check if it Mac OS or Windows] part inside the handleMinimizeBtn. when i added it as above ( outside minimize function ) its works fine.
    Thanks

  • A bug in EA4:about setRendered() of UIComponent not work ..

    i found setRendered() of UIComponent not work..
    here is my jsp :
                   <%
              FacesContext context = FacesContext.getCurrentInstance();
                        UIComponent foundComponent = context.getTree().getRoot().findComponent("delcancel");
                        if (foundComponent != null) {
    foundComponent.setRendered(true);
                   %>
    <h:command_button id="delcancel" type="submit" label="delcancel"
    commandName="delcancel" rendered="false">
    </h:command_button>
    and submit is always not rendered..why?

    Yes, I've encountered the same bug. See the thread "practices? setting an acknowledgment"
    at
    http://forum.java.sun.com/thread.jsp?forum=427&thread=417565&tstart=0&trange=15

  • False/True Case is not working. Please Help!

    Dear all,
    I attached my block diagram, one attachment refers to true case and the other refers to false case.
    My program runs like this: when i run the vi , after homing the motor (there is home.vi), DAQ is collecting the values in the while loop, and according to the DAQ's value, motor should run the False/True case but it does not
    As a result: true/false case is not working which is located at the outside of the loop(bottom side of the block diagram)
    When i put the the True/false inside the Loop(DAQ's loop) , then it is working. But this brings lots of problem, two of them is: 
    1-) When the DAQ values goes below to "50" then it turns to true case again,
    2-) The false case has stop.vi which cause to motor stop every iteration of the loop.
    So that is why i put True/False case out of the loop but now it is not working at all.
    Please answer, waiting response.
    Thank you,
    Have a nice day,
    Kind Regards.
    Attachments:
    OutloopTrueMode.pdf ‏432 KB
    OutofLoopNotWorking.pdf ‏443 KB

    Salander wrote:
    Dear GerdW,
    Thank you for reply, You can see my answers written with red.
    "As long as the case structure is located outside the loop it will not be called before the loop stops. THINK DATAFLOW!"
    - The case structure need to run same time with the loop, because as you can see from the attachments the case structure is also integrated with DAQ values.. loop is continuous till i press the stop button.  So what i understand that this case structure will not work because loop is continuous?? Cant we upgrade the vi. or do smthg that it can be able to work same time with the loop??
    Kind Regards.
    You have to place the case structure inside the while loop ( Any significance is there on placing the case outside the loop? ).
    Salander wrote:
    Dear GerdW,
    Btw. it would be much more useful to attach real pictures or, even better, the VI...
    Because most of the people dont have my "motor controller's labview drivers"  I attached as a PDF file which is very popular.
    Not Really * .png file ( vi snippet ) is much more popular here in Discussion Forum
    The best solution is the one you find it by yourself

  • Shutdown(block='false') only works via Admin Server, not managed servers

    Hello,
    We want to shut down all 10 managed servers in our domain gracefully, and in parallel. 5 of those managed servers are on the same OS/host as the AdminServer, the other 5 are on a separate OS/host (i.e. we have 5 x 2-node clusters).
    I'm writing scripts to gracefully shut down all of our servers upon an OS reboot command. On the OS with the AdminServer (and 5 managed servers), I can simply do this:
    connect(user, pwd, http://localhost:7001)
    shutdown('myserver1', 'Server', block='false')
    shutdown('myserver3', 'Server', block='false')
    shutdown('myserver5', 'Server', block='false')
    shutdown('myserver7', 'Server', block='false')
    shutdown('myserver9', 'Server', block='false')
    All 5 servers will be shutting down at the same time. If they each took 2 minutes to shut down, the whole shutdown process would take 2 minutes.
    However, on the OS running the other managed servers, I cannot assume that the AdminServer [on the other OS] will be online. Hence, I would like to gracefully shut down each server locally like this:
    connect(user, pwd, url='t3://localhost:8001')
    shutdown(block='false')
    disconnect()
    connect(user, pwd, url='t3://localhost:9001')
    shutdown(block='false')
    disconnect()
    connect(user, pwd, url='t3://localhost:10001')
    shutdown(block='false')
    disconnect()
    connect(user, pwd, url='t3://localhost:11001')
    shutdown(block='false')
    disconnect()
    connect(user, pwd, url='t3://localhost:12001')
    shutdown(block='false')
    disconnect()
    NOTE that the ports are different (i.e. I connect via WLST to the managed servers themselves rather than to the AdminServer).
    Unfortunately, in this scenario, the block='false' does not work. WLST waits until the managed server is shut down before proceeding to the next connect() command. So if each server took 2 minutes to shut down, the whole shutdown process now takes 10 minutes.
    We don't want to use the nmKill() command on the local Node Manager because we want a graceful shutdown.
    What options do we have to issue a graceful shutdown command either to a local Node Manager or to the managed servers themselves (since we can't expect the AdminServer to be online when our script runs)?
    Best regards,
    Michael

    Hi Mike,
    WLST will create it temp directory with /var/tmp/wlstTemp which is shared by all users. Since we cannot differentiated by different users which cause block on particular user at that time.
    One solution is to grant write access to all users to the directory where the WLST temporary directory is created (e.g. on Solaris /var/tmp; you can verify the default on your system by executing java utils.getProperty and search for java.io.tmpdir).
    If for whatever reason you cannot grant these access modes on the temporary directory, then you can create a directory somewhere on the file system where every user has the correct permissions.
    Start the scripting tool with one the following options to redirect the cache files to the specified directory. Dependent on your environment one or the other will apply.
    java -Djava.io.tmpdir=<path-to-tmpDir> weblogic.WLST
    or
    java -Dpython.cachedir=<path-to-tmpDir> weblogic.WLST
    This will be useful to make shutdown of servers without any problem.
    Note: block=false will always works it should not be the problem.
    Regards,
    Kal

  • Why the document.execCommand('InsertImage', false, URL) is not working

    Hi I am using this code to upload the images in the Mac Safari browser. Its not working in Mac safari(loading the image. Just return the blank or empty). But its working the all other remain browser(ie, mozila, opera, safari). Using Code :
    frames[0].focus();
    frames[0].document.execCommand('InsertImage', false, URL);
    alert(frames[0].document.execCommand('InsertImage', false, URL); � return false. But the other browser return true.
    frames[0].focus();
    URL Like = http://palani/graphics/IMAGE_GALARY/rose5.jpg].
    This image is not loading the Mac safari HTML richText Editor.
    Pls anybody give a correct solution to me.
    Palani

    Hi Stevejluke . I am trying to load the images in javaScript.
    This is js file contains the code. The values is passing correctly.
    code is :
    function imageLoadingToRichText(imageName, rte) // palani
         LoadsImage(imageName.name, rte); // (or)document.getElementById('introductionText'));
         // rte is richText in Jsp page like --->>> writeRichText('introductionText', document.getElementById('hiddenIntroductionText').innerHTML, null, null, null, null);
    Another the richText.js file contains the below part.
    function LoadsImage(ctl, rte ){
    frames[0].focus();
    frames[0].document.execCommand('InsertImage',false, ctl);
    frames[0].focus();
    }

Maybe you are looking for