Af:query - which client event is raised when selecting a saved search

Hi Everyone,
Is there a client event raised when selecting a different saved search in the af:query panel?
I thought it would be propertyChange but that doesn't seem to work.
Using JDev / ADF 11.1.2.1.0

I can think of one way... Like Frank said, you could try hooking up a query operation listener in a backing bean and use QueryOperationEvent to get what you want.
Then you could use the ExtendedRenderKitService to execute/inject javascript on the page.
Would that work for you?Hi, thanks for sharing that.
And I do appreciate that QueryOperationEvent would do the job in most cases, but there might be some cases where I would like to avoid a trip to the server if possible.
Before considering workarounds I was trying to clarify the expected behaviour (i.e. +which of the client events if any, is intended to be raised when you switch a saved search?+)
e.g. af:query raises the client event called 'query' (while on a server side managed bean you can listen for QueryEvent as mentioned earlier in the thread).
[To quickly see the list of client events, you can add an af:clientListener under af:query and look at the available options]
This 11.1.2 doc doesn't mention client events at all: http://docs.oracle.com/cd/E24382_01/apirefs.1112/e17491/tagdoc/af_query.html
And the ADF client side architecture also doesn't list the specific events:
http://docs.oracle.com/cd/E29049_01/web.1112/e16181/af_arch.htm#CBHJEJJG

