Override the default behavior of af:inputListOfValues

Here's the problem. I'm not quite satisfied with default behavior of standard af:inputListOfValues. For example, the user inputs in the text box some first digits of an account number. Then he presses Tab and popup opens, filtered by these first digits. That's OK, but:
1. It will be great to see the value user has entered in the field for account number entry (so that not only the list is flitered, but the user can see the filter condition at once)
2. If the user presses Cancel, and then enters some other first digits of account number and presses the magnifying glass button (not the Tab key!) then the popup opens with the list filtered by the PREVIOUS condition, and not by the value that the user entered).
So the question: is it possible to change a bit this default behavior?
Edited by: Brenagwynn on 29/1/2010 15:36

Yes, I've tried using launchPopupListener, I've even tried the approach Frank Nimphius has proposed here: http://www.oracle.com/technology/products/jdev/tips/fnimphius/restrictlovlist/restrictlov.html
But alas, it doesn't work, as expected. Maybe it was working in JDev 11.1.1.0.2, but it doesn't work in JDev 11.1.1.2.0 I'm using. I'll try to use executeEmptyRow...

Similar Messages

  • [svn:fx-trunk] 12963: Add IDebuggerCallbacks.terminateDebugTarget(), so that the debugger can override the default termination behavior.

    Revision: 12963
    Revision: 12963
    Author:   [email protected]
    Date:     2009-12-15 10:34:20 -0800 (Tue, 15 Dec 2009)
    Log Message:
    Add IDebuggerCallbacks.terminateDebugTarget(), so that the debugger can override the default termination behavior.
    Modified Paths:
        flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/DefaultDebuggerCallbacks.ja va
        flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/IDebuggerCallbacks.java
        flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/PlayerSession.java
        flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/PlayerSessionManag er.java

    Gordon, it looks like its been a while since you made this post.  Not sure how valid it is now...   I am particularly interested in the LigatureLevel.NONE value.  It seems that it is no longer supported.
    How do I turn of ligatures in the font rendering?
    My flex project involves trying to match the font rendering of Apache's Batik rendering of SVG and ligatures have been turned off in that codebase.  Is there any way (even roundabout) to turn ligatures off in flash?
    Thanks,
    Om

  • What should the"default behavior" be for WiFi network connections?

    I Have been able to at least temporarily fix the plethora of problems encountered after downloading Mountain Lion to my 2009 17" MBP just ten days ago.  Thanks to the time and effort of so many posters that are much more savvy than me, I successfully executed the steps suggested in many of the posts and with good results.  It surely beats running down to the Apple store and being told that I am the only one with a problem.
    Okay,  I've  realized that I don't really know what the default behavior of the WiFi network connection should be? 
    Specifically:
    Should the Wi-Fi drop down in Network always be" looking for networks", even though I am obviously on my Network?
    Should the Wi-Fi be connected at all times even when your computer is in sleep mode- or deep sleep mode?  There have been so many problems with Wi-Fi dropping off,slow or hanging loads, etc.
    I unchecked "ask to join networks, in Network preferences thinking it might stop looking for networks when it doesn't need to because I'm already on mine.  I do see my neighbors (four neighbors) in the drop down in Network. 
    How do you get into Time Capsule's settings, to check speeds, especially ping?  What should the ideal settings be?
    How do you know if your DHCP license is renewed? I've heard that feature isn't working and may be the culprit to some of the Wi-Fi problems.
    I'll look forward to your help in understanding more about this.  I've been in the support  area a lot lately, I've read plenty of definitions, and explanations of the different options to choose from in Apple's support area, but nowhere have I seen anything that explains what the default behavior should be or perform  like. 
    Thanks, as always.

    Generally, you don't want to tweak the wifi settings. It pretty much takes care of itself. The caveat to that is, of course, if you're experiencing problems.
    The 'looking for networks' behaviour only happens when you log in, wake the mac from sleep OR when you click on the wifi icon. You clicking on it tells the mac  "I want to see what networks are available" - so it does a scan for you to check to see if any new networks have appeared since you last clicked on it (or woke/logged in). In short, if you don't want it to look for new networks, don't click on the icon!
    Unchecking the 'ask to join networks' option only applies when your mac detects a new network (such as when it wakes) that you haven't already authorised; it'll ask you to confirm whether you want to join it or not. Otherwise, if the network is open it'll join automatically. You should keep this selected if you travel around with your Mac. It's a good idea to know what network you're on before you start plugging in passwords or typing other things into the mac.
    There is a utility that you can use for ping and traceroute called 'Network Utility'. Click on the Spotlight icon in the top right of your screen and type "Network' and you should see it at the top of the list. Hit 'return' to open it.
    DHCP licences are normally renewed automatically by your router every 24 hours. Again, there's no reason to be messing about with that unless you're experiencing problems.
    If you're experiencing wifi dropout, let us know, and we'll make some suggestions, but if you're not, you're best leaving your mac to manage the background processes. It knows what it's doing!
    Message was edited by: softwater

  • Trying to override the default af:tree expanded and collapsed icons

    Hi,
    I initially hijacked a thread from 2010 that was vaguely similar to what I need to ask, but a kind forum moderator split my post out to stand on its own merits.
    I am trying to override the default af:tree expanded and collapsed icons I am using the following styles for my af:tree but they are not reflecting any thing on my tree with the styleclass orgType.
    af|tree.orgType::expanded-icon {
    content: url("../images/ac-expand.png");
    cursor: default;
    af|tree.orgType::collapsed-icon {
    content: url("../images/ac-collapsed.png");
    cursor: default;
    af|tree::expanded-icon {
    content: url("../images/folder_open.png");
    cursor: default;
    af|tree::collapsed-icon {
    content: url("../images/folder_close.png");
    cursor: default;
    After working for long hours I realized that there is some problem with af:tree and treeTable. They are not taking the styles where as for the other components, every thing works fine. Is there any way to achieve the task. Could you suggest any alternative way to do this. Thanks in advance. Your suggestions for this task can really help me and my team a lot.
    Regards,
    Krishna Sumanth.

    Hi,
    do the icons show without the style class reference used in the skin file? If so, then the style class for this component might be rendered differently for the tree, e.g.
    .orgType af|tree ...
    Frank

  • How to override the default delete operation

    Hi,
    I am new to Jheadstart, java coding for that matter.
    Here's my situation,
    I have a view which is based on a function (function returns a collection).
    I have created instead of triggers on this view to perform insert/update/delete operations.
    All these DML operations work as expected in Oracle database.
    Now, I created an Entity object and a view object on this view in my jheadstart project.
    When I run this Jheadstart application my insert and search operations run fine but update and delete operations fail with JBO-26080 error.
    The underlying oracle error is "ORA-02014: cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc."
    I know that delete and update operations work fine in Oracle and hence I would like to override the default Jheadstart operations. Can any body tell me how can I do it or point me in right direction?

    Hi,
    From the JHeadstart Developer's Guide, chapter TroubleShooting - Problem Assessment:
    If you are getting a JBO error (Business Components for Java error), try to perform the same data retrieval or data manipulation action using the BC4J Tester. You can
    invoke the tester through a right-mouse-click on the BC4J application module. If you get the same error using the BC4J tester, the problem is in the BC4J object definitions. If you added business rules, or other custom code to your BC4J objects that executes during your data retrieval or data manipulation action, you can debug this code line-by-line by running the tester in debug mode. You can also look up the JBO error in the JDeveloper online help, for each error possible causes and how to solve them are described.
    It sounds to me like you will also get this error in the BC4J Tester. This means that the problem is not related to JHeadstart. You can go to the JDeveloper discussion forum http://otn.oracle.com/discussionforums/jdev.html and ask your question there without mentioning JHeadstart. Maybe there is some switch you can set in the BC4J object to let BC4J not use SELECT FOR UPDATE.
    Hope this helps,
    Sandra Muller
    JHeadstart Team

  • How to override the default height of tree component...

    Hi,
    Can anyone please tell me how to override the default height of <af:tree> component.
    Actual Problem:
    I have a PanelBox in which I have a ShowDetail component. ShowDetail contains Tree component. When I click on ShowDetail item the Tree component have to be displayed. But, PanelBox is expanding to TREE default height(27.27 ems) instead of expanding to exact height of Tree.
    How to manage this issue?
    Thanks
    -Sukumar

    Did you already try
               <af:treeTable value="#{bindings.DashProjectPhasesDev.treeModel}"
                                  var="node"
                                  selectionListener="#{bindings.DashProjectPhasesDev.treeModel.makeCurrent}"
                                  rowSelection="none" rowBandingInterval="0"
                             inlineStyle="width:810px; height:1100px;"> Check the last line with inlineStyle...
    Julian

  • WorkManager entry for max-stuck-thread-time doesnot override the default

    Hi All,
    I am using WLS 10.0 and have configured the following workmanager entry in the config.xml:
    <work-manager>
    <name>myworkmanager</name>
    <target>AdminServer</target>
    <ignore-stuck-threads>false</ignore-stuck-threads>
    <work-manager-shutdown-trigger>
    <max-stuck-thread-time>60</max-stuck-thread-time>
    <stuck-thread-count>5</stuck-thread-count>
    </work-manager-shutdown-trigger>
    </work-manager>
    I want that the <BEA-000337> message should be logged after the work-manager-shutdown-trigger's max-stuck-thread-time exceeds (after 60 seconds).
    If more than 5 threads of applications which are dispatched to this workmanager becomes stuck for more than 60 sec. an additional request to this applications are responded with http code 503.
    However, no <BEA-000337> message is written in to the server’s log file.
    This message is only written to the log file, when the stuck-thread-max-time (e.g. set to 150 secs) element of the servers configuration is exceeded.
    Sample:
    ####<09.01.2009 13:31:58 IST> <Error> <WebLogicServer> <appcashd>
    <AdminServerrefs1m1vm1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default
    (self-tuning)'> <<WLS Kernel>> <> <> <1231504318065>
    <BEA-000337> <[STUCK] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "151" seconds working on the request "Http Request: /testservlet/sleep", which is more than the configured time (StuckThreadMaxTime) of "150" seconds.
    Stack trace:
    java.lang.Thread.sleep(Native Method)
    at.compny.testservlet.SleepServlet.doGet(SleepServlet.java:61)
    I believe that the <BEA-000337> message should already be logged after the work-manager-shutdown-trigger's max-stuck-thread-time exceeds (ergo after 60 seconds).
    I would like to know if this is the default behavior or we are encountering a bug.
    Any pointers would be appreciated

    Hi,
    what I was thinking about is that the work manager indeed works since the next request after the specifies number of requests is returned with a 503 error.
    This makes me believe that it works !
    However, the behavior of the server regarding the <stuck-thread-max-time> is not overridden.
    I have specified this value as 60 seconds in the work manager.
    However, this message is only written to the log file, when the stuck-thread-max-time (e.g. set to 150 secs) element of the servers configuration is exceeded.
    Any Idea if this is the default behavior or if I am encountering a bug

  • ADF &CSS :overriding the default ADF:tree icons and CSSs

    Hi,
    I have major layout issue regarding ADF:tree, how can I override the default icons?
    I override the oracle CSS with my own, but when I did that, the tree images has changed, its now small hideous triangles, I copied some lines from the oracle CSS and it worked, but the small triangles still show inside the images, how can I remove those triangles, or can I write something in my CSS to override them?
    Thanks in prior,
    Ahmad Esbita

    Ahmad,
    According to bug 5682799, you cannot work around this in the current JDeveloper release. It is fixed in 10.1.3.3 (due out "soon," perhaps as early as 15th June, according to another post on this forum)
    John

  • Overriding the default heap size of 64mb

    I run the java program on my pc on windows xp
    I need to increase the heap size, currently I launch the jar file using a batch file, the contents of the batch file are:
    java -Xms64m -Xmx512m -jar Lines.jar
    I have set the min and max heap size and when I click on the .bat file it launches the jar file with tose heap settings
    But I do not want to launch the jar file in this way(I don't want to use a batch file), is there anyway to override the default heap size for the java program to 512mb so that every time I launch the jar file the heap size is 512mb??
    Edited by: muddy777 on Sep 23, 2009 6:30 PM

    Vikash.SunJava wrote:
    set this in some machine startup like a scheduled task at machine startup
    java -Xms64m -Xmx512m
    This this will be default JVM settings.Huh?

  • IWork overrides the default app system

    iWork overrides the default app system. When I select a pages (or keynote or numbers) file, get info, set the default application to Pages '09 and click "change all" it does not honor my choice of default application. It reverts back to the new iWork. I need to use '09 for now but I don't necessarily want to delete the new version.
    Thanks, Apple for making my decisions for me. GRRRRRRRRR
    Anyway to override this? I'm getting tired of "open with" rather than just double clicking files.

    Using Get Info to change all documents to open with Pages 4.3 doesn't work. It will work on individual files, but that could be a lot of files to reset.
    This is what works for me. After I installed the new iWork updates I created a folder on an external drive & named it "other applications." I then moved the new iWork apps to this folder & renamed the applications Keynote 6, Pages 5 & Numbers 3. I have icons for two versions of Pages & Numbers (I rarely use Keynote) in my Dock. Even with two versions of Pages & Numbers running, double-clicking an existing file opens in Pages 4.3 or Numbers 2.3. This should also keep the Mac App Store from nagging you to update.

  • [svn:cairngorm3:] 21050: Popup: The default behavior when an Event. CLOSE is dispatched through the popup component should be preventable

    Revision: 21050
    Revision: 21050
    Author:   [email protected]
    Date:     2011-04-09 16:22:58 -0700 (Sat, 09 Apr 2011)
    Log Message:
    Popup: The default behavior when an Event.CLOSE is dispatched through the popup component should be preventable
    https://bugs.adobe.com/jira/browse/CGM-59
    Popup: The write-only behaviors property can not be used with states
    https://bugs.adobe.com/jira/browse/CGM-55
    Ticket Links:
        http://bugs.adobe.com/jira/browse/CGM-59
        http://bugs.adobe.com/jira/browse/CGM-55
    Modified Paths:
        cairngorm3/trunk/libraries/Popup/src/com/adobe/cairngorm/popup/PopUpBase.as
        cairngorm3/trunk/libraries/Popup/test/com/adobe/cairngorm/popup/PopUpBaseTest.as
        cairngorm3/trunk/libraries/PopupTest/.actionScriptProperties
    Added Paths:
        cairngorm3/trunk/libraries/PopupTest/html-template/
        cairngorm3/trunk/libraries/PopupTest/html-template/index.template.html
        cairngorm3/trunk/libraries/PopupTest/html-template/playerProductInstall.swf
        cairngorm3/trunk/libraries/PopupTest/html-template/swfobject.js

    Hi Shweta,
    as i discussed with you to update the script code
    <html><script> function closeWindow( ){       top.close( );     }                  </script><body><form> The application was logged off successfully. <br><input type="button" value="close window" onclick="closeWindow( );" /></ form></body></html>
    in sicf transaction for your component.
    it will work (close the window).
    dont forget to give me points
    all the best...
    Rgds,
    Mahesh.Gattu

  • Can I override the default ReadObjectQuery for an entity and specify my own call

    Hi,
    I am trying to override the default ReadObjectQuery and the ReadAllQuery for an entity and supply my own call.The entities have to be read from the database using a StoredProcedure.I tried doing something like
    Descriptor desc=evt.getSession().getDescriptor(Configuration.class);
    desc.getQueryManager().setReadObjectQuery(new ReadObjectQuery());
    StoredProcedureCall call = new StoredProcedureCall();
    call.setProcedureName("CONFIGSVC");
    call.addUnamedArgument("CATEGORY");
    call.addUnamedArgument("CFGKEY");
    call.addUnamedArgument("VALUE");
    desc.getQueryManager().getReadObjectQuery().setCall(call1);
    desc.getQueryManager().getReadObjectQuery().addArgument("CATEGORY");
    desc.getQueryManager().getReadObjectQuery().addArgument("CFGKEY");
    desc.getQueryManager().getReadObjectQuery().addArgument("VALUE");
    When I try to execute the query
    ExpressionBuilder builder = new ExpressionBuilder();
    Expression expr = (builder.getField("category").equal("GOESVC.GETTDEV")).and(
              new ExpressionBuilder().getField("configKey").equal("GOESVC.REQ")).and(
              new ExpressionBuilder().getField("value").equal("$ENV.$ORIGIN.GOESVC.REQ"));
    ReadObjectQuery query = new ReadObjectQuery(Configuration.class, expr);
    session.executeQuery(query);
    I can see in the log that it completely ignores the call I set and tries to execute using the default call and that too with incorrect mappings between the "entity" field names and the actual database field names.
    2002.11.01 08:50:52.640--ClientSession(8218801)--Thread[main,5,main]--#executeQuery(ReadObjectQuery(com.fmrco.gett.toplink.Configuration))
    2002.11.01 08:50:52.750--ServerSession(7721862)--Thread[main,5,main]--Connection(5230193)--SELECT CFGKEY, CATEGORY, VALUE FROM CONFIG_ETT WHERE (((category = 'GOESVC.GETTDEV') AND (configKey = 'GOESVC.REQ')) AND (value = '$ENV.$ORIGIN.GOESVC.REQ'))
    2002.11.01 08:50:53.375--ClientSession(8218801)--Thread[main,5,main]--EXCEPTION [TOPLINK-4002] (TopLink - 9.0.3 with StoredProcedureCall patch [email protected] 28/10/2002 (Build 423)): oracle.toplink.exceptions.DatabaseException
    EXCEPTION DESCRIPTION: java.sql.SQLException: [SQL0206] Column CONFIGKEY not in specified tables.
    INTERNAL EXCEPTION: java.sql.SQLException: [SQL0206] Column CONFIGKEY not in specified tables.
    How to I solve this issue?
    Thanks,
    Harini

    Hi,
    The "ReadObjectQuery" in a descriptor's query manager can only be used to change the primary key read query. It will be used only for a ReadObjectQuery that either has a selection key, selection object, or an expression that exactly matches the primary key.
    If you have a non-primary key query that you want to use, you can add it as a named query to the descriptor's query manager.
    I'm not sure of the primary key of your descriptor, assuming that it is a 3 part composite key, then your ReadObjectQuery procedure is defined correctly in the descriptor. However the ReadObjectQuery is incorrect, you must use "get" not "getField", also you must use a single expression builder.
    i.e.
    ExpressionBuilder builder = new ExpressionBuilder();
    Expression expr = (builder.get("category").equal("GOESVC.GETTDEV")).and(
    builder get("configKey").equal("GOESVC.REQ")).and(
    builder.get("value").equal("$ENV.$ORIGIN.GOESVC.REQ"));
    ReadObjectQuery query = new ReadObjectQuery(Configuration.class, expr);
    session.executeQuery(query);
    you could also do,
    Vector key = new Vector(3);
    key.add("GOESVC.GETTDEV");
    key.add("GOESVC.REQ");
    key.add("$ENV.$ORIGIN.GOESVC.REQ");
    ReadObjectQuery query = new ReadObjectQuery(Configuration.class);
    query.setSelectionKey(key);
    session.executeQuery(query);
    If the descriptor primary key is not 3 part, then add this query as a named query.
    Descriptor desc=evt.getSession().getDescriptor(Configuration.class);
    ReadObjectQuery query = new ReadObjectQuery();
    StoredProcedureCall call = new StoredProcedureCall();
    call.setProcedureName("CONFIGSVC");
    call.addUnamedArgument("CATEGORY");
    call.addUnamedArgument("CFGKEY");
    call.addUnamedArgument("VALUE");
    query.setCall(call);
    query.addArgument("CATEGORY");
    query.addArgument("CFGKEY");
    query.addArgument("VALUE");
    desc.getQueryManager().addQuery("findConfigSVC", query);
    To execute the query,
    Vector arguments = new Vector(3);
    arguments.add("GOESVC.GETTDEV");
    arguments.add("GOESVC.REQ");
    arguments.add("$ENV.$ORIGIN.GOESVC.REQ");
    session.executeQuery(Configuration.class, "findConfigSVC", arguments);

  • [AS] Making "keep overrides" the default graphic layer option for all placed graphics?

    If I relink thisLink when it is missing, and update link option was set to keep overrides, everything is fine. But if it was set to application settings, I am in a world of hurt, because suddenly all my Unit numbers will show 1-32 piled on top of each other (all layers visible in Photoshop) or the wrong one (just one layer visible in Photoshop) or nothing at all!
    The catch-22 is that until I relink missing links, update link option only shows "unknown" as the result. Arrrgh?
    set myLinks to every link whose status = missing
    repeat with thisLink in myLinks
        get update link option of graphic layer options of parent of thisLink
            -->Returns "unknown" instead of "application settings" or "keep overrides"
        try
            set update link option of graphic layer options of parent of thisLink to "keep overrides"
            relink thisLink to newLinkPath
            update thisLink
        on error
            -->This always errors on the set update link option line
        end try
    end repeat
    Anyone know a way around this or should I just change my name to Yossarian?
    Thanks in advance,
    Eric.

    Well, I give you points for creativity! Unfortunately, relink is destructive and overwrites any info with the default (which in CS2 is application settings).
    What really kills me is that InDesign has some Sooper Seekrit internal list that only the Links palette knows about. So if you *manually* try and relink the document and then revert it, it automatically relinks against all the paths you've tried since launching it and therefore, the second time all the links show as linked and the process is non-destructive, unlike the "relink" command.
    Argh.
    I will think on it some more though. Thanks for your input!
    PS: Adobe apparently broke the ability to relink against a string in CS4 from what I can tell. In spite of the fact that the dictionary specifically lists alias or string or string (yes, says or string twice in the dictionary), only alias really seem to work.
    So...
    set newLinkFolder to "" & path to home folder & "Pictures:"
    set newLinkPath to newLinkFolder & name of thisLink
    try
    relink thisLink to newLinkPath
    on error
    display dialog "FAIL!"
    end try
    try
    relink thisLink to newLinkPath as alias
    on error
    display dialog "No fail. You'll never see this message!"
    end try

  • Automate: Override the default NFS version 4 domain

    Hi
    I configured a Solaris 10 jumpstart server. Everything is working without any problems. But there is this one question which I don't know how to automate:
    This system is configured with NFS version 4, which uses a domain name that is automatically derived from the system's name services. The derived domain name is sufficient for most configurations. In a few cases, mounts that cross different domains might cause files to be owned by "nobody" due to the lack of a common domain name.
    Do you need to override the system's default NFS version 4 domain name (yes/no) ?
    I found a hint in another post, so I tried the following in a finish script:
    #!/bin/sh
    cp ${SI_CONFIG_DIR}/.NFS4inst_state.domain /a/etc
    But it didn't work.
    Thank you in advance
    Janine

    You can try: this work on 10beta72
    1. copy in nfs default file into /a/etc/default/nfs
    2. /bin/touch /a/etc/.NFS4inst_state.domain

  • How to override the default order UOM when using BAPI_PO_CREATE1...

    Hello Experts,
    How do I force BAPI BAPI_PO_CREATE1 to use my declared purchase order unit of measurement instead
    of getting it in the material master data? For example, material A has a default purchase UOM of CV, but
    when I create a PO using material A I want the purchase UOM to be EA instead of the default CV.
    How do I do that?

    Sorry settings in inforecord problem.

Maybe you are looking for

  • SWF Movie Not Active In Webpage Until Clicked Once

    Hi All, My friend is a newbie to Flash and I am helping her a bit with creating a website. She has created a Flash movie that is a pictue slideshow that has a 'Next' and 'Previous' button at the bottom. Everything work fine when playing the movie in

  • Any way to import VOB files?

    I want to take an existing DVD created with a standalone burner, and replace the generic Sony menu with a custom menu I create in Encore 5.  I alsmo need to change the chapter stops. I'd like to be able to import the VOB files from the DVD so I don't

  • How to modify the field symbol

    Hello Every1, I have a internal table and field symbol with the below structure. Data : begin of itab occurs 0,            matnr like mara-matnr,            ersda like mara-ersda,        End   of itab. FIELD-SYMBOLS: <Matnr>    TYPE STANDARD TABLE. I

  • Why when I text sometimes the bubble is blue and other times it's green

    why when I text sometimes the bubble is blue and other times it's green

  • How to reduce the time delay in data synchronization?

    I have successfully synchronized the ADF mobile client with oracle server. However, after synchronization, there is a time delay in getting the updates. For example, if I update the table in the oracle server. It takes one or two synchronization to s