How can I intercept search-on-enter in RichTable?

Hi!
JDev 11.1.2.0.0
I need to intercept the search-on-enter thing in the RichTable. I want to do some checks on the search fields before the search is executed, possibly canceling the query, and I want to bring up my blocking glass pane before the query is executed. But how do I do that?
Catching the key event in my filter input fields proved to be fruitless. Also, a clientListener on the table does not help.
Thanks,
Sascha

Frank,
thanks. I already have my own filter fields. And I can put a clientListener on them alright. And when the user presses ENTER I get the event in Javascript.
But that doesn't unqueue the query event, which seems to be already queued at that time.
BUT ... you were right all along. The table DOES queue a query event and I can put a clientListener, type: "query", into the table, even though JDeveloper does not offer this option. And I just assumed that it is impossible to listen for the query event because the option is not there.
But it works. When I cancel the event in Javascript, then the query is not executed. And I can open my glass pane before the query. That's what I have been looking for. Even though it seems to be somewhat undocumented. So, Frank, thanks for the help.
John, you gave me the idea to try it anyway, because you pointed to the often wrong documentation. Thanks for that.
Sascha

Similar Messages

  • How can i add search help

    hi  how can i add search help .
    when i am giving a parameter of type BSART  it takes the in built search help
    but i want only those values to appear in F4 help which have  diff values in category  but i want only with catogory "F".
    thanks in advance
    naval bhatt

    Hi,
    You have a Function module <b>HELP_VALUES_BSART</b>
    or
    You need to use AT SELECTION-SCREEN ON VALUE-REQUEST FOR <FIELD>.in this one use the Function module F4IF_INT_TABLE_VALUE_REQUEST.
    Look at the below linkhttp://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbaac935c111d1829f0000e829fbfe/content.htm
    Regards
    Sudheer

  • How can I edit the number entered in the keypad, which I wanted to dial of iPhone4, there is no marker coming up to edit like what we have in Notes

    How can I edit the number entered in the keypad, which I wanted to dial of iPhone4, there is no marker coming up to edit like what we have in Notes

    Deepu272 wrote:
    btw does your answer mean that editing the number on keypad is not possible?
    Correct.
    Is this is the case with all the iPhone models ?
    Yep.

  • How can I reset the age entered during the first configuration set up?

    how can i reset the age entered during the first configuration of a brand new i pod touch. The age is incorrect and does not allow me to open a new i-tunes at a later configuration step. Error meesage: you are not old enough to open a new i-tunes account.
    Thanks for support to solve the problem.

    - Terminate the setup for obtain the account and then try again with same email address.
    - Next would be to contact iTunes.
    Contact iTunes

  • How can i delete search histiory, (not just browser history, j.jc

    how can i delete search history, ( not just browser h' i can do that) j.c.
    == This happened ==
    Every time Firefox opened
    == long time ago

    See [[Clear Recent History]] and http://kb.mozillazine.org/Deleting_autocomplete_entries
    See also http://kb.mozillazine.org/Search_Bar
    You can remove passwords in the Password Manager:
    Tools > Options > Security: Passwords: "Saved Passwords" > "Show Passwords"

  • I have iPad new 3rd gen with OS 7.0.4.  I cannot open SEARCH window by using maneuvers noted in manual.  how can I open SEARCH?

    I have iPad new 3rd gen with OS 7.0.4.  I cannot open SEARCH window by using maneuvers noted in manual.  how can I open SEARCH?

    Swipe down from the middle of the home screen - not from the top of the screen - move down a little bit and swipe down. The Spotlight Search field should appear at the top.

  • How can we change search engine using DISM

    sir how can we change search engine from "bing" to "Google" in offline image using DISM. what is that DISM command?

    Hi,
    There is no such command to achieve what you want.
    Regards,
    Blair Deng
    Blair Deng
    TechNet Community Support

  • How can I arrange for the Enter key to just drop d...

    How can I arrange for the Enter key to just drop down a line instead of posting the message?

    In Skype go to Tools -> Options -> IM settings -> Show advanced options. In the section “Pressing Enter will” select the option: Insert line break.
    Note that this option is only available with Skype version newer than 6.1. The currently latest Skype version is 6.3.0.107.

  • How Can I hide search help button in alv ?

    Hi Sdn .
    I want to hide search help button in my alv ..
    My  gs_fcat-f4availabl  = 'X'. is not active ..  but  there is search help button  .
    How Can I hide button .
    Regards  .
    Serkann

    donnot pass any values in field catalog for reference field and reference table.
    or dont use any standard data element

  • How can i activate keyboard click(enter button).......

    Hi,
    how can i activate enter button through keyboard for proceeding to next page or to raise some event without going for event handler.
    a samll example, if have a set of rows where some columns with labels,textinputs and a button. I want to call a method to store the values of current row by clicking on button. At this i want to activate keyword button (enter ) to proceed with click functionality without going for event handlers.so please you provide a small example in this ...............
    thanks in advance.

    i didn't understand the question properly i think this may be helpful.
    list.addEventListener(KeyboardEvent.KEY_DOWN,ClickEvent);
    function  ClickEvent(e:KeyboardEvent):void
       if(e.type==Keyboard.ENTER)
         doTask();   // check for which one triggered the event and work on it

  • How can I limit searches to documents only, not emails?

    When I do a search for documents containing a particular word, I would like it to find documents -- not emails containing that word. How can I "turn off" searching emails?

    You can't. Although, the Spotlight show search results has mail and webpages listed only applies to Spotlight searches using CMD+spacebar or clicking on the Spotlight icon. At least that's what engineering responded when I filed a bug against that nonsensical behavior in Lion.
    After reviewing your submission engineering has determined that the behavior you reported is as expected/designed.
    The spotlight preferences set in the prefpane only apply to the spotlight menu in the menubar, not in the finder.
    All I can suggest is that you File an enhancement request with Apple asking them to restore the behavior to all Spotlight-based find operations. Do note that they'll most likely not do it.

  • How can we find search criteria for Mask and Namedsearch

    Hi Gurus,
      I got a doubt while working with the concept of mask and namedsearch. I defined a search criteria and stored the result under a mask or namedsearch. After some time if i call the mask/namedsearch where can we see the search criteria. Can anybody make me clear about this.
    Thanks
    Ravi

    Hi Ravi,
    You can see the search criteria for Named Search. Suppose you search for a field in free form search and then include all these records in your Named Search. Now in order to see the search criteria and enhance it. You need to go to>Menu bar>Search>Restore Named Search>Press Named Search(Name Given By you). Now you will able to see in free form search or any other search criteria which you included in for your Named Search.
    Regards,
    Mandeep Saini

  • How can I show Search Form parameter values in URI of Results page?

    I have searched through these pages for posts relating to caching but haven't seen any that relate to my issue.
    We run a website that accesses data through search forms and returns matching data to the requester in a results page. The search criteria are entered in a form and the results page is generated by a servlet that gets the search parameter values that the user entered using the GET method.
    I would like rewrite this Search page using JDeveloper to bring our old code up to date and take advantage of new features that should help performance. In particular, I want to utilise the WebCache.
    To use the WebCache effectively, the cache needs to know what the search criteria were when it delivers a page so that repeated requests using the same criteria can be served directly from the cache.
    The data retrieved by a query may change from one search to to the next so I can't use time-based caching. But, I can use the WebCache Invalidation interface from the back-end DB server to flush old data out of the WebCache when it is changed, but to flush out the correct pages I need to know the parameter values passed.
    If I just follow the demos, it seems like the search parameters are all hidden in beans or something which means that the Web Cache can't be used for what I want. The parameter values are important.
    So my question is: is there a way of showing the search parameters used in the URI to the Results page? Can the old GET method of parameter passing be used (or can I somehow just put the old style parameters onto the URI?)
    Alternatively, is there a simple How To or Demo on how to use the Web Caching facility with JSF?
    (ADF Caching and Java Object caching do not seem appropriate for my needs. ADF caching seems to be limited to having fragments cached for fixed periods of time and Java Object caching is orders of magnitude slower and involves the Application Server.)
    Thanks for any advice,
    Andy

    Sorry - should have said I'm using JDev 10.1.3.0.4 with JSF & ADF BC.

  • This is a question about the iTunes Store.  I have the correct artist, title, composer, and album name for a song popular in the 1970's.  The store's Advanced Search feature can't find any of the information.  How can I get Search to find the song I seek?

    What can I try if the store's Advanced Search strikes out trying to find the song I want?

    Perhaps the song is not available in MP3 format, or isn't available in the iTunes Store, or simply not available in your country. (A Norwegian band's first album from the 1980s became available in MP3 format only in April 2012; an example that not everything is automatically is available in MP3 as soon as possible.)
    ... and before any wag says, or even thinks "it", yes - the Norwegian band's album is very good! (Still waiting for their second album, from 1982, though!)
    You may be surprised at how often a song or album is not available because of "contractual problems" - in other words, someone's being greedy, difficult, or both. (Another album I like, from a UK band of the 70's, was unavailable for a long time because - and I'm quoting the band's leader - "the copyright owner wanted too much money for the album to be on CD.")
    You could try looking for the song in other stores. If it's not yet available anyhwere, you'll just have to be patient. You could try contacting the band via any websites they have, and asking them about it's availability. What's the song? Perhaps I (or soemoen else) might be able to confirm it's availability on MP3 from another source.

  • How can I force users to enter specifc format?

    I'm using Livecycle Designer ES2 provided with Acrobat X Pro. 
    I have a form where the age field is calculated from the date of birth field.  The date of birth field (DOB) is a date/time field.  The age field (Age) is a numeric field.
    Problem is: when user enters 01/01/01 shows age as 101.  When user enters 01/01/2001 age shows 1.  All patterns are set to mm/dd/yyyy.  Is there a way to prohibit the user from continuing to the next field until the proper format is entered?  I'm open to any ideas which will acheive the desrired outcome.  I'm new to livecycle and javascript.  I suspect an easy solution but I can't seem to find it when searching the forums or LD help menu.
    I've attached the script for the Age field in case it helps.
    Age::calculate - (JavaScript, client)
    var ageInYears = 0;
        var birthDate = new Date();
        if ( DOB.rawValue != null )
            // Get current date, and convert user-entered date to a Date object.
            var curDate = new Date();
            birthDate.setTime(Date.parse(DOB.editValue));
            // Set initial age, current year - birth year
            ageInYears = curDate.getFullYear() - birthDate.getFullYear();
            // If we haven't reached the birth month yet, not yet 1 year older...
            if ( curDate.getMonth() < birthDate.getMonth() )
                ageInYears--;
            // If this month is same as birth month but we haven't reached the
            // birth date yet, not yet 1 year older...
            if ( curDate.getMonth() == birthDate.getMonth() )
                if ( curDate.getDate() < birthDate.getDate() )
                    ageInYears--;
            // Set age in result field.
            this.rawValue = ageInYears;

    Radzmar,
    Thanks for the great advice at: http://thelivecycle.blogspot.de/2011/10/date-patterns.html
    However I can't get this method to work. I would like the date to display as MM-DD-YYYY regardless of what the user enters. 2 problems show up. First I get this annoying dialog box
    and then second the date box doesn't even display the date in the MM-DD-YYYY format I would like. For instance if I enter 10/15/1994 the dialogue box above appears but doesn't display 10-15-1994, it just displays it as 10/15/1994. There seems to be a difference between pressing enter or return on keyboard after typing the date, versus just clicking out of the date box. I can't get a sample date in the "Sample" line like you had. Any ideas?

Maybe you are looking for

  • Display image in email

    I would like to be able to add an image (the firm logo) in the body of an apex/htmldb email, and have it shown in the email and not be blocked by Outlook. Is this possible? Thanks, Jan

  • How come someone else is receiving my icloud emails?

    I just found out that someone else is receiving my icloud emails. I tried to make a dinner reservation and gave my icloud email address, nothing turned up so I called them and they said that someone with the same name as me called 5 minutes before to

  • Podcasts Missing on iPod

    Hi, I have a 5th generation 30GB iPod, which worked fine until I recently did a "Restore iPod". Now its mostly working fine except for the following: Podcasts appear in iTunes as expected, but after syncing my iPod, do not appear in the iPod's "Podca

  • Evdre using EVCOM function

    Hi Friends, I am working on an EVDRE on BPC 7.5 , I would like to know how can i use the EVCOM function.i am running a report in Finance application to see the record i have added using Finance Input schedule. For reference i have given my comments a

  • TS3694 im trying to update my apps but i get a message saying security code is invalid

    i hate this i phone