Disable collapse for af:query component

Hi All,
Can anybody please tell me how to disable the collapse feature of the af:query component? I basically want it to be expanded every time.
Thanks

Hi,
As your requirement it no need to disabled,and cannot disabled using provided attributes but you can set disclosed attribute to false.
See for more
http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e12419/tagdoc/af_query.html

Similar Messages

  • Auto suggest behavior for af:query component LOV fields.

    Hi,
    I am new to ADF development and need help on implementing auto suggest behavior to the LOV fields generated by af:query component. For inputList and inputCombo.. fields we can add af:autosuggestbehavior tag to enable this. How do we enable the same for af:query generated LOV fields.
    Regards,
    C.R

    Thanks Timo for such a quick response.
    JDev version we are using is 11.1.1.6.0
    Unfortunately, we have gone too far with the AF:Query and Everything else is working apart from Auto-Suggest on AF:Query. Now will take a lot of time to implement and test. Also, users will have to spend considerable time to test it again.
    Thanks and Regards,
    Satya

  • Is there any way to disable caching for a particular component?

    I have a component which should always produce the output by executing a code and not from the dispatcher cache.
    Is there any way to clear the dispatcher cache for the component or is it possible to disable the component caching.

    Praveen-
    The dispatcher caches the entire HTTP response body, so doing what you are describing actually requires two steps:
    1) Loading the non-cacheable component through Ajax (or some other edge side assembly technology like ESI)
    2) Including the Dispatcher: no-cache header in the response when that component is requested.
    #1 is pretty easy to do with jQuery
    #2 is covered here: http://dev.day.com/content/kb/home/Dispatcher/faq-s/DispatcherNoCache.html
    You will probably want to use the WCMMode to only do the dynamic loading on the publish server.
    HTH,
    Justin

  • Selectively required not working for af:query component

    Hi Experts,
    one small issue.
    I have a search form and the user is supposed to enter atleast one criteria before clicking on search.
    So I opened the View Criteria and marked validation as "Selectively Requried" on all the criteria conditions in the group.
    When I open the page, I see ** infront of every field and error is coming properly when I click search without entering any values
    Problem is even if I enter few or all the values also, still error comes saying atleast one is required.
    Am I missing anything?
    or is there any programmatic way of doing the same?

    I am new to ADF ... but what i have observed is that in case the View Criteria involves search in various levels also (for e.g. Master-Detail or Master-Detail-Detail) , then at least one attribute from each level is required, if they are marked as Selectively required.
    The error message clearly tells you which attribute(s) is required. sometimes it may say Attrib1 is required or any one of Attrib1, Attrbi2, Attrib3 is required. Either I am missing something and doing it all wrong. Or it may make some sense. But still dnt understand the reason.
    Would appreciate, if somebody can throw some light on how the double asterisk(** ) behaviour i.e. Selectively Required, when search involves various levels ?

  • Customizing af:query component?

    Hello friends,
    Is it possible to customize af:query component. For example i need to move "search", "reset","save" buttons to the toolbar of the component and change the background of the toolbar. Also i have a request to hide that "+/-" thing which make able user to collapse or disclose af:query form.
    Is it possible or only way to achieve this is to create my own search mechanism - what i can imagine could take a while?
    thanks in advance

    Hi,
    as far as color coding goes, you can use skinning for this. Look for "af:query component" in http://download.oracle.com/docs/cd/E15523_01/apirefs.1111/e15862/toc.htm
    This should also allow you to hide the +/- icons. However, it does not allow you to move buttons
    Frank

  • Programmtically Setting View Criteria in ADF Query Component

    I have created two view criterias for a View Object and used ADF Query component for searching. User can select any one of the View Criteria from "saved search" in ADF Query component. but i want to set it programmatically based on some business rules. How i can do that?

    No I don't want to set view criteria on search click. Actually I have ADF Query component on my page which is by default disabled. There are also some fields outside the query component on the value of which i enable ADF Query component and wants to set a particular ViewCriteria based on context. All ViewCriterias are defined and listed in "saved search" of ADF Query component but i don't want to allow user to select it but wants to application set it automatically based on context. For it i will be needed to set a particualar ViewCriteria for ADF Query component through code and then refresh ADF Query component to show newly set ViewCriteria. I know how to refresh query component or any other component through code but don't know how to set ViewCriteria on ADF Query component?

  • How can set the timestamp format in query component?

    I met 2 problems when I am using timestampTZ on query component.
    The first one, in the table, I have a field type is timestampTZ. And I have a query on this field. However, When I open the page, I found the date format is not what I want, can I change the format in the query component? Like from “mm/dd/yyyy” to “dd/mm/yyyy” in the search criteria. For the query component. I used bing variable. The bing variable I set to timestampTZ type.
    Another problem is, as in the database, the time has date and time, but in the query component, it only has date, so if I added a end date field, it only show the records before the end date. I think the parameter take the time as 00:00:00. Is there any way to fix this?
    Thanks a lot.

    Thanks a lot. I tried, but still not work, I can see the date with time. But I tried to execute the query, it threw exception (with/without date value). Is that because the field in database is timestampTZ?
    <RegistrationConfigurator><handleError> Server Exception during PPR, #1
    java.lang.ArrayIndexOutOfBoundsException: 7
         at oracle.sql.TIMESTAMP.toTimestamp(TIMESTAMP.java:294)
         at oracle.sql.TIMESTAMP.timestampValue(TIMESTAMP.java:431)
         at oracle.jbo.domain.Timestamp.getData(Timestamp.java:433)
         at oracle.jbo.domain.Timestamp.getValue(Timestamp.java:421)
         at oracle.adfinternal.view.faces.convert.DomainConverter.convert(DomainConverter.java:67)
         at org.apache.myfaces.trinidadinternal.convert.GenericConverterFactory.convert(GenericConverterFactory.java:287)
         at org.apache.myfaces.trinidadinternal.convert.DateTimeConverter.getAsString(DateTimeConverter.java:95)
         at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getConvertedString(ValueRenderer.java:158)
         at oracle.adfinternal.view.faces.renderkit.rich.OutputTextRenderer.encodeAll(OutputTextRenderer.java:148)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2567)
         at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.renderDataCell(BaseColumnRenderer.java:1213)
         at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.encodeAll(BaseColumnRenderer.java:103)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2567)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.renderDataBlockRows(TableRenderer.java:1932)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.encodeAll(TableRenderer.java:606)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
         at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection.java:529)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2567)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:297)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:574)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:241)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2567)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:297)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:574)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:241)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1515)
         at org.apache.myfaces.trinidad.component.UIXGroup.encodeChildren(UIXGroup.java:138)
         at org.apache.myfaces.trinidad.render.RenderUtils.encodeRecursive(RenderUtils.java:57)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:410)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2567)
         at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.encodeFacet(DecorativeBoxRenderer.java:289)
         at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer._encodeCenterPane(DecorativeBoxRenderer.java:442)
         at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.encodeAll(DecorativeBoxRenderer.java:258)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    ...

  • How to disable update notifications for Power Query?

    Is there a way to disable the notification of available updates for Power Query? Command line switch on install, anything?
    Thanks!

    it was included in the Power Query version released in September 2014. HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft Power Query for Excel DisableUpdateNotification dword 1 will disable the update notification.
    Please remember to click "Mark as Answer" or "Vote as Helpful" on the post that answers your question (or click "Unmark as Answer" if a marked post does not actually
    answer your question). This can be beneficial to other community members reading the thread.
    This forum post is my own opinion and does not necessarily reflect the opinion or view of my employer, Microsoft, its employees, or MVPs.
    Twitter:
    @alexverboon | Blog: Anything About IT

  • How to create a binding through code for both a table and a query component

    Hi,
    I have a unique use case where I need to dynamically assign the dataBindings to a query Component and its resultant table component in a page. What I mean is,
    1. I have a jsff page with a query and table (no bindings associated)
    2. I know the name of the AM and the VO
    3. I need to through java code create a DataCntrol bindin for
    a. <searchRegion/> for query component
    b. <iterator ... /> and <bindings... /> for the table
    4. The VO and AM is dynamic and not known at design time.
    Is there anyway to achieve this? Please let me know if you need further classification on my question.
    Appreciate your input!
    Thanks
    Pallavi

    I think this is the start point to start with
    [url http://www.oracle.com/technetwork/developer-tools/adf/learnmore/003-advanced-el-tips-169117.pdf] Advanced Expression Language Techniques

  • How to set the default query for query component.

    I have a query component on the page, and there are 2 system query in the saved search dropdown list.
    Here is my system saved search
    Saved Search:
    Search by worker
    Search by organization.
    when the page load the default search panel is always search by worker.
    I want to default the search panel search by organization. How do I implement this.

    Thanks for your reply. Maybe I not describe my question clearly, I want to display different search form.
    For example
    when search by work, the search form displayed as firstname, lastname, gender etc.
    when search by work, the search form dispaly as organization name , manager name etc.
    I resolve this issue by customize the queryMode object.

  • Setting default value read from user session, for an LOV in Query component

    I want to set the default value of a field in VO that participates in a named view criteria and thereby in Query component. That field is configured with an LOV by mean of a view accessor. The values are Y and N and the corresponding display strings obtained from view accessor are true and false respectively.
    I am able to set the default value by setting the value of the criteria item corresponding to that field in view criteria. I am setting the value as either Y or N and I am able to corresponding display string as per the view accessor, on the query component when it is rendered.
    I want to read the defauilt value from the ADF BC user session and set it as default value. I tried setting the values as "adf.userSession.userData.usageFlag". Iam ensuring that the attribute usageFlag is set before the view activity that has the query component is invoked. But this is ending up showing no default value in the Query component when rendered.
    Can any one let me know how to go about with this?

    I made up your table since you didn't provide some example, but I'm sure this will give you the picture:
    SQL> var run_type varchar2(1)
    SQL> exec :run_type := 'A'
    PL/SQL procedure successfully completed.
    SQL> create table my_cycles as select level cycle_id
      2                            ,      level cycle_status
      3                            from   dual connect by level <= 5;
    Table created.
    SQL> select cycle_id
      2  from   my_cycles
      3  where  case
      4           when :run_type = 'D' and cycle_status  = 1 then 1
      5           when :run_type != 'D' and cycle_status  in ( 2, 3 ) then 1
      6         end = 1;
      CYCLE_ID
             2
             3
    2 rows selected.
    SQL> exec :run_type := 'D';
    PL/SQL procedure successfully completed.
    SQL> /
      CYCLE_ID
             1
    1 row selected.
    SQL>

  • Guide me to override the af:query component QueryListener property

    Hi All,
    If any one have sample application to override the af:query component query lisenere proprety, please share. I have the following requirement in search criteria.
    Field 1
    Field 2
    Field 3
    Field 4
    Field 5
    Find Button
    Result section
    Validations on these fields:
    1. When user enters value in field 1 and tabs out, a background plsql should execute and return the value to field 2. If no value returns, then and exceptio should raise for field1.
    2. Field 3: when the user enters a value and tabs out, it should automatically convert to UPPER case.
    3. Field 5 and field 4 are date paremeters. Field 5 should be disabled until a value enters in field4
    4. Value in field 5 should be validated agaigst field 4 it should always > field 5
    5. Once user hits find button, it should check for atlease one search criteria other wise it should prompt the user to enter atlease one search criteria. (ALong with above 5 validations). Popup should come here.
    Any suggestions would be appricated.
    Edited by: SrinivasA on Jan 28, 2011 4:43 PM

    I'm not sure you'll be able to achieve all of this with the af:query component.
    Here is how to do the dependent lists:
    http://blogs.oracle.com/shay/2011/01/dependent_lovs_in_an_afquery_c.html
    It might be easier to build this type of search form something like executeWithParams - see:
    http://blogs.oracle.com/shay/2009/12/adf_query_with_parameters_and.html

  • Af:panelSplitter disable collapse function

    Dear all,
    So far i am using af:panelSplitter for layout.
    I want to disable collapse function.
    is it possible?
    if it is not possible , which component should i use for layout?
    <af:panelSplitter id="pt_ps2" splitterPosition="110" positionedFromEnd="false"
    orientation="vertical" firstBorder="none" secondBorder="none"
    inlineStyle="width:980px; height:145px;" collapsed="false">
    With Regards,
    WP

    Do you want to change or disable the collapse function?
    If you want to disable it, simply set
    disabled="truethe af:panelSpliterLayout arron for collapsing will direktly disappear and it will act like a separator or something.

  • 'is null' not working in dynamic sql and SQl Query component (OBPM 10gr3)

    I'm using a SQL Query component with sql like this
    'select col1, col2 from table where col3 is null'
    for some reason this does not work.
    Has anybody faced this issue? Is there a known bug with handling nulls
    Thanks

    plz post which DB version u r working with
    dont use paramters in Procedure with : sign
    Write simply the name of the Paramters like p_userid etc etc
    this might help u as well
    http://baigsorcl.blogspot.com/2010/02/get-rid-of-addtional-quotes-with-quote.html

  • Short dump in report generation for bex query

    Hi,
    I have e newly installed SAP NetWeaver 7.3 and I'm not able to run BEx-Queries. When I start transaction RSRT and try to generate the report for the selected bex query, I get the following short dump:
    Category               ABAP Programming Error
    Runtime Errors         RAISE_EXCEPTION
    ABAP Program           SAPLRRSI
    Application Component  BW-BEX-OT
    If I start the test in RSRV for that query I get:
    Generation limits for the generated report
    Unable to load report GPEM3XZBL2Y9VX9H6SN
    Am I missing a profile parameter for that generartion limits or something else?
    Thanks in advance!

    Hi,
    Check whether your SAP GUI is activated and installed correctly.
    check following threads
    Runtime error RAISE_EXCEPTION has occurred
    Dump when activating Business Content 7.35
    Thanks and regards
    Kiran

Maybe you are looking for

  • Basic Custom duty,CVD and Cess on CVD flows into Excise Invoice instate of BED, ECess on BED and SecECes on BED

    Hello Gurus, One of client having two plants one is DTA Plant and Another one is EHTP Plant(100 % EOU) having 100% EOU licence.Any customer buying from EHTP plant , client is charging Basic custome duty , CVD and CVD Cess .(i.e customer is buying fro

  • Satellite M60-139: Split from button to the middle of the lid

    Hello Forum-Friends and greetings from cologne/germany, I hope I can describe my problem good enough to find help although my bad english ;-) Yesterday I recognised a tore (in german it is called "Riss") in the lid (in german we say "Deckel") of my M

  • Dll for java help...

    I 'd like to create a specific dll usable by java and i just have one dll not usable with java. i need your help if you know a routine, program .. that create automatically my dll for my java use.

  • BI Content Cube 0PUR_C01 & PO Item Cancellations

    Hi, InfoCube 0PUR_C01 has two seperate ways: 1. Conventional way:2LIS_02_S012 2. The New Way: 2LIS_02_SCL and 2LIS_02_ITM I need to see the PO Item Cancellations, which of the 2 ways would be the best for that? Thanks

  • Sharing libraries: two computers: wireless setting

    I'm having trouble sharing music between the libraries on my Mini and laptop. I am connected to the interest via a router, then both machines are connected wirelessly to the router. I can see and play the music on the laptop from the mini, but when I