Designing Layout of Query Component

Hi, I am using the query component both in basic and advanced mode. I just want to know whether i can change the layout pattern of fields in query component or not. If yes, then please provide some guidelines.

You basically build an input form and design it anyway you want, and then use a button on the page to invoke an AM method that will set the VO to use the named view criteria you want.
Something along the lines of this:
http://blogs.oracle.com/shay/entry/am_service_method_-simpledem

Similar Messages

  • Customizing Layout of Query Component

    Can i customize layout of fields in query component? I searched it but could not find anything about it either in documentation or in books?

    No i want to have same functionality as we can in forms like visually grouping certain fields, adding headings on groups and like that.
    I have searched through but nothing find much useful. It seems either i have to build my own query component or extend query component. If any body knows related material / book, kindly tell me.

  • Design mode: Error during component layout. Choose Design Refresh to refresh design mode.

    Description Resource Path Location Type
    Design mode: Error during component layout. Choose Design > Refresh to refresh design mode. etPlayer.mxml /etPlayer/src Unknown Problem
    Refreshing wont work..
    any ideas?

    Some elements can cause the design view to break, it recently happened to me and this was my solution.
    I began by commenting out most of the visual elements from code and going back and forth to design view to try and get it working.
    Finally I narrowed it down to the "ToggleButtonBar" component. After I commented this line out the design view was up and running.
    This might not be the solution but it will get you back up and running.

  • Add custom field to af:query component?

    Anyone had any experience overriding af:query copmonent? I need to add my custom search field (to query component), which would have a search icon next to it, and on click, a popup widow would open containing my custom task flow where I could select a record with certain value and on return that custom field (in query component) would get populated with selected value. I hope I'm being clear. Please point me to any useful information. Is that even possible? I use JDeveloper 11.1.2.3.4.0 Regards, Marko

    Hi,
    af:query is a component that comes as is. Its not designed for customization in that you can add your own fields. If you have a requirement for this then
    1. expose a method on the VO Impl or AM Impl that expect arguments (your query parameters)
    2. Use the arguments to populate bind variables used by a ViewCriteria
    3. Apply the View Criteria to the View Object
    4. Execte the View Object
    5. Drag and drop the method from the DC panel as a parameter form
    6. Ensure the result table PartialTrigger property is pointing to the button ID of the parameter form
    7. Change whatever UI component you want to change in the parameter form
    This gets you going ...
    Frank

  • Query regarding : af:query component

    In af:query my requirement is to add one search field which looks like :
    "*Label*" "*Drop down List*" "*Input Text field*"
    For the other fields which have only
    "Label" and one other Component type i am using QueryDefinition.addAttributeDefinition But how to add two components with Label.

    Not sure if you can change the af:query component to do this , but you can easily build your own search form and in this form build your own layout.
    http://www.youtube.com/watch?v=osdR6I2YVEQ&feature=player_embedded#! this video give you an example
    Timo

  • Reorder Saved Search items in af:query component

    Hi,
    Is there any way to change the order of Saved Searches listed in the af:query component. The order that the view criteria are displayed in this component does not seem to have any relationship to the order that they occur in the VO.xml file, nor are they listed alphabetically.
    I'm only interested in ordering the view criteria in the choice list, that I have configured at design time.
    Is this possible?

    forgot to mention in my initial post that I'm using Jdeveloper 11g Rel 1.
    Thanks,

  • Report Designer - Layout height and width

    Hi Experts,
    Is there an option to adjust the report designer layout height and width? I am able to adjust the individual row and column height. I have a report designed in report designer which will have only 5 rows. when I execute this web template the report item is displayed in one entire page instead of only 5 rows.
    How can I control/adjust the page size in report designer? Is this possible?
    Thanks,
    Gnana

    Gnana,
    are you starting the report from the portal directly, or do you have it embedded into a web template?  As the Report is a web item, you can set the size of the item.
    At first I was considering posting the reports directly to the portal, but there are some things that I don't like with how it handles them - for example if you have a report based on the query view, when you post it directly to the portal it will execute it with the saved variable values before you can change them.  Thus, I have to put it into a web template and set to prompt for variables at the beginning.
    Thanks

  • Configurable layout of query panel inputs

    How does one configure a query component to allow the view criteria fields in a view object to be displayed in a certain way? I have a business requirement to align 4 input fields side by side and was wondering if there was a way to do this with the query panel as I would like some of the features that come along with it or if I need to attempt this issue another way.
    Thanks

    Good to know, I will do something similar for a short-term work around but have the feeling I will need to arrange stuff in more details.
    It looks like 11gR2 solves this issue with the UI layout tools included but i'm surprised there is not a simple programmatic way to define groups in a query box.

  • 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

  • Design Layout of Project Dissapears

    This happened to me yesterday, once or twice.
    Now it seems that anytime I save a project and then close down Creator, when I open Creator back up and try to open an existing project the design layout dissapears. So does every object in the Document Outline. The source is still there, but not the "design" tab.
    Has anyone else had this problem and have you isolated it to a sequence of events so I can prevent it in the future

    Looking at the Creator log, I see this
    INFORMATIONAL *********** Exception occurred ************ at Thu Apr 15 15:19:56 PDT 2004
    java.lang.IllegalStateException: [Winsys] TopComponent com.sun.rave.designer.DesignerTopComp[Design,0,0,880x772,invalid,layout=java.awt.BorderLayout,alignmentX=null,alignmentY=null,border=,flags=256,maximumSize=,minimumSize=,preferredSize=] throws runtime exception from its componentActivated() method. Repair it!
    [catch] at org.openide.windows.WindowManager.activateComponent(WindowManager.java:279)
         at com.sun.rave.windowmgr.WindowManagerImpl.activateComponent(WindowManagerImpl.java:368)
         at com.sun.rave.windowmgr.LayoutManagerListenerImpl.reactivateSelectedComponent(LayoutManagerListenerImpl.java:41)
         at com.sun.rave.windowmgr.LayoutManagerListenerImpl.layoutWindowChanged(LayoutManagerListenerImpl.java:125)
         at com.sun.winsys.layout.impl.RLayoutWindow.fireComponentChanged(RLayoutWindow.java:503)
         at com.sun.winsys.layout.impl.RLayoutWindow.stateChanged(RLayoutWindow.java:436)
         at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:287)
         at javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:219)
         at javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:116)
         at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:50)
         at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:468)
         at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:461)
         at com.sun.winsys.swing.BasicClosableTabbedPaneUI$MouseHandler.mousePressed(BasicClosableTabbedPaneUI.java:3459)
         at java.awt.Component.processMouseEvent(Component.java:5097)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3195)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    ==>
    java.lang.NullPointerException
         at com.sun.rave.insync.live.SourceLiveRoot.getInstanceName(SourceLiveRoot.java:34)
         at com.sun.rave.component.html.DocumentComp.<init>(DocumentComp.java:46)
         at com.sun.rave.designer.SelectionManager.updateNodes(SelectionManager.java:2643)
         at com.sun.rave.designer.DesignerTopComp.componentActivated(DesignerTopComp.java:590)
    [catch] at org.openide.windows.WindowManager.activateComponent(WindowManager.java:277)
         at com.sun.rave.windowmgr.WindowManagerImpl.activateComponent(WindowManagerImpl.java:368)
         at com.sun.rave.windowmgr.LayoutManagerListenerImpl.reactivateSelectedComponent(LayoutManagerListenerImpl.java:41)
         at com.sun.rave.windowmgr.LayoutManagerListenerImpl.layoutWindowChanged(LayoutManagerListenerImpl.java:125)
         at com.sun.winsys.layout.impl.RLayoutWindow.fireComponentChanged(RLayoutWindow.java:503)
         at com.sun.winsys.layout.impl.RLayoutWindow.stateChanged(RLayoutWindow.java:436)
         at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:287)
         at javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:219)
         at javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:116)
         at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:50)
         at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:468)
         at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:461)
         at com.sun.winsys.swing.BasicClosableTabbedPaneUI$MouseHandler.mousePressed(BasicClosableTabbedPaneUI.java:3459)
         at java.awt.Component.processMouseEvent(Component.java:5097)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3195)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)I hope that helps. BTW, I'm just trying to re-open the SimpleNavigation tutorial that I created.

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

  • How to create the layout for query in Bex 3.5

    Hi All,
    i have one requirement to do layout for query. Report like after passing the variable values and then they will select the required layout. It has to get output according layout selection fields.
    i have no idea about how to create layout.
            thanks in advance...
    Thanks & Regards,
    Mallikarjuna.k

    Hi Gregor,
    In the note 1149346 that you have mentioned, it says -
    You must start the input-ready query in change mode.
    BEx Analyzer: In the properties of the analysis grid, the switch
    "Suppress new rows" must not be set.  Furthermore,
    the switch "Allow entry of plant values"
    must be set in the local query properties.
    I have not seen this setting Allow entry of plant values in a query - can you tell what is refers to?

  • Applet does not load on app server when Free Design Layout

    Hi,
    I have to embed a an applet in a webpage of an web application. Before I go on to anything.. let me first tell you, I am using Netbeans 6.0
    As shown in the tuorial:
    [http://www.netbeans.org/kb/articles/tutorial-applets-40.html]
    1. I first made the "Applet" source say HelloApplet. java. After compiling and running it I get the HelloApplet.jar.
    2. I created a WebApplication and then from the properties -> packaging -> I "Add Project" HelloApplet.jar.
    3. Then I a webpage I "embeded" the applet.
    4. I run the web app and the applet gets loaded and everything is just fine.
    But before I go on I must tell you that the applet was designed in Null Layout. Now I edited the applet source once again and changed the layout to Free Design Layout*. ( this is available from Netbeans..on the HelloApplet.java .. go to the design view.. right click on the form and from the context menu you can change the layout to FreeDesign or whatever you might want).
    When I expand the "Libraries" node I see the that the library Swing Layout Extensions - swing-layout-1.0.3.jar has been added.
    When I "run" the "HelloApplet.java" file, the applet is shown in the appletviewer. No problems with that.
    But!
    When I try to Clean & Build and Run the WebApplication, the applet does not get loaded. On inspecting the java console I see the following error:
    java.lang.NoClassDefFoundError: org/jdesktop/layout/GroupLayout$Group
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
    at java.lang.Class.getConstructor0(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ClassNotFoundException: org.jdesktop.layout.GroupLayout$Group
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    ... 10 moreIt clearly shows that the Free Design Layout has something to do with the GroupLayout which can be found by expanding the "Swing Layout Extensions - swing-layout-1.0.3.jar". Now when the HelloApplet.jar is created only the HelloApplet.class file gets included together with some other data but NOT the swing extensions. Hence when I run the web app the class file looks for the GroupLayout.class definition but can find it in the jar as its not included when the HelloApplet.jar is created.
    But with null layout there isint a problem because null layout takes the definitions from the JRE on the machine.. and so it runs without a hitch.
    My Question is : How can I run the applet with Free Design Layout? or is it possible to package the swing layout extensions in the HelloApplet.jar?<</u>
    Thanks for all your replies.
    Cheers.
    Edited by: arijit_datta on May 15, 2008 4:07 PM

    Solved.
    Here is the solution:
    [http://www.nabble.com/Applet-does-not-load-on-app-server-when-Free-Design-Layout-to17259115.html|http://www.nabble.com/Applet-does-not-load-on-app-server-when-Free-Design-Layout-to17259115.html]
    Cheers..
    Edited by: arijit_datta on May 16, 2008 7:41 AM

  • Error while creating query component

    Hi,
    I working in a production environment where I have 2 application servers, 2 query servers and 2 crawling servers. I have created the search service application on the application server with the default topology then I modified the topology to add the crawl
    components on the crawl servers successfully.
    Now I have an issue creating new or modifying the current query components. Every time i try the create new query component I receive the below issue. The query server is having the services "SharePoint Server Search" and "Search Query and
    Site Settings Service" running and other services are stopped. 
    So, does anyone knows why this issue happens and how to fix it
    Errors were encountered during the configuration of the Search Service Application. Microsoft.Office.Server.Search.Administration.SearchConfigWizard+SearchConfigWizardException: Topology provisioning failed due to an error.Topology activation was aborted
    because of System.ArgumentException: File to copy \\RUH-NDC-KBP-A01\b941e2c4-c227-40d6-9f40-20d25e59b39e-query-0\b941e2c4-c227-40d6-9f40-20d25e59b39e-query-0\Projects\AnchorProject\Indexer\CiFiles\02030001.bsd does not exist on RUH-NDC-KBP-Q01. at Microsoft.Office.Server.Search.Administration.CopyFilesJob.Initialize()
    at Microsoft.Office.Server.Search.Administration.CopyFilesJob..ctor(SPService owningService, SPServer serverToRunOn, String name, Guid searchApplicationId, String[] sourcePaths, String[] destinationPaths) at Microsoft.Office.Server.Search.Administration.SearchApi.RequestFileCopy(String
    fileCopyName, String serverNameToRunOn, Guid searchAppId, String[] sourcePaths, String[] destinationPaths) at Microsoft.Office.Server.Search.Administration.QueryComponent.RequestRepartitionIndexesFiles(QueryComponent component) at Microsoft.Office.Server.Search.Administration.QueryComponent.CopyRepartitionIndexes(QueryComponent
    component) at Microsoft.Office.Server.Search.Administration.QueryComponent.ExecuteCurrentStage(). To retry the activation, run the cmdlet Set-SPEnterpriseSearchQueryTopology -Active. If the error persists, restart the activation by calling the CancelActivate()
    method on the query topology object, and then calling Set-SPEnterpriseSearchQueryTopology -Active. at Microsoft.Office.Server.Search.Administration.SearchConfigWizard.WaitForTopologyTimerJobToFinish() at Microsoft.Office.Server.Search.Administration.SearchConfigWizard.UpdateSearchApp()
    at Microsoft.Office.Server.Search.Administration.SearchConfigWizard.ProvisionSearchServiceApplication() at Microsoft.Office.Server.Search.Administration.SearchConfigurationJobDefinition.ExecuteTimerJob()
    2/13/2014 5:04:35 PM 
    Regards,
    Ehab
    Ehab

    Are you creating the new topology using Central Administration or PowerShell?
    It looks like there is an issue synchronizing the search configuration files in the share.
    Jason Warren
    @jaspnwarren
    jasonwarren.ca
    habaneroconsulting.com/Insights

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

Maybe you are looking for

  • Is it possible to remove categories?

    I have an iPod nano (6th generation) connected to my factory car stereo an would like to know if there is a way to remove categories (composer, genre, etc.) from the menu on th iPod to make it easier to scroll to th song I want.  Ideally, I'd like it

  • UI rendering issue in Skin editor (11.1.2) on Mac

    Hi, I just tried to run the stand alone skin editor (11.1.2) on Mac OS X and noticed some UI rendering issue - All the icon and menu are hidden unless I move the mouse cursor over them. (sometimes they don't even show up if I do so) And every time wh

  • Lightroom CC: GPU NOT supported

    Hi! I have just installed LR CC and it doesn't seem to support my ATI Radeon HD 6670 (1GB GDDR5 VRAM, OpenGL 4.2). Latest AMD driver ist installed. Sysinfo: Version von Lightroom:  CC 2015 [1014445] Lizenz: Creative Cloud Betriebssystem: Windows 7 En

  • Rights to enroll computeur on domain 2008 Server

    Hello, How are you ? I'm sorry if my English isn't very well... So... I've got few servers on Windows 2008 R2. I search to limite rights on my domain. Is it possible to make a security group or a GPO to limit a part of account to enroll computers ? I

  • Where can I obtain a replacement key?

    I have a satellite 3000-400 with a function [Fn] key top which is broken. Where can I obtain a replacement key top?