Possible bug - Missing click event when handling change event

Using Flex 4.5 SDK, I have a spark ComboBox and a Button next to it for applying a filter according to ComboBox selection.
I listen to both the ComboBox's change event & the Button's click event (for different functions).
When I manually delete the ComboBox text value from its TextInput (i.e. changing selected index to -1) and immediately click on the Button,
the click event-handler function is not being called and only the ComboBox's change event-handler function is executed.
(Selecting a value from the ComboBox's list and clicking on the button triggers both methods on the right order.)
There's also a state definition for the module, but it isn't being changed during these operations...
Is this a bug or a correct behavior? Am I missing something here?
Any workaround suggestions?
(I thought of listening also to mouse-down or mouse-up on the button instead, but haven't tried it yet...)
*** UPDATE ***
When using the Button's mouseDown event the behavior is as expected, so there's a simple workaround.
However, it seems to me like there's a bug with the Button's click event listener or something...
*** UPDATE #2 ***
I created a test application for that and couldn't reproduce the problem.
Then I figured out the problem and solved it.
It's a bit emmbarrasing, but I actually disabled the button (enabled=false) as in a child method of the change handling code...
(If there is no value, don't allow applying the filter - It makes sense! )
Anyway... No issue after all.
However, I choose to leave this post (and not delete it) as an example of identifying and resolving a strange behavior in a complex application.

There's no need.
Please read the section UPDATE #2.

Similar Messages

  • APP-FND-01926 The Custom Event  WHEN-LOGON-CHANGED...

    Hi,
    After compiling and placing a 'custom' CUSTOM.pll (and plx) file on the server, when logging into Applications receiving ERROR:
    APP-FND-01926 The custom event WHEN-LOGON-CHANGED raising unhandled exception: User Defined exception.
    This is for R12.1.3
    The code was moved to the original base version of the R12 CUSTOM.pll file...
    I read many other Notes on this error, but most refer to an error related to a Program Unit Not found and requiring a regeneration of the JAR files.
    Would this be the same situation?
    When we place the original back in place the forms login works.
    Any ideas?
    Thanks,
    Lamonte

    check ur CLASSPATH environment variable ur Custom.plx library should visible on runtime to Classpath variable.
    Baig,
    [My Oracle Blog|http://baigsorcl.blogspot.com/]

  • When login Apps, get APP-FND--01926: The custom event WHEN-LOGON-CHANGED ra

    When login Apps, get APP-FND--01926: The custom event WHEN-LOGON-CHANGED raised unhandled exception: ORA-01403: no data found
    Applied patch
    6241631 11i.ATG_PF.H.delta.7 (RUP 7) and it's pre-requisite patches
    Forms can not be launched successfully.
    APP-FND--01926: The custom event WHEN-LOGON-CHANGED raised unhandled exception: ORA-01403: no data found
    Followed
    Note 391243.1: Unable to access forms - getting APP-FND-01926 error (Doc ID 391243.1)
    Note 555409.1: Client Gets App-Fnd-01926 Every Time After Bounce Apps 11i Forms Service (Doc ID 555409.1)
    these two notes, can not solve the issue.
    Executed following action plans:
    1. Backup custom.pll file on your issued instance(DEV instance).
    2. Copy a custom.pll files from a working environments(i.e. PROD instance) to this issued instance(DEV instance).
    3. Compile the new copied Library CUSTOM.pll manually by running the command:
    f60gen module=CUSTOM.pll userid=APPS/APPS output_file=$AU_TOP/resource/CUSTOM.plx module_type=library batch=no compile_all=special4. The $FORMS60_PATH needs to be in sync with the the Context.xml specifically the s_f60path variable
    i.e >/oracle/apps/test10appl/au/11.5.0/resource:/oracle/apps/test10appl/au/11.5.0/resource/stub</FORMS60_PATH>
    5. Run Autoconfig instantiate the changes.
    Issue still exists.
    Please HELP~~
    Thanks,
    Jackie

    Hello Srini,
    app11i@hpfsapp2> ls -ltra CUSTOM
    -rwxr-xr-x 1 app11i dba 24576 Aug 29 2001 TMCUSTOM.pll
    -rwxr-xr-x 1 app11i dba 20480 Mar 8 2006 CUSTOM.pll.backup
    -rwxr-xr-x 1 app11i dba 24576 Feb 22 2007 CUSTOM.pll.20120215
    -rwxr-xr-x 1 app11i dba 32768 Oct 4 2007 CHRM_CUSTOM.plx
    -rw-r--r-- 1 app11i dba 36864 Oct 8 2007 CHRM_CUSTOM.pll
    -rwxr-xr-x 1 app11i dba 20480 Feb 14 15:20 TMCUSTOM.plx
    -rw-r--r-- 1 app11i dba 24576 Feb 15 09:22 CUSTOM.pll
    -rwxr-xr-x 1 app11i dba 16384 Feb 15 09:23 CUSTOM.plx
    I don't quite understand "only one copy of CUSTOM.plx in the PATH directories", what is PATH directories? How to check? You mean environment variable?
    EBS version: 11.5.10.2
    DB version: 9.2.0.8
    OS: Linux x86
    Thanks,
    Jackie

  • [Flex 4.5.1] How to prevent Radio Button from being selected when clicked on? No Changing Event?

    I have a very common use case where you have a few radio buttons and only one can be selected at a time. Some of them are basic and on click should be selected right away, but other are more complex and open a pop up which requires some additional user selections after which the user selected OK or CANCEL for example and only after that the selection of the radio button should be applied programatically.
    So to solve this issue I've come up with 2 workarounds:
    1) make the entire group, that holds the radio button, act as a button with buttonMode="true" mouseChildren="false" and programatically change the radio button within it.
    2) hold the current radio button selection in a variable and in the changeHandler of that radio button return the selection back to what was selected before. But this also causes a small flickering of the radio button which gets selected and deselected immediately after that.. not cool.
    So my question is... is there something I am missing that could do the job without these workarounds... like a Changing event which I use for the ButtonBar but I can't find on the RadioButton or RadioButtonGroup... thanks!

    Hi,thanks for the reply. Actually that was my third option, but not sure if it's very good also..
    Here is a simple scenario:
    User must select between 2 radio buttons:
    1) no volume -> sets variable volume=0 and selects the radio button (that is the normal use case)
    2) set volume -> opens up a pop up with a list that has a X button to close and 4 options: 25% volume, 50% volume, 75%, 100%
    At this point the set volume radio button should not be selected and the user has 2 choices:
    -> hit the X button to close - nothing changes and no volume radio button is still selected and volume is still = 0
    -> hit one of the volume % buttons -> the set volume radio button gets selected and the variable volume=25/50/75/100 depending on the button selected by the user.
    That's a pretty common scenario and it's bugging me that I can't easily alter the radio button selection logic since whenever I click it, it gets selected and I can't put a logic in between in a standard way. This should apply to any component with selection, just like ButtonBar has it with the Changing event.
    So is there any other more convenient way to accomplish this scenario that you could recommend?
    Thanks!

  • How to tackle the dataflow problem when Value Change event always triggers after another GUI event

    We know that Value change event always triggers after another GUI event. Eg, the user modifies string control, the user clicks on a boolean control. Then event boolean clicked is triggered before event string control value change.
    Now suppose somehow the GUI event that must happen to subsequently trigger the Value change event can potentially affect the data that Value change event is supposed to work on. How can we tackle this problem ?
    For example, in a mockup application that the grand purpose is to have user entered values in a textbox logged to a file (no missing information is accepted, and there is a boolean to determine how the information is logged).
    There are 2 controls, boolean A when clicked (mouse down) will load random number in text box B. Text box B is designed with event structure VALUE change which saves whatever values user enters into text box B to a log file.
    There are 3 problems when instead of clicking anywhere on the front panel after modifying text box B, the user ends up clicking on boolean control A.
    1. Event mouse down on Boolean control A will execute first, modifying text box B content before the user entered values in B get saved.
    2. The value of boolean A can potentially affect how textbox B is loggged.
    3. The value of boolean A affects how the file is logged and this is indeterminate. Somehow when running this VI with no Highlighting, the textbox B Value change event executes -before- boolean A value is updated (F to T). When running this VI with Highlighting, the boolean A value is updated (F to T) (because we click on it) -before- textbox B value change event occurs. Why is it like this ?
    Now the situation I made up seems non-sense, but I believe it resembles one way or another a problem that you might run into. How would you solve this problem elegantly ?
     

    You can set the string control to "update while typing".
    Are you sure appending the log to itself is reasonable? Wouldn't it grow without bounds if the users keeps entering strings or pressing the ingore button?
    Why isn't the "constant" a diagram constant instead of a control. Is the user allowed to change it?
    To reset just write empty strings or a false to local variables of the controls (renit to defaults" seems a bit heavy handed).
    All you probably need is a single event case for "ignore:value change" and "String" value changed", no need for the local variable..
    Also add a stop button and an event for it.
    You don't need the timeout event.
     

  • Tigger event when user change iphone time

    It is possible, we can trigger event if user change date and time of iphone.

    Did you traced ICI, if any de-register events getting published when you close IE.

  • Dev2k and event when tabpage changed ?

    Hi !
    Does Dev2k 5.0 generate an event when you press or change a
    tabpage? I haven't succeded in finding one yet, but perhaps
    someone knows about it or know of a workaround ?
    Also there is a trigger called ON-DISPATCH-EVENT !! Does anyone
    know what you can do with this ? or what it does ?
    Thanks,
    Kenneth ([email protected])
    null

    When you click on a tab in forms 5 and greater, it first
    when-tab-page-changed. Note that this trigger only first when a
    users explicitly clickes on a tab. If the application allows you
    to navigate to an item on a different tab page, the trigger does
    not fire, but the tabs do change to reflect the current tab.
    Also, there are two system variable that are helpful; they are
    :system.tab_new_page and :system.tab_previous_page. For some
    reason, the help system only includes references to the tab
    trigger and system tab variables on the FIND tab of the help
    search. The INDEX tab page of help does not list them.
    Good luck.
    Brian
    Kenneth Breit Bedsted (guest) wrote:
    : Hi !
    : Does Dev2k 5.0 generate an event when you press or change a
    : tabpage? I haven't succeded in finding one yet, but perhaps
    : someone knows about it or know of a workaround ?
    : Also there is a trigger called ON-DISPATCH-EVENT !! Does anyone
    : know what you can do with this ? or what it does ?
    : Thanks,
    : Kenneth ([email protected])
    null

  • Problem when handling Portal events

    Hi all,
    I am trying to handle portal events between two Iviews on a same page.For this I am using all the necessary parts from coding prospectives(eg. Event fire, Subscribe event and action handler method).
    But I am not able to handle portal events.I found some properties on Iview and page level as:
    1) Web Dynpro Client on Iview level - Default auto (Some threads suggest that events only works on HTML pages).
    I change it to plain HTML, but having doubt that is this value passed to this property.
    2) ID Prefix - Default blank (I-View level)
    I assign com.sap to it and also assign application name to ID.
    Is these will affect something on Portal handling.
    I also watch some e-learning sessions, I do similer to those sessions but at my end I still facing problem.
    Please suggest what I will do more to handle Portal events.
    Thanks
    Sanket sethi

    I am using this code to  fire and catch Portal events.Please look at the code and suggest where I am lacking.
    Fire:
    data node                               type ref to if_wd_context_node.
    data portal_event_namespace  type string value 'urn:com.sap.webdynpro.testApplications.testEvent'.
    data portal_event_name          type string value 'FMP_EVENT'.
    data portal_event_parameter   type string.
      data lr_componentcontroller type ref to ig_componentcontroller .
      data l_api_componentcontroller type ref to if_wd_component.
      data lr_port_manager type ref to if_wd_portal_integration.
      lr_componentcontroller =   wd_this->get_componentcontroller_ctr( ).
      l_api_componentcontroller = lr_componentcontroller->wd_get_api( ).
      lr_port_manager = l_api_componentcontroller->get_portal_manager( ).
      lr_port_manager->fire(
        exporting
          portal_event_namespace = portal_event_namespace
          portal_event_name      = portal_event_name
          portal_event_parameter = portal_event_parameter ).
    Catch: (Register and receive parameter)
      data node                                  type ref to if_wd_context_node.
      data subscribe_hello                   type wdy_boolean.
      data  view                                  type ref to if_wd_view_controller.
      data  portal_event_namespace    type string value 'urn:com.sap.bc.webdynpro.<namerspace>.<Name>.
      data  portal_event_name             type string value 'FMPEVENT'.
    here is the name of the action where the portal event will be received!
    you have to create this action in the application!!
    data  portal_event_action_name  type string value 'RECEIVE_PORTAL_EVENT'.
      data lr_componentcontroller type ref to ig_componentcontroller .
      data l_api_componentcontroller type ref to if_wd_component.
      data lr_port_manager type ref to if_wd_portal_integration.
    DATA lo_api_component  TYPE REF TO if_wd_component.
    DATA lo_portal_manager TYPE REF TO if_wd_portal_integration.
    lo_api_component = wd_comp_controller->wd_get_api( ).
    lo_portal_manager = lo_api_component->get_portal_manager( ).
    DATA lo_api_controller  TYPE REF TO if_wd_view_controller.
    lo_api_controller ?= wd_this->wd_get_api( ).
    CALL METHOD lo_portal_manager->unsubscribe_event
      EXPORTING
        portal_event_namespace = portal_event_namespace
        portal_event_name      = portal_event_name
        view                   = lo_api_controller
      lr_componentcontroller =   wd_this->get_componentcontroller_ctr( ).
      l_api_componentcontroller = lr_componentcontroller->wd_get_api( ).
      lr_port_manager = l_api_componentcontroller->get_portal_manager( ).
      view ?= wd_this->wd_get_api( ).
       call method lr_port_manager->subscribe_event
          exporting
            portal_event_namespace = portal_event_namespace
            portal_event_name      = portal_event_name
            view                   = view
            action                 = portal_event_action_name.
      data node                              type ref to if_wd_context_node.
      data portal_event_namespace type string.
      data portal_event_name          type string.
      data portal_event_parameter   type string.
      portal_event_namespace = wdevent->get_string('PORTAL_EVENT_NAMESPACE').
      portal_event_name          = wdevent->get_string('PORTAL_EVENT_NAME').
      portal_event_parameter   = wdevent->get_string('PORTAL_EVENT_PARAMETER').
      node = wd_context->get_child_node( name = 'PORTAL_EVENT_DATA' ).
      node->set_attribute( exporting name = 'PORTAL_EVENT_NAME' value = portal_event_name ).
      node->set_attribute( exporting name = 'PORTAL_EVENT_PARAMETER' value =                         portal_event_parameter ).

  • Best event when data changes via a user in a datagrid

    How do I capture when data changes via a user in a datagrid?
    change event?

    thanks mate but I'm not sure where to put it:
    <mx:AdvancedDataGridColumn headerText="sell" dataField="sell" textAlign="right" editable="true">
                    <mx:itemEditor>
                        <fx:Component>                   
                        <s:MXAdvancedDataGridItemRenderer>   
                            <s:TextInput width="100%" text="{data.sell}" fontWeight="bold" contentBackgroundColor="#eeeeff" color="#3333ff"  textAlign="right"  restrict=".0-9" maxChars="11">                                           
                            </s:TextInput>                                               
                        </s:MXAdvancedDataGridItemRenderer>                                       
                        </fx:Component>               
                    </mx:itemEditor>                               
                </mx:AdvancedDataGridColumn>

  • Generate event when stack changed

    I have a task develop a class Stack that generate event when you add new element ? Develop a class Stack is not a problem, what means event that apears when a new element is added ?[                                                                                                                                                                                                                                                                                                                                                                                               

    That about awt / swing ..or I can to apply listeners
    to My Stack ?Sorry, I thought there were also non-GUI examples there. Apparently not.
    It's probably the intention to implement the observer pattern into your code.
    Here's a small demo of how this can be done:import java.util.List;
    import java.util.ArrayList;
    class Main {
        public static void main(String[] args) {
            MagazinePublisher publisher = new MagazinePublisher();
            Subscriber carl = new Subscriber("Carl");
            Subscriber pete = new Subscriber("Pete");
            Subscriber zeke = new Subscriber("Zeke");
            publisher.registerObservers(carl);
            publisher.registerObservers(pete);
            // whenever the state of the 'publisher' changes, it's
            // subscribers should be notified
            publisher.notifyObservers();
            publisher.registerObservers(zeke);
            publisher.notifyObservers();
            publisher.removeObservers(pete);
            publisher.removeObservers(carl);
            publisher.notifyObservers();
    interface MyObserver {
        void update(int edition);
    interface MySubject {
        void registerObservers(MyObserver mo);
        void removeObservers(MyObserver mo);
        void notifyObservers();
    class MagazinePublisher implements MySubject {
        List<MyObserver> observers;
        int edition;
        public MagazinePublisher() {
            observers = new ArrayList<MyObserver>();
            edition = 1;
        public void notifyObservers() {
            for(MyObserver mo : observers) {
                mo.update(edition);
            edition++;
        public void registerObservers(MyObserver mo) {
            observers.add(mo);
        public void removeObservers(MyObserver mo) {
            observers.remove(mo);
    class Subscriber implements MyObserver {
        String name;
        public Subscriber(String n) {
            name = n;
        public boolean equals(Object o) {
            return this.name.equals(((Subscriber)o).name);
        public void update(int e) {
            System.out.println(name+" recieved a copy of the "+e+" edition!");
        // hashCode() and other methods ...
    }Details about this design pattern:
    http://en.wikipedia.org/wiki/Observer_pattern
    or Google, of course:
    http://www.google.com/search?hl=en&q=Observer+pattern&btnG=Google+Search
    Good luck!

  • Contextual Event question (Currency Change Event)

    Hello,
    I have published a contextual event on my table (Currency Change Event)
    I also have a SelectionListener on the same table.
    Will I have to manually/programmatically publish the event within the selection listener code? (and if so, how?)
    The reason I ask is that I practiced with a small app containing a region from an ADF library that handled currency change event from the referenced task flow and everything was great, but now I am trying to apply the same principles to my "proper" application and there is no currency change event being received in the parent application.
    I had a look at Andrejus example (http://andrejusb.blogspot.co.uk/2010/10/contextual-events-framework-and-adf-11g.html) but he has hand crafted the events on the page binding will I have to do that too? Is it not enough that I have the currency change event declared?
    Any help appreciated, thanks
    JDeveloper 11.1.2.2

    I've applied the same processing to another table that uses the standard collectionModel.makeCurrent selection listener and it's firing the contextual event handler in the parent application, so that almost confirms that it's the bespoke selection listener that needs code adding to it to invoke the currency change event
    edit :
    I added this code to invoke the makeCurrent and everything is ok again, thanks for listening
    FacesContext fc = FacesContext.getCurrentInstance();
    ELContext elContext = fc.getELContext();
    ExpressionFactory ef =
    fc.getApplication().getExpressionFactory();
    MethodExpression meth = ef.createMethodExpression(elContext, "#{bindings.partnersVO1.collectionModel.makeCurrent}", Object.class, new Class[]{SelectionEvent.class});
    meth.invoke(elContext, new Object[]{selectionEvent});

  • Ical keeping both events when I move events from one google calendar to another

    Hi all!
    I use multiple google calendars and sync them with my iPad, iPhone, and MacBook Air. I like to move events from one calendar to another (for color coding purposes), and am coming across a unique issue that I hope someone has a solution to.
    When I edit an event by moving the event from one calendar to another the events show up correctly on the iPhone and iPad, but not in my iCal on MacBook Air. (Only when I make the changes on my iPhone and iPad). For example, when I switch an event originally created in my 'appointments' calendar to my 'done' calendar the event shows up appropriately on iPhone and iPad, and even in my Google calendars on the web. But, the iCal on my MacBook Air keeps both events. This only happens when I make the changes from the iPhone or iPad. If I make calendar changes on my computer, then there are no hiccups on any of the devices.
    It seems like a syncing issue with iCal, and I can't figure out how to prevent the duplications in my iCal on my computer from showing up. Quite annoying because I have to go in and delete all of the duplicated events on the computer at the end of the day.
    I have the Mavericks OS on my MBA and the software on my iPad and iPhone are updated to the latest software.
    If you have any suggestions, please let me know! Thanks!

    Petrill,
    Thank you. I was trying to do that yesterday, but it was grayed out. It seemed to work alright today.
    Thanks,
    Sheena

  • Is it possible to call a function when a specific event happens?

    Hi everyone,
    I would like to pop up an alert when a user deletes a named destination marker. I thought this would be a no-brainer, but I'm having trouble finding examples of scripts that handle events.
    Is this even possible? Any ideas on how to go about this would be greatly appreciated.
    Thanks,
    Heather Ayer
    PS - I always say this when I post, but many thanks to all who contribute to this forum. I'm still learning and don't post much, but I read each question and answer. So, thanks!

    Thanks, Rick!
    Your info was very helpful. I did consult the list of “monitorable” events and deleting an anchor is not on the list. But, it’s good to see what is available for future projects.
    I was trying to prevent deleting of a single anchor, but instead I’ll move on to the next component of comparing all the anchors to a .csv file. I know I’ve seen posts about this before. So, I’m off on another fact finding mission.
    Thanks again,
    Heather A

  • Event when network changes

    Hello all,
    I am trying to figure how to use an activex callback when the computers(windows 7) network connection changes.
    I am able to access and use properties of the NETWORKLIST.INetworkListManager class but I am not able to get the Reg Event Callback to work for NETWORKLIST.INetworkListManager.NetworkConnectivityChanged.
    Does anyone have experience with this class or more ActiveX knowledge to get this working?
    Perhaps there is another more commonly used method to see network changes without polling?
    I hope I have provided enough details to get some help. Thank you for your time.
    Attachments:
    Z_NetworkConnectivityChangedEvent.vi ‏15 KB
    Z_NetworkCPropteryChangedEventCallback.vi ‏8 KB

    Wandern wrote:
    Hello all,
    I am trying to figure how to use an activex callback when the computers(windows 7) network connection changes.
    I am able to access and use properties of the NETWORKLIST.INetworkListManager class but I am not able to get the Reg Event Callback to work for NETWORKLIST.INetworkListManager.NetworkConnectivityChanged.
    Does anyone have experience with this class or more ActiveX knowledge to get this working?
    Perhaps there is another more commonly used method to see network changes without polling?
    I hope I have provided enough details to get some help. Thank you for your time.
    I cannot get this working in LabVIEW 2013 32-bit.
    Not sure why.
    I am able to get the callback to work in C# Express 2010.

  • What is the proper event when i change an edit text

    Hi Dear;
    which event is when i an edit text value changes ?
    regards

    If you want to catch changes in exittext, store his value to global variable or somewhere to other exittext (invisible) and play with event
    pval.EventType = SAPbouiCOM.BoEventTypes.et_KEY_DOWN
    and compare the values in edittext and invisible edittext. If the values are different, the edittext value changes.

Maybe you are looking for

  • How to select perticular row in table control for BDC

    Hi all I want to select perticular row in table control for deletion through BDC. My transaction is CA02, My input is  material no and plant , then it display table control with work center. Now i want to select W999 cost center and delete through BD

  • Can I create an album on my iphone and have it stores all the photos I take from then on to that folder/album?

    can I create an album on my iphone and have it stores all the photos I take from then on to that folder/album? I think that would be super useful before you go to an event, create a folder on the phone for that event and just use it to take pictures.

  • Time tracking in a work centre

    Hi Experts, I am staging components for a process order using a posting change request, due to this I am unable use VAS order in a production work-center (VAS order is applicable only for inbound/outbound deliveries), But I would like to track time f

  • Defeat denialof service attack: New feature in WLS 5.1 SP9

    Hi all, SP 9 for WLS 5.1 provides 2 new properties to prevent denial of service attacks (ISSUE 31269). The properties are weblogic.httpd.maxPostSize and weblogic.httpd.maxPostTimeSecs. However I miss more detailed information about the use of the pro

  • EL expression in JSF with a4j:commandLink

    hallo: I have a very strange problem with a el-expression. i need your help, thanks. i develop a project with JSF-RI, <rich:datascroller align="left" for="ein_post" page="#{alMessageHandler.scrollerPage}"                     renderIfSinglePage="false