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

Similar Messages

  • Changing Go button prompt of query bean

    Hi
    How can we change the prompt of Go button that comes by default in the query bean. I have gone through the thread http://forums.oracle.com/forums/thread.jspa?messageID=1354500? and tried the code but it didn't work. Its printing button not found. Let me know if there is way to achieve this.
    OAQueryBean queryBean = (OAQueryBean)webBean.findIndexedChildRecursive("QueueQueryRN");
    String GoButtonName = queryBean.getGoButtonName();
    OASubmitButtonBean goButton = (OASubmitButtonBean)queryBean.findIndexedChildRecursive(GoButtonName);
    if (goButton !=null)
    goButton.setText("Search");
    System.out.println("button found");
    }else
    System.out.println("button not found");
    Thanks,
    VG
    Edited by: VG on Aug 9, 2011 10:37 AM

    VG,
    I have gotten the code to work, however in order to do this, I had to create a controller on a child region to the queryBean. Then I called super.processRequest(pageContext, webBean) and then my code to access the Go button.
    In my example I have the following hierarchy:
    queryRegion
    ....tableRegion <--- create controller HERE to change Go Button name.
    ......item
    ......item
    In the tableRegion I added a controller. This allows me to call super so that the QueryBean will create the button bean and initialize it so I can access it. I think you are getting a null because when your page level controller is executed, the button does not yet exist, even though queryBean knows what id it will give the button, its PR method hasn't been called to dynamically create the button.
    By putting a new controller on a child of queryBean, you can call the queryBean PR and then it will have dynamically created the submitButton for you to manipulate.
    Does this make sense?
    Give it a try.
    Hope this helps.
    BTW - I used this technique to also initialize the search query to come up with default search results.
    Kristofer

  • 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

  • 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

  • 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()

  • 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 +++++++++++++++++++++++++

  • 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

  • Query Region MessageChoice Input

    Hii,
    I have a Simple search panel in a Query Region , In this panel I have a MessageChoice(Which is used to filter values) input field
    everything is fine till here . Now I wanna add something
    1)I want to add one more value to my messageChoice , but We don't have any data in the table with that value (Ex: I wanna add "Non-alchoholic")
    2) let's say I have
    BEER
    RUM
    COKE
    PEPSI
    As values in the MessageChoice
    3)When I select "Non-alchoholic" I need to get the data with values COKE , PEPSI
    4)For this I'm Handling "Non-alchoholic" in the go button and tried to filter values only for 1)COKE 2)PEPSI
    Since Query Region Search for that particular value "Non-alchoholic" in the table ,It's not retuning any rows
    Can anybody have an Idea (Note :* I need the query Region functionality as well We can't change it )
    Appreciate your help

    If you provide example data as a table, and DDL I'll take a look for you. Images are not useful to us at all.
    Ex:
    DECLARE @table TABLE (col1 INT, col2 VARCHAR(20))
    INSERT INTO @table (col1, col2) VALUES
    (1, 'AAAA'),(2, 'CCCC')
    Don't forget to mark helpful posts, and answers. It helps others to find relevant posts to the same question.

  • Problem with SQL query region source containing OLAP clauses

    Hi team,
    I believe I found a bug when HTMLDB validates the SQL Query in a report region.
    My query includes an ORDER BY clause within a windowing function and HTMLDB refuses to accept the source owing to the presence of the ORDER BY and the column heading sort preference.
    Clearly the order-by in a window function has little to do with the column heading sort, but this error prevents me from updating the conditional display item in the page definition.
    Note also that the page was imported smoothly from the 1.5 version, so probably the region source is not checked at that time, but only when you update it "manually".
    So, in the end, if I don't change anything the page works because the sql query is assumed to be correct but unfortunately I need to change the condition and I cannot.
    The problem shows up in page 126 of app 21670, SQL query region.
    Bye,
    Flavio
    PS: may be I can work around this by using the pl/sql function returning the sql query.

    Flavio,
    We're aware of this problem. For now, your workaround is described in this thread:
    HTMLDB 1.6 and "order by" in analytic functions
    Sergio

  • Query Region Update Operation problem

    Hi All,
    I have one Query region in Oracle seeded page.
    In Query region one table is there.
    My Client Requirement is he wants to add one text input field in table. so that user can enter comments in text input field.
    He also wants Update button as a Table Action and when he clicks on Update, this comments should get store into Database.
    I want to know that Update operation is possible in Query region's table.because when i handle event in controller, it gives me Following Exception.
    Logout
    Error Page
    Exception Details.
    oracle.apps.fnd.framework.OAException: java.lang.ArrayIndexOutOfBoundsException: 0
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
         at oracle.apps.po.common.server.PoBaseAMImpl.executeServerCommand(PoBaseAMImpl.java:115)
         at oracle.apps.po.autocreate.server.ReqLinesVOImpl.executeQueryForCollection(ReqLinesVOImpl.java:67)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:742)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:891)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:805)
         at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:799)
         at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3575)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:437)
         at xxadat.oracle.apps.po.autocreate.webui.XXADATAttr15CO.processFormRequest(XXADATAttr15CO.java:73)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:815)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
         at oracle.apps.fnd.framework.webui.beans.layout.OARowLayoutBean.processFormRequest(OARowLayoutBean.java:366)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
         at oracle.apps.fnd.framework.webui.beans.table.OAMultipleSelectionBean.processFormRequest(OAMultipleSelectionBean.java:481)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1042)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
         at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.processFormRequest(OAAdvancedTableHelper.java:1671)
    The page which i have cutomized is /oracle/apps/po/autocreate/webui/ReqSearchPG.
    It is on R12.
    Can anybody throw some points on this?
    Regards
    Hitesh

    Hi,
    I got the problem,
    It is a standard functionality of oracle that we can not update Requisitions which are approved.
    My client requirement is that after approval of Requisition, he wants to update the Requisition.
    I said that it is not possible in Forms as well as OAF.
    The system will not allow to update Requisition once it is approved.
    Regards
    Hitesh

  • Export SQL query from link or button

    I want to list several 'canned' SQL queries on one page as buttons or links; and have the result of selection be an immediate extract/download to excel of the data.
    How can I best do this?
    I suppose I could create separate hidden regions with their own reports that could somehow be referenced in the link. I would like to avoid doing all that, if I can create a package or process that includes the SQL query and that can be called in the link.
    Thanks in advance,
    Rich
    Edit:
    Found 'Report Query' functionality in Apex v3.2.1: However I am unable to get this to work; tells me my printer is not set up. I don't want to print the detail, I want it to be downloaded into excel... I don't have a printer configured - & don't want to. The URL provided for download as attachment is:
    f?p=&APP_ID.:0:&SESSION.:PRINT_REPORT=reportname
    I also have no page 0.
    Help?
    Edited by: rdarlin2 on Sep 16, 2011 11:14 AM

    rdarlin2 wrote:
    I want to list several 'canned' SQL queries on one page as buttons or links; and have the result of selection be an immediate extract/download to excel of the data.
    How can I best do this?
    I suppose I could create separate hidden regions with their own reports that could somehow be referenced in the link. I would like to avoid doing all that, if I can create a package or process that includes the SQL query and that can be called in the link.10,000ft overview of one way to do this:
    <li>Create a package with private functions that return the SQL for each "canned query", and a public switch function that returns a query function based on an input parameter:
    create or replace package qry
    is
      function selector (p_req_qry in varchar2) return varchar2;
    end qry;
    create or replace package body qry
    is
      function emp_qry return varchar2
      is
      begin
        return 'select * from emp';
      end emp_qry;
      function dept_qry return varchar2
      is
      begin
        return 'select * from dept';
      end dept_qry;
      function selector (p_req_qry in varchar2) return varchar2
      is
      begin
        return
          case p_req_qry
            when 'EMP' then emp_qry()
            when 'DEPT' then dept_qry()
          end;
      end selector;
    end qry;
    /<li>Create 2 pages
    <li>On page 2 create a standard SQL report region of type SQL Query (PL/SQL function body returning SQL query):
    Region Source
    return qry.selector(:request);*(o) Use Generic Column Names (parse query at runtime only)*
    Maximum number of generic report columns
    number of columns in your biggest query
    Report Template
    export: CSV
    <li>On page 1 create an HTML region (or use an APEX list) with a link for each query, where the REQUEST component of the URL is the parameter used to select a query in the <tt>qry.selector</tt> function:
    <ul>
      <li>&lt;a href="f?p=&APP_ID.:2:&SESSION.:EMP"&gt;Emp</a></li>
      <li>&lt;a href="f?p=&APP_ID.:2:&SESSION.:DEPT"&gt;Dept</a></li>
    </ul>However this begs the question: Why bother? What's Excel got that APEX hasn't?

  • Query Region causes error in Popup Region ....

    Hi
    (12.1.3 custom development)
    I am opening a (parameterized) popup region on a button press (so far so good).
    I want to put a simple query region in the popup region (results based search) but the page will not render ->
    <!--StartFragment-->## Detail 0 ##
    java.lang.NullPointerException
    at oracle.apps.fnd.framework.webui.OAQueryHelper.renderSimpleSearch(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAQueryHelper.processRequestAfterController(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.OAQueryHelper.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.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.layout.OAHeaderBean.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:71)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    I don't know what it is referring to with 'Unknown Source',  I 've tried with a couple of different VOs, same result ...

    hi,
    I'm not sure but once check your DBC file...are you using latest DBC file:
    Oracle Apps R12 , DBC file is located at $INST_TOP/appl/fnd/12.0.0/secure not under $FND_TOP
    Check once.
    Regards
    Mahesh

  • Regarding ABAP query layout changes

    In 46C system, we have addon transaction ZXX created thru ABAP query displaying in ALV report
    layout fields in order A,B,C,D. But after upgrade to ECC5.0 we found the layout is changed to fields D,B,C,A.
    why its changed? Is it Patch problem or its SAP problem.
    However after upgrade we could manualy drag and drop the fields as per the 46C existing report layout
    it works fine.
    But we would like to know the reason why its happenning.?
    Could somebody give me suggestion.
    Regards
    Ambichan

    Hi Ambikumar,
    The ALV output layout is dependent on user settings.
    THe order of layout fields is changed bcz user has saved the new layout.
    In the output, check the ALV toolbar for CHANGE LAYOUT button. Click on it & check if anyone has saved any new layout. Delete the layout & you would alwyz get the fields in the same order as specified in the query.
    No need to modify the query using SQ01/SQ02.
    Simply execute the query & click button CHANGE LAYOUT.
    Best regards,
    Prashant

  • Repeating a field in a query region

    I have a htmldb_item generated query region with an editable text field. In a after submit process, I want to take some action if the value of the text field has changed.
    The only way I could think of to determine if the field changed was to fetch it twice from the database, once as a hidden field and then the real text field.
    select ...
    htmldb_item.hidden(1,(scalar query))||htmldb_item.text(2,(scalar query)
    Then in my after submit process, I can compare g_f01(i) to g_f02(i).
    But that "scalar query" in there is an expensive one and I want to avoid running it twice if possible.
    Is there a better way to do this?
    Thanks

    Repost. Thanks.

  • Issue with Query Region

    Hi All,
    I have a query region with result table, it results the data upon search creteria. each row have a update icon where user can navigates to update page to edit the information. So when user gets back to search page and clicks on clear button of query region and clicks 'GO' the page gets error out. There is nothing written for 'GO' or 'Clear' they are query region components.
    And I have question, when user click on clear and than enters some criteria it works fine , if user navigates to update page and comes back clicks 'clear' without entering search criteria and hits 'GO' its erroring out and error message displays the query appended with cleared search criteria's in where clause, saying missing parametrs in or out at index 1
    Error Message:
    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation
    SELECT * FROM (SELECT EO.col1, EO.col2....) .. QRSLT WHERE ((( UPPER(STATUS) = :1 AND (STATUS like :2 OR STATUS like :3 OR STATUS like :4 OR STATUS like :5))))
    Actually when I clear and click 'GO' it is trying to construct with cleared search criteria. Any explanation for this?
    and why its trying to append 'or' clause 4 times. I have 4 other LOVs in search criteria in the region with Status message choice.
    Thanks in Advance.

    Hi,
    can you try this? don't navigate to update page enter some crieteria and then click on GO and then again press clear button and then again click on GO and check, is it working fine?
    This works fine, the issue when I navigate back from update page. please find the below code in processFormRequest
    SearchCO
    if("update".equals(event))
    pageContext.setForwardURL("OA.jsp?page=/xxx/oracle/apps/..../webui/UpdatePG
    , null, (byte)0, null, null, true, "Y", (byte)99);
    UpdateCO
    if(pageContext.getParameter("Cancel") != null)
    am.invokeMethod("rollback");
    pageContext.forwardImmediately("OA.jsp?page=/xxx/oracle/apps/...../webui/SearchPG"
    , null, (byte)0, null, null, true, "N");
    public void rollback()
    Transaction txn = getTransaction();
    if(txn.isDirty())
    txn.rollback();
    Anyway Thanks for reply.
    Thanks,
    Nooker Satya

Maybe you are looking for

  • Add-MailboxPermission for multiple users on multiple mailboxes

    I have a need to grant a large number of users full access to an equally large number of mailboxes. I've previously been able to do this easily in the management shell where I have multiple users for one mailbox (or vice-versa; one user for multiple

  • Make x64 default with "open with" menu

         Ive seen several threads to make x32 the default but not to many to make x64 the defualt. It appears that once the install is made I cannot only uninstall the 32 bit photoshop, only both at the same time. I have recently moved from cs4 to cs5. E

  • Dual external monitor setup?

    I'd like to use dual external monitors, ideally also plus the laptop screen for a total of 3 monitors, with my new 5th gen 17" MBP. I hear that USB-to-DVI options out there due have very poor poor refresh rates and picture quality. I'd like to use th

  • Unlocking file in sample editor

    After recording an audio file, I have attempted to go into the sample editor to make some alterations to the recording. After highlighting the area and pressing delete I get a pop-up message that says: "This audio file cannot be changed! Volume or fi

  • Problem on BDC

    Dear All, In my program, transaction F-22 (create customer invoice) is called thru BDC: CALL TRANSACTION 'F-22' USING bdc_tab MODE 'E' UPDATE 'S'. The related customer has withholding tax info entered in the customer master. Hence when calling F-22 t