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

Similar Messages

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

  • 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

  • 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

  • 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

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

  • 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

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

  • How to Create Master Detail Page with Query Region

    Hi,
    1. I have a requirement that i need to create a Master(Supplier) Detail(Supplier Site) Page with Query Region.
    Eg. Supplier A in Australia has Supplier Sites X in Melbourne and Y in Sydney.
          Supplier B in US has Supplier Sites C in New York and D in California.
    I need to have Search, based on two fields Supplier Name and Country
    Let us assume i am searching with Supplier Name A then the page should be in the below layout
    Query Region
    Supplier Name : A
    Country:
    Master
    Supplier Name  Country
        A                     Australia
    Detail
    Supplier Site  City
    X                   Melbourne
    Y                   Sydney
    In detail VO it should allow me to add new sites which means i need to connect this VO to database to insert new records
    I have gone few threads and understood that this can be achieved by creating SupplierVO, SupplierSiteVO and a ViewLink.
    But when tried i don't know how can i relate my query region with the Suppleir Table(Header Reagin and Table Using Wizard) and Supplier Site Table(Header Region and Table Using Wizard) i am not sure if i am correct or not, please advise
    2. Also i need to have a Open button in this page and if click the button it should navigate to some other page.
    Please help me how can i achieve this.
    - How to design my page with query region and master detail tables
    - what is the AM and CO code need to be handled
    - What is the code should i write in Open button to open new OAF page.
    Thanks,
    CSK

    Hi,
    This link will be useful for your requirement.
    Master Detail Page using Hide Show and Advanced Table inside Advanced Table - OracleArea51.com
    Let me know if you need more help in this.
    Thanks and Regards,
    Myvizhi

  • 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

  • OA Query Region shows previous search results when moving between pages

    Hello All,
    I have a custom OA Page which has a query region based on a LOV for searching device names. The problem I am facing is once device name is searched and I go to another page through the quick links and come back to same Search Device page, it shows the previous searched results. I am not retaining AM for any page navigation.
    Things I have already tried :
    1 . I have tried refreshing VO by using clearcache and reset methods on VO.
    2. Get the Go button from the query region in ProcessFormRequest and on Go button click I use forwardImmediatelyToCurrentPage. And in Process Request method I am querying the results manually when Go button is clicked. Otherwise I am manually making the where clause condition 1=2 and ensuring that the VO does not return any rows.
    But still I am not able to get rid of the issue.
    The code used is pasted below for your reference. It is urgent. Can you please provide any pointers.
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    try
    VpaAdminAMImpl am = (VpaAdminAMImpl)pageContext.getApplicationModule(webBean);
    TkvpaDeviceSearchVOImpl deviceAll = am.getTkvpaDeviceSearchVO1();
    deviceAll.clearCache();
    deviceAll.reset();
    deviceAll.setWhereClause("1=2");
    deviceAll.setWhereClauseParams(null);
    String query = deviceAll.getQuery();
    System.out.println("getSearchResult query :="+query);
    deviceAll.executeQuery();
    OAQueryBean queryBean = (OAQueryBean)webBean.findChildRecursive("region1");
    String goAction = queryBean.getGoButtonName();
    if(pageContext.getParameter(goAction) != null)
    getSearchResult(am, pageContext, webBean);
    catch(Exception ex)
    throwException("SearchDeviceCO.processRequest",ex);
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    String action = pageContext.getParameter(EVENT_PARAM);
    OAQueryBean queryBean = (OAQueryBean)webBean.findChildRecursive("region1");
    String Go = queryBean.getGoButtonName();
    System.out.println(pageContext.getParameter(Go));
    if(pageContext.getParameter(Go) != null)
    pageContext.forwardImmediatelyToCurrentPage(null,false,"N");
    public void getSearchResult(VpaAdminAMImpl am, OAPageContext pageContext, OAWebBean webBean)
    try
    String device = pageContext.getParameter("deviceSearch");
    StringBuffer sb = new StringBuffer();
    if(device != null && device != "")
    sb.append(" DEVICE_NAME = '");
    sb.append(device);
    sb.append("'");
    String sql = sb.toString();
    TkvpaDeviceSearchVOImpl deviceAll = am.getTkvpaDeviceSearchVO1();
    deviceAll.setWhereClause(sql);
    deviceAll.setWhereClauseParams(null);
    String query = deviceAll.getQuery();
    System.out.println("getSearchResult query :="+query);
    deviceAll.executeQuery();
    }catch(Exception e)
    e.printStackTrace();
    Thanks in Advance,
    Abhishek Mishra

    Hi Anand,
    The getSearchResult method also does the same thing. I have also tried to remove the dependency on getSearchResult and wrote the same code in ProcessRequest() but still it does not solve the problem.
    In fact, I have ensured that the VO does not contain any records and have checked these by using SOPs and debug in JDEV. The interesting point is the VO does not have any records but still the previous search data and search criteria is shown when we navigate to the page. Printed the query just before performing execute query and that query does not return any records. Also tried printing something if there are any records in the VO by using vo.hasNext().
    Data gets stored somewhere and it is shown when the page is navigated from other page. FYI, this page is accessed from quick links and there are other pages also in the quick links and when we navigate between these pages we get to see the previous search results. Tried methods clearCache(), reset() on VOs but still unsuccessful.
    Not even that I thought that the VO may be corrupted in some sense so I created a new VO instance in the AM and then used newly created VO instance in the query region. But still no luck.
    Any pointers will be appreciated.
    Thanks in Advance,
    Abhishek

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

  • 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

  • Any function module available for...

    hi all, i need a function module to do a goods receipt for the PO using movement type 161, movement ind B, goodsmvt code '01'. i couldnt able to post using BAPI_GOODSMVT_CREATE as iam getting 'NO GOODS RECEIPT POSSIBLE FOR PO XXXXXXXX XXXXX'. So is t

  • 6/06: firewire not functionnal?

    hello , now my sun w2100 is freshly installed with 6/06. When it was 3/05, i backuped datas on a firewire disk. Now, in 6/06, OS can't access this disk! SunOS Release 5.10 Version Generic_118855-14 64-bit Copyright 1983-2005 Sun Microsystems, Inc. Al

  • Catchup not working

    Since moving to high-speed fiber (new router and fiber modem) Catchup stalls whenever any provider (eg BBC, ITV, Sky or whatever) is highlighted. i.e. if you then select that provider NOTHING happens for at least a minute followed by he message "Prog

  • "Save as" is unresponsive despite numerous attempts to fix

    I had a trial of Photoshop CS5 as well as Illustrator.  When I upgraded to CS6 it no longer wanted to "Save as" so I searched the web for a solution.  I saw something about not mixing up plug-ins from a previous version with a new one and to remove t

  • HT1414 I can not do app updates on my phone or I pad it says can not connect to i tune store

    It seems to have started after I got my new Mac 27 inch in Oct .I have tried everything Any ideas from anyone