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

Similar Messages

  • 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

  • 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 hide "Note that the search is case insensitive" text from Query Region

    Hi,
    When create a search page with Query region : Autocustomizationcriteria mode, page is showing automatically "Note that the search is case insensitive" text is showing automatically.
    this is not needed. can you please let me know how to hide this one from page.
    Regards,
    Ram

    Check this link:
    https://forums.oracle.com/message/9227812#9227812
    --Sushant

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • 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

  • Query referencing session state not consistently returning data

    Hi,
    I have a form that summarizes expense data by category for employees, per fiscal year, fiscal period, and project.
    Clicking on a button next to a particular category takes the user to a new page that should display the detail of those expenses, based on expense_code.
    The expense_code is passed via URL to the second page, and the query region for the detail has the following source:
    select exp_code, JRNL_ID_NO, DESCRIPTION, REFERENCE, CUR_PER_TRAN, CUM_YTD
    from fgspec_ac where exp_code between :P118_EXPENSE_CODE_FROM and :P118_EXPENSE_CODE_TO and project=:P114_PROJECT and fis_year=:P114_FIS_YEAR and fis_period=:P114_FIS_PERIOD
    :P118_EXPENSE_CODE_FROM and :P118_EXPENSE_CODE_TO are passed via URL, and the :P114_% fields reference data on the initial form.
    The problem is that when I click on the button to bring up the detail for the first time, the query returns no rows. If I return to the original form and click on the button a second time, the query the displays the required data. This behavior is consistent, regardless of expense category, fiscal period, etc. The first time I try to access detail, no records returned, but the second time, it works.
    I have used the 'SESSION' link to debug and view the session state in each case, and the results are IDENTICAL whether the query returns data or not. That is, all 5 variables contain the exact same data.
    Do you know what I might be doing wrong?
    Thanks,
    Michelle

    Hi guys,
    Thanks very much for your replies. In fact, I have tried both methods. Yes, I am navigating from page 114 to 118, and passing values to page 118 from page 114 (ie: P114_PROJECT passes to P118_PROJECT, etc...). In my query, I have tried referencing both, with the same results.
    When checking values in session state (by using the 'SESSION' link), values from page 114 are available in both cases (when the query returns rows and when it does not). It is very strange behavior.
    I have been developing with HTMLDB for over a year now, and never seen anything like it!!! I will try loading this on HTMLDB.oracle.com, and see if it replicates, and if so, maybe you can have a look...............
    Thanks!
    Michelle

  • Issues with Advanced Query Region.

    Hi All,
    I have a Search Page implemented with 5 subtabs. When the page is loaded, in the 5th tab I see Radio Buttons which are actually not part of this page. This issue is not consistently happening. After I navigate to other tabs and perform some operations and come back to this 5th tab, everything looks as it should. Can anyone throw some light on this????
    Thanks in Advance,

    Strange..
    Anyway please delete the xml page file from the instance and redeploy everything. Also make sure you dont have that radio button anywhere (either in page or created through controller). Do check if you have regions extended on the page. Also make sure you are not creating radio buttons through Personalization in the instance. You can check this by disabling the personalization profile.
    Regards
    Sumit

  • 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

  • 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

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • 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

  • 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

Maybe you are looking for

  • HT1473 How do you get your music from your ipod to your computer?

    Trying to figure out how to get my itunes from ipod to computer, my computer crashed and lost everything i mannually  uploaded. Store tunes are still there

  • Unable to add or edit users in iphoto web gallery

    I'm unable to add new users/passwords in the "album viewable" drop-down when trying to start a new gallery away from my home gallery. I can also not delete old user/passes that are in there from galleries that I've deleted. I hit OK, and everything j

  • Screen Rotation in Remote App

    My screen used to rotate while using the Apple Remote App so I could set my iPad in the landscape position on it's smart cover while I was using it.  Now it won't rotate out of portrait mode.  All my other apps that rotate still do.  Has this changed

  • Very slow BB and BB dropout

     For the last 2 months I have been having appalling BB speed and the BB continually dropping out, like every 20 mins. I've checked all internal wiring, bought a new filter and checked all other BT suggestions for speed improvement but to no avail. An

  • After Effects rendering issues.

    I am currently trying to render a composition from After Effects, but every time I run into the same problem. Rendering starts then suddenly finishes, leaving me with a 68kb .mov file. The composition is rather large, about 5 secs. long and contains