Similar Messages

  • Which business event is triggered when terminate employee?

    Hi,
    I need to know which business event is triggered when press terminate button in end employment form.
    Edited by: 969359 on Mar 18, 2013 5:36 AM

    It must be oracle.apps.per.api.person.delete_person or oracle.apps.per.api.person.update_person.
    Please check.
    FYI: Both of these events are disabled at the instance I was checking. So makes sure they are enabled before you test the events.
    Regards,
    Peddi
    Edited by: Peddi on Mar 18, 2013 3:31 PM

  • Which client should I choose when i do client copy during PI post-install?

    Hi,gurus:
       Which client should I choose to be the source client when i do client copy during PI post-install?
    000 or 001?are there any differences?Thanks!

    hi
    Do client copy with client 000 and user sap* only .
    001 is the copy of 000 .
    rgds,
    Arun

  • Issue with events not propagating when selecting toolbar items

    Hey All,
    I'm on OS X Lion using CS6 beta and observing events in Photoshop form an outside application using Cocoa's NSEvent#addGlobalMonitorForEventsMatchingMask.
    It seems Photoshop is stoping the propogation of some events coming out of selection of toolbar items. Here's the issue:
    There are two ways to select the Pencil tool from the toolbar. (Method A) I can click the Paintbrush, holding down for a second and releasing, then mouse move to the Pencil and click, OR (Method B) I can mouse down the on the Paintbrush and drag the mouse to the Pencil.
    If I use Method A I get what seems to be every event associated with the interaction, BUT If I use Method B Photoshop seems to stop the propogation of a lot of drag events.
    Are there any experts out there that have an knowledge of why this is, or if there are any known work arounds?
    Regards,
    Ned
    ps This is also an isue in Photoshop 5

    Ned, this is a bit over my head, but FYI (and your troubleshooting research), there are other methods to get alternate tools: ALT+click to cycle them, CMD/right-click to get the flyout, and Shift+Tool shortcut (unless you changed the setting in preferences)
    BTW, method B is not  the same as A? The only difference is that in A, there is a release, then a move to target area, then another click, while in B, we have a hold, then a move to the target area, then release.

  • Which client i should give when Installing J2EE add On?

    Hi all,
       I am installing XI 3.0/windows 2003. While installing
    J2EE addon it is asking for
    DDIC password =
    Client =
      I have 000 and i created 100.
    1. Can i use 000 here?
    (Because i am getting password invalid error when i use 100, I made sure password is working fine nu logging fromsap gui, changes it re tested it but still have problem )
    2. If i already used 000, what are my options.
    Thank you
    Ganges Leaves

    Fortunately, You don't have reinstall from scratch or uninstall j2ee.
    https://websmp202.sap-ag.de/~sapidb/011000358700009389172004E.PDF
    above is the link for the xi install guide. in page 16 of the document it details about the tasks that needs to be done if you missed the client copy before j2ee install.
    Hope this helps.
    Raj

  • Save As Page displays below Adobe Reader X in Modal window when selecting SAVE

    Reports are being viewed in the explorer using Adobe Reader this opens in a Modal window which is a requirement. When selecting the 'Save a Copy'  button from any location on the page using the floating toolbar or standard toolbar the Save As page is being opened under the Model window and the focus remains on the main page so the save location or any button on the page cannot be used.
    There is a work around selecting any option that launched a popup screen from the reader such as Document Properties and then the page is closed selecting Save a copy will open the page on the top,
    This only seems to be a issue when using IE9 when running the same application and Adobe reader version in IE8 no issue is seen. Other popup screen such as Print have no issue and as mentioned once one of these screens are launched the save as displays on top.
    Current version of
    Adobe Reader 10.1.1,
    IE9 9.0.8112.16421
    Windows 7 64bit.
    Using Adobe Reader 9 seems to have similar issues and the page needs to be closed via the task manager.
    We require the webpage to display in a Modal window is there any suggestions on how to ensure the Save As Page is displayed on the top in focus.

    Reader cannot rotates pages in a document, but it can rotate the view. This is not something that can be saved. Adobe Acrobat can rotate pages and save the document, but not Reader.

  • Try to keep accordion panel open when selected

    Hello,
    Could someone help me find the code to "keep the selected panel open" instead of having them closed on each pages.
    There is 2 spry collapsed panels. Within the first one there is 1 Spry Accordion with 5 panels  which need to stay open when selected.
    You will find the site here : www.otaa.fr (but you may use Safari)
    Here the codes:
    <Head>
    <script type="text/javascript" src="SpryAssets/SpryURLUtils.js"></script>
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    <script type="text/javascript"> var params = Spry.Utils.getLocationParamsAsObject(); </script>
    <style type="text/css">
    </head>
    <body>
    <div id="CollapsiblePanel2" class="CollapsiblePanel">
              <div class="CollapsiblePanelTab" tabindex="0">PROJETS</a></div>
              <div class="CollapsiblePanelContent">
                    <td><div id="Accordion1" class="Accordion">
                      <div class="AccordionPanel">
                        <div class="AccordionPanelTab">Logements</a></div>
                        <div class="AccordionPanelContent">
                            <tr>
                              <td height="21" align="left"><a href="html/Vignoles.html">Rue des Vignoles</a></td>
                          </tr>
                        </table>
                <div class="AccordionPanel">
                        <div class="AccordionPanelTab">Maisons</a></div>
                        <div class="AccordionPanelContent">
                            <tr>
                              <td align="left"><a href="html/Serrieres.html">Maison Serrières</a></td>
                          </tr>
                        </table>
                   <div class="AccordionPanel">
                        <div class="AccordionPanelTab">Bureaux et Sièges Sociaux </a></div>
                        <div class="AccordionPanelContent">
                            <tr>
                              <td align="left"><a href="html/Tchad.html">Ambassade du Tchad</a></td>
                          </tr>
                        </table>
                   <div class="AccordionPanel">
                        <div class="AccordionPanelTab">Aménagements Intérieurs</a></div>
                        <div class="AccordionPanelContent">
                            <tr>
                              <td align="left"><a href="html/Martin.html">Appartement Martin</a></td>
                          </tr>
                        </table>
                   <div class="AccordionPanel">
                        <div class="AccordionPanelTab">Equipements</a></div>
                        <div class="AccordionPanelContent">
                            <tr>
                              <td align="left"><a href="html/Aquatonic.html">Centre Aquatique</a></td>
                          </tr>
                        </table>           
    < /body>
    <script type="text/javascript">
    var CollapsiblePanel2 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel2", {contentIsOpen:false});
    var CollapsiblePanel3 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel3");
    var accordion1 = new Spry.Widget.Accordion("Accordion1", { useFixedPanelHeights: false, defaultPanel:(params.panel?params.panel:-1)});
              </script>
    Thanks for you help.

    Forget about the tutorial by David Powers. There is an easier way to achieve what you want.
    If I understand right, you want the about panel to be open when on the about page and the homw panel when you are on the home page. Simply set the default panel for each page as follows
    For the Home page
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Home Page</title>
    <link href="SpryAssets/SpryAccordion.css" rel="stylesheet">
    <script src="SpryAssets/SpryAccordion.js"></script>
    </head>
    <body>
    <div id="Accordion1" class="Accordion" tabindex="0">
      <div class="AccordionPanel">
        <div class="AccordionPanelTab">Home</div>
        <div class="AccordionPanelContent"><a href="index.html">Home</a></div>
      </div>
      <div class="AccordionPanel">
        <div class="AccordionPanelTab">About</div>
        <div class="AccordionPanelContent"><a href="about.html">About Us</a></div>
      </div>
    </div>
    <script>
    var Accordion1 = new Spry.Widget.Accordion("Accordion1", {defaultPanel: 0});
    </script>
    </body>
    </html>
    and for the About page
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>About Us</title>
    <link href="SpryAssets/SpryAccordion.css" rel="stylesheet">
    <script src="SpryAssets/SpryAccordion.js"></script>
    </head>
    <body>
    <div id="Accordion1" class="Accordion" tabindex="0">
      <div class="AccordionPanel">
        <div class="AccordionPanelTab">Home</div>
        <div class="AccordionPanelContent"><a href="index.html">Home</a></div>
      </div>
      <div class="AccordionPanel">
        <div class="AccordionPanelTab">About</div>
        <div class="AccordionPanelContent"><a href="about.html">About Us</a></div>
      </div>
    </div>
    <script>
    var Accordion1 = new Spry.Widget.Accordion("Accordion1", {defaultPanel: 1});
    </script>
    </body>
    </html>
    Repeat this process for each of your pages.
    Gramps

  • Clean search conditions when switch "Saved Search".

    Hi,
    My case as below:
    a query page with an af:query that linked to a VO with *2 pre-defined View Criterias*. Criteria 1 includes field A, B, and Criteria 2 includes field A, B, C, D.
    1. User visit the query page, and default Criteria 1 is selected in the "Saved Search" list.
    2. User select Criteria 2 from "Saved Search" and input some value to field D and click Search.
    3. User visit other pages that is belongs to other task flow within the same project.
    4. User go back to the query page (the default Criteria 1 is selected), and click search.
    The problem is:
    At step 4, Criteria 1 is selected, field C and D is not included, but the search result is the same as step 1, the input values in step 1 is NOT reset.
    If user select Criteria 2, the query value of D (that was input at step 2) is still existing.
    I found this problem only happens when there is more than 1 boundled task flow, and user visit between task flows.
    I am using JDeveloper 11.1.1.3 with ADF BC.
    Samson Fu

    Rename [http://kb.mozillazine.org/search.sqlite search.sqlite] to search.sqlite.old in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] to to test is there is a problem with the file.
    See http://kb.mozillazine.org/Unable_to_search_or_add_new_engines
    Create a new profile exclusively for the 4.0 beta version and create a desktop shortcut with -P "profile" appended to the target to launch that profile.
    * http://kb.mozillazine.org/Testing_pre-release_versions
    * http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    * http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    * http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox

  • FRM-40735: WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-06502.

    Hi Expert,
    Forms Version : 11.1.2.1.0
    Client JRE : 1.6.0_45-b06 Java HotSpot(TM) Client VM
    Run webutil_demo form, http://host:9001/forms/frmservlet?form=webutil_demo.fmx&config=webutil
    it appears following error.
    FRM-40735: WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-06502.
    No error logged in java console client side.
    I've try to re-compile webutil_demo.fmb
    Unattaching and then re-attaching the plsql library webutil.pll to forms using a 11g Forms Builder (instead of earlier version) and then loading the form to the server and compiling form but error still exist.
    Will you please help to give any suggestion?
    Is there any trace can be enabled to find some more details?

    Welcome to OTN
    Before posting on this forum please read
    FRM-40735: WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-06502.
    you'll get some hint here
    Oracle/PLSQL: ORA-06502 Error

  • FRM-40735 WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-065

    Please help....This error is comming when opening the form. The form is running on oracle 11g 64bits web logic.
    "FRM-40735 WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-065"

    Welcome to OTN
    Before posting on this forum please read
    FRM-40735: WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-06502.
    you'll get some hint here
    Oracle/PLSQL: ORA-06502 Error

  • I was having an issue opening a spreadsheet with the file extension .xlsm. This appears as an attachment from a client which means macros were utilized when creating the spreadsheet. The problem lies in. The iPads ability to open the attachment. I downloa

    I was having an issue opening a spreadsheet with the file extension .xlsm. This appears as an attachment from a client which means macros were utilized when creating the spreadsheet. The problem lies in. The iPads ability to open the attachment. I downloaded the numbers app thinking this would be a default software to open any and all spreadsheets.
    Please Help!
    Ipad 2- iOS5

    You may need a version without macros on it. Unfortunately, pretty much all apps are skinned down versions of their original program, often with less functionality. For example in a word document I can italicize,bold and underline, but I only have a handful of fonts to play with and I don't think I can insert tables or images.
    It is very possible that the app simply cannot run macros, which means that document may never work on an iPad.

  • How can i know which index will be used when executing the query ?

    1 ) I have query in which i have 3-4 tables but there multiple index on one column .
    so how can i know which index will be used when executing the query ?
    2) I have a query which ia taking too much time . how can i know which table is taking too much time ?
    3) Please Provide me some document of EXplain plan ?

    Hi Jimmy,
    Consider the below example
    /* Formatted on 2011/02/04 21:59 (Formatter Plus v4.8.8) */
    CREATE TABLE FIRST AS
    SELECT * FROM all_objects;
    UPDATE FIRST
    SET object_name = 'TEST'
    WHERE owner != 'SCOTT';
    CREATE INDEX idx_first ON FIRST(object_name);
    SELECT *
    FROM FIRST
    WHERE object_name = 'TEST';
    It has not used index
    Execution Plan
    Plan hash value: 2265626682
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 58678 | 7334K| 163 (4)| 00:00:02 |
    |* 1 | TABLE ACCESS FULL| FIRST | 58678 | 7334K| 163 (4)| 00:00:02 |
    /* Formatted on 2011/02/04 21:59 (Formatter Plus v4.8.8) */
    SELECT *
    FROM FIRST
    WHERE object_name = 'emp';
    This has used the index
    Execution Plan
    Plan hash value: 1184810458
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 128 | 1 (0)| 00:00:01 |
    | 1 | TABLE ACCESS BY INDEX ROWID| FIRST | 1 | 128 | 1 (0)| 00:00:01 |
    |* 2 | INDEX RANGE SCAN | IDX_FIRST | 1 | | 1 (0)| 00:00:01 |
    From this we can come to the conclusion that, whether to use one index or not by oracle
    would also depend on the data which is present in the table. This has to be this way as
    we see in the bind peeking, if oracle sticks to only one plan, say only use the full table
    scan, it would be a performance hit when it searches for the second query ie where object_name
    ='emp';
    2.
    If we have a query like below.
    select * from emp
    where upper(ename) = upper(:p_ename);
    Evenif we have the index on ename column, oracle wouldn't be able to use the index, as there is a function in the predicate column. If you need oracle to use the index, we need to create a function based index as below.
    Create index idx_ename on emp(upper(ename));
    Regards,
    Cool

  • FRM-40735- when-custom-item-event trigger raised.

    hi all
    while logging in i am getting the following error.
    FRM-40735- when-custom-item-event trigger raised unhandled exception ORA-06508.
    and when i press the button then getting the following error.
    FRM-40735-when-button-pressed trigger raised unhandled exception ORA-06508.
    plz help me out.thanks in advance.
    sarah

    SarahSarahSarah wrote:
    Yes i am keeping the path but i checked without path too.I want to regenerate webutil.plx.i tried by using ctrl+t ,shift+ctrl+k and ctrl+k but it did not generat plx.what should i do to regenerat plx?is it giving any error when you try to generate it using ctrl + t .?
    Also try closing the builder
    set FORMS_PATH with your working directory (do also keep webutil.pll and webutil.olb) in that.
    Open the builder again and try generating

  • Frm-40735 when-custom-item-event trigger raised unhandled exceptionora06508

    frm-40735 when-custom-item-event trigger raised unhandled exception ora-06508.
    While logging in, I am getting the above message,
    If I click on ok i am able to proceed and do the task.
    My problem here is to remove this error.
    Any one plz help out?

    Welcome to OTN
    Before posting on this forum please read
    931068 wrote:
    frm-40735 when-custom-item-event trigger raised unhandled exception ora-06508.So
    ORA-06508:     PL/SQL: could not find program unit being called
    Cause:     An attempt was made to call a stored program that could not be found. The program may have been dropped or incompatibly modified, or have compiled with errors.
    Action:     Check that all referenced programs, including their package bodies, exist and are compatible. Hope this helps
    If someone's response is helpful or correct, please mark it accordingly.

  • Trigger Process chain at set time or when an event is raised.

    Hi All,
             I have a requirement where a process chain should get scheduled at fix time, say at 1:00 AM. Also, it should get scheduled when an event is raised by one BSP application. So, its like Set time OR Event should trigger the chain. Can you please guide, how can i implement this without using a special SM37 job?
    Thanks and Regards,
    Harpal

    Hi Gohil,
    The steps to create an event is as follows:
    1. Create the event with SM62.
    2. In the process chain, maintain your Start process. In the change selections screen, choose the button 'After event'. On the bottom, select your event. Click also on 'Periodic job'.
    3. Activate and schedule your process chain. It will then be visible in SM37, waiting for the event.
    4. Then you may raise this event from any ABAP program with function module BP_EVENT_RAISE. Each time you raise the event the process chain will start. You can raise the event also manually with SM64.
    If you want to fix a time i.e., at 1:00 A.M, you need to got RSPC tcode --> click on the chain --> right click on Start variant --> Click on maintain variant --> Change selections --> Click on Date/Time --> Give the date and time.
    If you want to ru7n your chain daily or weekly like periodically, check Periodic Job and click on "Period Values" and select accordingly. Now save everything and click on start variant and activate and schedule your chain.
    Also check below thread for more info on Event:
    Triggering a Process Chain From R/3 pgm
    Regards,
    KK.

