Issue in LOV Region in query region

Hi ,
I hava a query region with autocustomization true, include simple panel=true initial pane: simple
In search field i add a field of User Id LOV and attached the vo. UseridLOV :
set search allowed true
map with table values.
Issue is : IN LOV region of User Id when i click go it shows all records . But if i search a value with A% it shows no records eventhough it is having records starts with A.
Why is it happening...Anybody help me.
Thanks,
Pradeep
Edited by: user11165897 on Oct 4, 2012 6:13 AM

Hi Pradeep,
I have tested my lov it is working fine .Sometimes LOV doesn't work ,can you please remove and recreate lOV and add to your userid field
Thanks
Shiva
Edited by: 940580 on Oct 5, 2012 12:18 AM

Similar Messages

  • 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

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

  • 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

  • Reg Message Lov Input Field In Query Region Search.

    Hi ,
    I have a issue to implement a Message Lov Input Field in Query Region Search(AutoCustomizationSearch).
    Please Help on this Issue
    Thanks & Regards
    Santhu

    Santhu ,
    Please Let us know the step you have followed to achieve this , and what is the error you are getting .
    Regards ,
    Keerthi

  • Query region Search mappings issue

    Hi,
    I have components laid out like the following in my app
    Query Region
    |
    |-subTabLayout
    | |
    | |- AdvanceTable 1
    | |- AdvanceTable 2
    |
    |-Query Components
    |-Simple search panel
    |-Simple search mappings
    Issue: I mapped each of the search inputs to the valid column ids from Advancetable1 and advancetable2 in the simple search mappings. When I run the application with some search parameters in the search fields belonging to both the tables, I only see AdvanceTable1 criterias being passed and advancetable2 criterias not appearing. (I am getting the criterias in the controller using queryBean.getCriteria() which returns a Dictionary[]).
    Is there a limitation for Query region to have one region alone or am I missing something? Your help is appreciated.
    Thank you for your time.
    Regards,
    Arun

    If you have a complex serarch region structure, its always better to go for a custom region where you can manipulate the things as you want.
    --Shiv                                                                                                                                                                                                                                                                                                           

  • Query Region Rendering Issue between RUP4 and RUP5 Env.

    Dear OAF gurus
    We currently face an issue with a custom built OAF query region, where the regions works perfectly well, i.e. the page renders in a timely fashion with all its fields in one Apps environment (Dev) and then “Hangs and eventually times-out” in another environment (SysTest).
    Clearly this leads us to believe that there must be an issue with the environment configuration and/or patch/product levels, namely the OAF tech-stack.
    The Development Env. where this is working:
    ===========================================
    OAF Version : 11.5.10 RUP 4.
    MDS Version : 9.0.5.4.89 (build 555)
    UIX Version : 2.2.24
    BC4J Version: 9.0.3.13.93
    The System Test Env. where this is NOT working:
    ===========================================
    OAF Version : 11.5.10 RUP 5.
    MDS Version : 9.0.5.4.89 (build 555)
    UIX Version : 2.2.24.1.0
    BC4J Version: 9.0.3.13.97
    As you can see there are differences in Rollup Patches and OAF platform.
    The System Test Environment is clearly a head of the Development environment and this is where we are facing the issue. If we patch the Development environment to the same level as the Test, then the issue will manifest itself in both environments. The client will be going live with RUP5 or higher.
    The offending region is has the following structure:
    The parent/root page is : XxxMyQueyRegionRN, which is a “defaultSingleColumn” Region Style with its own controller class.
    Immediately under the above region there is a “query” region style child, which has the following attributes:
    Construction Mode : resultBasedSearch
    Include Simple Panel : False
    Include Views Panel : False
    Include Advanced Panel : True
    Initial Panel : advanced
    Show Views Panel Control: True
    The above Query Region has underneath it a “table” region style, which essentially is the results table.
    This table node has a number of “messageStyledText” fields under it. Each field is mapped to a VO and VO attribute.
    A number of these items have their “Search Allowed” property set to True, which means that are search-able fields in the Search Panel.
    There is nothing special or extraordinary about the above region and yet it renders in one environment and then hangs (i.e. the page times-out) in another. How do I know it is this specific region that causes the time-out? well when I take it out of the parent Page, the page works fine in both environments and as soon as include it, it times-out.
    Has anyone encountered this issue before? Has the OAF technology changed between RUP 4 and RUP5 sufficiently, so that certain custom pages will have to be re-developed?
    Any help and Guidance is appreciated.
    Thanks
    Patrice.

    Patrick,
    Check the apache log to see if contains any error or whether it lists the process which is taking so much time to lead to timeouts.
    In case you have a blind query based search result table population on page rendering, try to render the page without the query execution.
    --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.

  • Issue with Query Region with Table

    All,
    I have a Self Service Page , which has got a Query Region and an underlying Table.
    For the table/ Table Actions Region , I am setting the View Instance and View Attribute Programatically
    OATableBean myRequirementsBean =
    (OATableBean)webBean.findChildRecursive("MyReqTable");
    myRequirementsBean.setViewUsageName(voName);
    OAExportBean exportButtonBean =
    (OAExportBean)webBean.findChildRecursive("ExportButton");
    exportButtonBean.setViewUsageName(voName);
    OAWebBean ssWebBean = webBean.findIndexedChildRecursive("RadioSelect") ;
    ((OASingleSelectionBean)ssWebBean).setViewUsageName(voName);
    ((OASingleSelectionBean)ssWebBean).setViewAttributeName("RadioFlag");
    Followed by prepareForRendering call on Table Bean.
    myRequirementsBean.prepareForRendering(pageContext);
    When I render the Page , I can not see the Table Selection and see the Rows in Table alone.But if I navigate to Personalize View Page and come back to parent Page , I can see the Table Action.
    What could be the reason for this behavior? Please advise.
    Thanks
    Joseph George

    what item does RadioSelect refer to ? is it a child of the table bean ?
    Thanks
    Tapash

  • 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

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

  • Search by Date in Query Region Not working

    Hi,
    I have created a custom page with query region -autocustomization construction mode.
    This query region has a vo which contains one of the fields is requestedDate of date datatype.
    Requirement is :
    I need to fetch all records..based on requestDate (also)in search panel. But i am getting all the records in the table..
    Please advise me to solve this issue..
    Thanks in advance,
    Pradeep

    Pradeep
    You should check and compare the date field mapping with other fields that you have done the correct mapping like other fields , because there should be no issue if mapping is correct, is this entire custom page created by you ? or are you doing changes in existing custom page ?
    thanks
    Pratap

  • Rendered=false column is not returning value in simpleSearch Query Region.

    Hi Guru's,
    I have a simpleSearchPanel with two search columns Order Number (Rendered=true, i.e Visible to User in the form) and Order Id(Rendered=False, i.e Non visible to User in the form) which are getting values from LOV. The LOV selection Order Number and Order Id are getting values and Order Number column is rendered true(visible) query able to return the values, but Order Id is not getting values because Rendered=False/Not visible Field.
    Unfortunately i can't make OrderId filed as "formValue" because of simpleSearchPanel (autoCustoomizationCritirea) query region.
    I appreciate your help.
    Regards
    Pathi

    its not the problem with simpleSearchPanel, it is the messageComponentLayout within simpleSearchPanel which is restricting the formValue.
    just change the region style to defaultDoubleColumn and create the formValue into it.
    This should solve your problem..
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Parameterized Report Query Region

    Hi,
    I am trying to create a parameterize report. I have two radio button options for user to select and press the Go button to shows the report on the below region(have not created the region yet). Both of these options are going to have different Query Region SQL Code. Say one would look at the EMP table and the other at DEP table. How can I place both Query on the same region and determine which to execute to run the report base on user selection of radio button?
    What would be a best solution for these kinds of reports?
    Any help greatly appreciated
    thanks

    iahmadi
    You would create two report regions, one for emp, one for DEP then conditionally display them by the value returned by the radio button LOV.
    condition for EMP report region would be
    type: item in expression 1 = expression 2
    exp1
    px_your_radio_button
    exp2
    EMP (your returned value from px_your_radio_button when EMP has been selected)
    Gus..
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!
    ;-)

  • 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

Maybe you are looking for

  • ITunes 10.4 and windows XP not available

    I installed the las version of iTunes 10.4 and its not operate with windows XP SP3. When I start iTunes, after 30 seconds from the general pagesis displayed, the tipical message of windows appers. Windows has found a problem and must be close this ap

  • Style won't apply to text in Preview or Publish

    I set up a character style to apply to section titles in my topics. The style is included in the .css file with the appropriate attributes. On the WYSIWYG pane, all appears perfect, but on the preview and after I publish, the style is gone. I checked

  • Find a class under Jar file

    Hi all, If I want to find out a class resides under what jar file, under Linux, I use this command: for i in $(find -name \*.jar) ; do if jar tf $i | grep �q className.class ; then echo $i ; fi ; done Does anybody know how can I do this under Windows

  • My mac os 10.8.5 is not booting without install usb.

    Hello someone please help me! I have installed mac os 10.8.5 and it's working fine but there's one problem when I installed my mac os It started fine but when again I tried to start mac without installation USB it showd boot0 error ...!! Now My mac i

  • The burden of web archive

    Oh boy, I saved a lot of web archives for reference to a pay site, and now months later, these web archives come up with box asking for membership number! so I have to force quit just to get out. Had I saved in Pdf probably would not have this issue.