Go button in View Panel of Query Region

Hi,
I have a search page uses Query Region, and query region includes Simple Search Panel and View Panel, I understand to get the id of the Go button in Simple Search Panel, the method is: queryBean.getGoButtonName().
How can get the id of Go button in View Panel? In dev guide, it says: pageContext.getPersonalizeGoButtonName(), but this method gives compile error.There is no this method in javadoc of pageContext.
Can you please help?
thanks
Lei

Try queryBean.getPersonalizeGoButtonName()

Similar Messages

  • View panel of query region

    Hi ,
    I have seach page uses query region where 'initial view panel' is true, when I click on 'personalize' button on view panel, then I come to 'Personalize View' page, when I click 'create view', I get error:
    Exception Details.
    oracle.apps.fnd.framework.OAException: java.lang.ClassCastException: oracle.apps.fnd.framework.webui.beans.OAImageBean
         at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:75)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.lang.ClassCastException: oracle.apps.fnd.framework.webui.beans.OAImageBean
         at oracle.apps.fnd.framework.webui.OAAdvancedSearchHelper.initConditionsVO(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAAdvancedSearchHelper.addAkChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.setMetaDataProperties(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.setMetaDataProperties(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAAdvancedSearchHelper.setMetaDataProperties(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAAdvancedSearchHelper.createWebBean(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBeanUsingHelper(Unknown Source)
         at oracle.apps.fnd.framework.webui.OACustomizationCOHelper.createAdvancedSearchBean(Unknown Source)
         at oracle.apps.fnd.framework.customjrad.webui.CustomJRADTableViewsUpdateCO.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:75)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    java.lang.ClassCastException: oracle.apps.fnd.framework.webui.beans.OAImageBean
         at oracle.apps.fnd.framework.webui.OAAdvancedSearchHelper.initConditionsVO(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAAdvancedSearchHelper.addAkChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.setMetaDataProperties(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.setMetaDataProperties(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAAdvancedSearchHelper.setMetaDataProperties(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAAdvancedSearchHelper.createWebBean(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBeanUsingHelper(Unknown Source)
         at oracle.apps.fnd.framework.webui.OACustomizationCOHelper.createAdvancedSearchBean(Unknown Source)
         at oracle.apps.fnd.framework.customjrad.webui.CustomJRADTableViewsUpdateCO.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:75)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    can you help?
    thanks
    Lei

    Well, As I don't see any reference to the your code in the error stack and as its all happening on the personalization page, it gives me a feeling that it is a framework error. You might want to provide your test case to support.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Where are Views created on query region stored in database?

    Hello All,
    Using 'Saved Search' in my query region, I have created a View.
    I want to know where is this created 'View' stored in the database.?
    Regards,
    Rabo

    Hello
    Nope.
    By 'View' I mean, the 'Save Search' criteria.
    Where are these *'Save Search'* criteria's stored/saved in the database.?
    Regards

  • Hide Personalize Button in Vews Panel?

    Hi friends,
    (Apps R12)
    Is there any way to hide the "Personalize" button in Views panel?
    (even modifying the .xml... do you know which one is it?)
    Thanks!

    hi
    although i have not cheked if "personalize page " is having any function ,please check if it is having function name ,then u can hide this in process request of CO using the following code
    if (< condition >)
    OAPageLayoutBean page = pageContext.getPageLayoutBean();
    page.prepareForRendering(pageContext);
    OAGlobalButtonBarBean buttons = (OAGlobalButtonBarBean)page.getGlobalButtons();
    OAGlobalButtonBean button =
    (OAGlobalButtonBarBean)buttons.findIndexedChildRecursive("<FUNCTION_NAME>");
    button.setRendered(false); // Hide the global button, or
    button.setDisabled(true); // Disable the global button so it renders, but is
    not selectable
    thanx
    Pratap

  • Handling Go button in query region

    Hi Guru,
    I am working on standard page for Order Lines under Purchasing. When i am trying to get the query bean its returning null value. I have tried as below
    OAQueryBean lineQueryBean = (OAQueryBean)oawebbean.findChildRecursive("LinesQueryRN");
    This lineQueryBean is returning null value.
    Can you tell me what could be the problem.
    The standard page for tihs query region has these properties
    Construction Mode: autoCustomizationCriteria
    Include Simple Panel: False
    Include Views Panel: True
    Include Advanced Panel: True
    Initial Panel: advanced
    Please reply on priority.
    Thanks a Lot.
    Edited by: user13316556 on Dec 11, 2010 2:20 PM

    f you want to get an handle of the GO button click you need write the following code in the processFormRequest of your controller.
    OAPageLayoutBean page = pageContext.getPageLayoutBean();
    OAQueryBean queryBean= (OAQueryBean)page.findChildRecursive("LinesQueryRN");
    String Go = queryBean.getGoButtonName();
    if(pageContext.getParameter(Go) != null)
    }Thanks
    --Anil
    http://oracleanil.blogspot.com

  • Can we handle 'GO' button in a 'QUERY' region

    Hi,
    Is it possible to handle 'GO' button in a 'QUERY' region.
    Can we modify its behavior by a controller kind of thing.
    Thanks & Regards,
    Swaroop

    Straight from the devguide :-)
    processFormRequest (OAPageContext pageContext, OAWebBean webBean)
    // Make sure that you are in the right panel
    OAQueryBean queryBean = (OAQueryBean) webBean;
    queryBean.getCurrentSearchPanel();
    // Handle the "Go" button click on the simple search panel
    if (SEARCH.equals (currentPanel) &&
    queryBean.getGoButtonName() != null)
    // retrieve your item and process it here.
    String value = pageContext.getParameter (<projectIdSimpleSearch>);
    // Build the appropriate where clause for projectIdSimpleSearch
    // and set it on your vo and execute its query
    // using the initQuery method.
    // Handle the "Go" button click on the advanced search panel
    if (ADVANCED_SEARCH.equals (currentPanel) &&
    queryBean.getGoButtonName() != null)
    // retrieve your item and process it here.
    String value = pageContext.getParameter(<projectIdAdvSearch>);
    // build the appropriate where clause for projectIdAdvSearch
    // and set it on your vo and execute its query
    // using the initQuery method.
    Thanks
    Tapash

  • Query Region - Changing "Go" Button

    Using JDeveloper 10.1.3.3 with R12.
    I was going through the tutorial and I completed the "Search" tutorial. After I was done, I wanted to customize it and play around with it and I'm trying to change the "Go" button to something different, but I can't seem to find where to change the text of the button.
    I guess because when you tell it to make a query region and search panel etc it automatically puts in those buttons? But how do I change the text of the buttons.
    Thank you in advance.
    Edited by: Pierre on Jun 14, 2012 12:09 PM

    Pierre,
    Yes this is possible. The trick here is to not start with the webBean, but the OAPageLayoutBean. Also you need to attach this controller as the controller of the table beneath your query region so that when it is called, the GO button exists.
    Here is the code (presume simpleSearchRN is the name of your query region, change to match your query region name):
    OAPageLayoutBean pl = (OAPageLayoutBean) pageContext.getPageLayoutBean();
    OAQueryBean qb1 = (OAQueryBean)pl.findChildRecursive("simpleSearchRN");
    OASubmitButtonBean sb = (OASubmitButtonBean) qb1.findChildRecursive(qb1.getGoButtonName());
    sb.setText("SmartyPants");
    Hope this helps.
    Kristofer Cruz

  • Can we add button in query region  along with go and clear

    Hi Friends,
    i have a requirement as below steps-
    1)i have developed search pgae by using query regiion
    2) in pgae,first we have search items,go and clear(submit buttons), table region.
    3)here go and clear buttons came automatically.
    4) i can able to add button in front of the page and end of the page.
    4) my requirement is i need to add one more button along with go and clear(here go and clear button are in between search items and table region) .
    5)i am not able to add button along with go and clear.
    Can any one know how to do this--
    Thanks in Advance
    vamshi

    Hi Vamshi,
    You can not create extra buttons in Standard Query region.
    Alternatively you can create your custom region for the search and there you can add a button. If you don't need advanced region, you can create the custom region in place of standard one.
    Anoop

  • Unable to clear the data by clear button in Query region in Expenses Home

    Hi,
    I have created two custom regions of query type through JDeveloper,
    Clear button is not working in one region (especially which is on top of both, no matter region 1 or region 2 )
    I didn't write any code there
    please advise how to fix this one
    Thanks
    Suresh

    Extend the controller class file
    Write below code in process request
    OAQueryBean query1 = (OAQueryBean)oawebbean.findIndexedChildRecursive("QueryRN");
         query1.setClearButtonName("CustomClearButton");
         query1.setGoButtonName("CustomGoButton");
    Thanks
    Suresh

  • Query Region Personalization on Advanced Search Panel

    Hi all,
    I am trying to personalize query region. I have added a new search item to the advanced search panel and to the table (Search Allowed is set to the true). However when i tried to add a new mapping, I can select result item but the search item displays nothing in its list.
    Therefore i cannot map the items.
    Any solution for this problem?
    Regards.
    Anil

    Any help will be appreciated.
    Regards.
    Anil

  • How to get handle of go, clear button in query region.

    Hi: I have a search page built using query region, I need to make an API (method) call on clicking on "Go" button.
    I tried the following as found in OA Framework discussion forum, but observed that "go" is always true in processFormRequest method and always false in processRequest method.
    I did check the methods of OASubmitButtonBean also, but unable to find out how exactly I get "the handle of go button click event" in this case to handle my requirement.
    Any idea if its possible or not, and if yes, then how?
    OAQueryBean queryBean = (OAQueryBean)webBean.findChildRecursive("QueryRN");
    String idGo = queryBean.getGoButtonName();
    OASubmitButtonBean go = (OASubmitButtonBean)queryBean.findChildRecursive(idGo );
    I did also try to add my buttons in the query region, which work as I require, but in that case I need to hide existing go, clear buttons (which are added by default) in query region. That also doesn't work, as in processRequest method "go" is always false, and in processFormRequest I cannot call "go.setRendered(false);".
    Also, button should be disabled even on first loading of page also. Can anyone help?
    Regards,
    Anvita.

    modified code further as follows --
    OAQueryBean queryBean = (OAQueryBean)webBean.findIndexedChildRecursive("QueryRN");
    String idClear = queryBean.getClearButtonName();
    OASubmitButtonBean clear = (OASubmitButtonBean)queryBean.findChildRecursive(idClear);
    String idGo = queryBean.getGoButtonName();
    OASubmitButtonBean go = (OASubmitButtonBean)queryBean.findChildRecursive(idGo);
    System.out.println("I wish it works in +++++++++++++++++++++++++ " + idClear + " xxx " + idGo);
    if (pageContext.getParameter("idGo") != null)
    System.out.println("I wish it works in GO +++++++++++++++++++++++++ ");
    if (pageContext.getParameter("idClear") != null)
    System.out.println("I wish it works in Clear +++++++++++++++++++++++++ ");
    if (pageContext.getParameter("go") != null)
    System.out.println("I wish it works in GO button +++++++++++++++++++++++++ ");
    if (pageContext.getParameter("clear") != null)
    System.out.println("I wish it works in Clear button +++++++++++++++++++++++++ ");
    if (go != null)
    System.out.println("I wish it works in GO button direct +++++++++++++++++++++++++ ");
    if (clear != null)
    System.out.println("I wish it works in Clear button direct +++++++++++++++++++++++++ ");
    =============================================
    and output print is always the following even if i click on button or not (like select some LOV, or perform PPR action) .. hence it doesn't allow me to catch go button click event .. Please advice ..
    output PRINT --
    I wish it works in +++++++++++++++++++++++++ clearButton xxx customizeSubmitButton
    I wish it works in GO button direct +++++++++++++++++++++++++
    I wish it works in Clear button direct +++++++++++++++++++++++++

  • Query Region

    Hi ,
    I have a search page using Query Region (include Simple Search Panel - true, include View Panel - true), now every time when I run the page, I see the view panel first, then after clicking 'Simple Search' button, I can see the Simple Search Panel. I want to see Simple Search Panel as default instead of View Panel when running the page, how it can be done?
    thanks
    Lei

    What happens with include View Panel - false ?
    --Shiv                                                                                                                                                                                                       

  • Query Region (autoCustomizationCriteria) search criteria issue

    Hi All,
    In my search page I have used a Query Region with Construction Mode as autoCustomizationCriteria. Fot this regionin in Simple search panel I have 3 dropdowns and 2 Date Fields(OAMessageDateFieldBean) which in turn are mapped with related simpleSearchMappings fields.
    On this page , for search result table as table actions i have a create button which transfers me to create page. On create page I have the same dropdowns and date fields which are there on search page as search criteria.
    Now when i create a record , on click of create button records gets created and controls returns back to the search page with this newly created record in the search result table.(by default whenever search page is rendered it shows all records)
    The problem here is the search criteria dropdown and date fields gets populated with the values with which a new record was created .
    Why these values are getting populated as the page is difference and whenever the VO is querried I am already clearing its cache?
    Any suggestions regarding this ?
    Thanks and Regards,
    Anant Nimbalkar.

    Hi RamKumar,
    I have tried not to retain the AM and it worked but now there is a different problem.
    On create page on click of save button the record gets saved and related message is displayed on search page. (Used to work before i made retail AM flag false)
    But now as i have set it to false I am unable to show these messages on the Search page .
    Any idea how both these things ie dropdown with no values(on search page) and message can be achieved ?
    Thanks and Regards,
    Anant Nimbalkar.

  • Stack overflow error in query region

    HI All
    I have a query region with advanced table. I also have a detailed region inside this advance table. I.e. table inside table master detail type. I have advance search and view panel set to true . Everything is working fine I.e. simple , advance and save search, and my search result shows show hide and I can drill down to detail.
    The problem
    I have set user personalization true so I got list of all fields in save search , this list have fields from master and detail table both and I can add fields from master table to save the view, but same does not work for detail table fields , I can see them in save search but can't save them in views because I have set user personalization to false for detail table fields which is fine. But strangely when I set user personalization to true on detail table field I get stack over flow error when the page loads.
    I know it's not a common thing so any help on debugging this will be helpful

    HI All
    I have a query region with advanced table. I also have a detailed region inside this advance table. I.e. table inside table master detail type. I have advance search and view panel set to true . Everything is working fine I.e. simple , advance and save search, and my search result shows show hide and I can drill down to detail.
    The problem
    I have set user personalization true so I got list of all fields in save search , this list have fields from master and detail table both and I can add fields from master table to save the view, but same does not work for detail table fields , I can see them in save search but can't save them in views because I have set user personalization to false for detail table fields which is fine. But strangely when I set user personalization to true on detail table field I get stack over flow error when the page loads.
    I know it's not a common thing so any help on debugging this will be helpful

  • SubTab region under Query Region not consistent

    Hi,
    I have to query a table with 10 columns.Insted of showing all 10 columns in a horizontally scrollable page ,I am trying to show 5 columns in a subTab and other five in 2nd subtab.
    I created a 'Query' region with ACC , under that created a SubTab region with 2 stacklayout .Each Stack layout have its own result table(with same VO) with the Data columns I need to display.
    The problem is when you switch between Subtabs, the 'SubTab2' queries all records. SubTab1 always looks at query criteria and queries only that meets the criteria.
    'SubTab2' queries correct records only when u select 'subtab2' and the press 'GO' button in search panel. If u then press 'SubTab1' and agian 'SubTab2' , it will query all records.
    Why is 2nd subtab behaving this way , any thoughts ,suggestions on how to over come this?
    Thanks
    Sudeep

    Hi Tapash,
    There was no code under formrequet , however I was able to overcome it by setting a new controller and using code following to render the whole web bean initially.
    setAttributeValue(MODE_ATTR, SUBTAB_FORM_SUBMISSION_MODE);
    Thanks
    Sudeep

Maybe you are looking for

  • Sleep Mode not functioning correctly after Mac OSX 10.6.5 update

    Hi I have a Macbook Model Identifier 5,1. (1st gen Alum Macbook). I notice that after I updated to 10.6.5, I have a problem going to sleep mode. When I click on sleep, it will blacken the screen but the LED screen still glows. Usually, it glows for a

  • GR for Service POS

    HI i would like to know the GR process for Services pos (standard ) thank you ash

  • SPLIT the cell in either template or table horizontally

    Hi ,            Hope you all doing well,            Can any  body let me know how to split the cell in eithe template or table horizontally, what i mean to say in detail is that i have created three cells using two lines  types, which it gave be 3 bo

  • Download option in table

    Hai, I have a table UI element populated with values. I have to download the contents thro excel file. I dont want to do in alv.    pls give some suggestions

  • SB 0220 Driver, Vista

    I've Looked all over for this driver with no Luck Please help ... :angry: SoundBlaster Li've 5. Digital Model: SB0220 SN: MSB02202307346 Thank You !