Maybe you are looking for

  • Importing Database from SQL Server into Oracle 8i

    Hello Friends, Cuurentlly we are using SQL Server as our application database, Now we want to switch on at Oracle 8i,bcz of some problems, If anybody had done so,then please help me in solving this problem, I wana Import whole database from SQL serve

  • Delaying rental downloads

    Hi My isp lets me download as much as I want after midnight without using monthly quota. If I start a movie download, and then turn off my Apple TV, would it start downloading if it was turned on again after midnight using a 'timer plug' or do you ha

  • [iTunes Error]"There is a problem with your iPhone."

    I just updated my iPhone 4 to 6.0.1 and now I can't activate it. When I plug it to the PC and itunes are starting to "Access iTunes Store...", it just stops and give me this: [URL=http://0o2471.net/48945][img]http://0o2471.net//48945.jpg[/img][/url]

  • 3rd party application publishing to homepages and iweb

    I have some 3rd party apps (Mac gourmet, comic life, etc) that publish to the Sites folder on your idisk. The url for them is somewhere of homepage.mac.com like http://homepage.mac.com/jchiarelli/MyRecipes/culinarysecrets/index.html http://homepage.m

  • Installing schema for Scott

    I want to experiment with a tutorial or sample database in Oracle 8i. I know there is a sample database schema called 4scott4 (password tiger). I can not find the script that creates this schema. Can anyone help me to find that script to create the s