Pan Gesture doesn't get triggered

Can Some one explain me why my "TransformGestureEvent.GESTURE_PAN" doesn't get triggered?
All the other gesture events are triggered.
I find it a bit confusing
Oh yeah, i am developing for every platform but testing on a google phone nexus S
package
    import flash.display.Sprite;
    import flash.display.StageAlign;
    import flash.display.StageScaleMode;
    import flash.events.TransformGestureEvent;
    import flash.geom.Point;
    import flash.ui.Multitouch;
    import flash.ui.MultitouchInputMode;
    public class PanTest extends Sprite
        private var _target:Sprite;
        public function PanTest()
            // support autoOrients
            stage.align = StageAlign.TOP_LEFT;
            stage.scaleMode = StageScaleMode.NO_SCALE;
            Multitouch.inputMode = MultitouchInputMode.GESTURE;
            _target = new Sprite();
            _target.graphics.beginFill(0x99ff00);
            _target.graphics.drawRect(-200, -200, 400, 400);
            _target.transform.matrix.tx = 200;
            _target.transform.matrix.ty = 200;
            _target.x = stage.stageWidth / 2;
            _target.y = stage.stageHeight / 2;
            addChild(_target);
            if (Multitouch.supportsGestureEvents)
                for each (var item:String in Multitouch.supportedGestures)
                    trace(item)
                    switch (item)
                        case TransformGestureEvent.GESTURE_PAN:
                            _target.addEventListener(TransformGestureEvent.GESTURE_PAN, _gestureHandler);
                            break;
                        case TransformGestureEvent.GESTURE_ROTATE:
                            _target.addEventListener(TransformGestureEvent.GESTURE_ROTATE, _gestureHandler);
                            break;
                        case TransformGestureEvent.GESTURE_SWIPE:
                            _target.addEventListener(TransformGestureEvent.GESTURE_SWIPE, _gestureHandler);
                            break;
                        case TransformGestureEvent.GESTURE_ZOOM:
                            _target.addEventListener(TransformGestureEvent.GESTURE_ZOOM, _gestureHandler);
                            break;
        protected function _gestureHandler(e:TransformGestureEvent):void
            trace(e.type);
            switch (e.type)
                case TransformGestureEvent.GESTURE_PAN:
                    var prevPoint:Point = new Point(_target.x, _target.y);
                    _target.x += e.offsetX * 3;
                    _target.y += e.offsetY * 3;
                    break;
                case TransformGestureEvent.GESTURE_ROTATE:
                    _target.rotation += e.rotation;
                    break;
                case TransformGestureEvent.GESTURE_SWIPE:
                    break;
                case TransformGestureEvent.GESTURE_ZOOM:
                    _target.scaleX *= e.scaleX;
                    _target.scaleY *= e.scaleY;
                    break;

It might be to do with the pan gesture working with phases
if (e.phase==GesturePhase.BEGIN) {
   // panel_mc.txt.text = "Begin";
    e.target.scaleX = 1.1;
    e.target.scaleY = 1.1;
if (evt.phase==GesturePhase.UPDATE) {
   // panel_mc.txt.text = "Update";
    e.target.alpha = 0.5;
if (evt.phase==GesturePhase.END) {
   // panel_mc.txt.text = "End";
    e.target.scaleX = 1;
    e.target.scaleY = 1;

Similar Messages

  • Double Click in ALV TREE doesn't get triggered

    Hello All,
    Double click event on item in a alv tree report doesn't get triggered. I thought I was doing everything right. Please help me out.
    Look at the code below and tell me what else I need to do.
    <b>FORM register_events .
    Event registration: tell ALV Tree which events shall be passed
    from frontend to backend.
      DATA: lt_events TYPE cntl_simple_events,
            l_event TYPE cntl_simple_event,
            l_event_receiver TYPE REF TO lcl_tree_event_receiver.
    Frontend registration:  get already registered tree events
      CALL METHOD g_alv_tree->get_registered_events
        IMPORTING
          events = lt_events.
    Frontend registration: add additional event ids
      l_event-eventid = cl_gui_column_tree=>eventid_node_double_click.
      APPEND l_event TO lt_events.
    Frontend registration: provide new event table to alv tree
      CALL METHOD g_alv_tree->set_registered_events
        EXPORTING
          events                    = lt_events
        EXCEPTIONS
          cntl_error                = 1
          cntl_system_error         = 2
          illegal_event_combination = 3.
      IF sy-subrc <> 0.
        MESSAGE x208(00) WITH 'ERROR'.                          "#EC NOTEXT
      ENDIF.
    Register events on backend (ABAP Objects event handling)
      CREATE OBJECT l_event_receiver.
      SET HANDLER l_event_receiver->node_double_click FOR g_alv_tree.
      SET HANDLER l_event_receiver->item_double_click FOR g_alv_tree.
      SET HANDLER l_event_receiver->on_function_selected FOR g_toolbar.
    ENDFORM.                    " register_events</b>
    When I double click on item on the report double click event doesnt trigger. what could be the problem? Any sample programs?
    Thanks,
    Chandni

    Hi,
    Here is a sample code for you.
    report ztree.
    TABLES : vbak.
    DATA: BEGIN OF mylist OCCURS 50. " Internal table hierarchy
    INCLUDE STRUCTURE snodetext.
    DATA: END OF mylist.
    DATA: f15 TYPE c.
    DATA :
    BEGIN OF gt_sales OCCURS 0,
    vbeln LIKE vbak-vbeln,
    kunnr LIKE vbak-kunnr,
    matnr LIKE vbap-matnr,
    arktx LIKE vbap-arktx,
    END OF gt_sales.
    SELECT-OPTIONS : s_vbeln FOR vbak-vbeln.
    START-OF-SELECTION.
    SET PF-STATUS 'ZTREE1'.
    SET TITLEBAR 'T1'.
    Fill internal table with pseudo-data
    PERFORM fill_itab.
    Hierarchy output
    PERFORM main.
    *& Form FILL_ITAB
    text
    --> p1 text
    <-- p2 text
    FORM fill_itab .
    *Fill the gt_sales table
    SELECT vkvbeln vkkunnr vpmatnr vparktx INTO CORRESPONDING FIELDS OF
    TABLE gt_sales
    FROM ( vbak AS vk INNER JOIN vbap AS vp ON vkvbeln = vpvbeln )
    WHERE vk~vbeln IN s_vbeln.
    SORT gt_sales BY vbeln kunnr.
    *Fill the root
    mylist-name = 'Report Tree List'.
    mylist-color = 1.
    mylist-intensiv = '1'.
    mylist-text = 'Report Tree List'.
    mylist-tlength = 16.
    mylist-tlevel = 1.
    mylist-tcolor = 1.
    mylist-tintensiv = '1'.
    mylist-text1 = 'using "RS_TREE_CONSTRUCT" function'.
    mylist-tlength1 = 50.
    mylist-tcolor1 = 2.
    mylist-tintensiv1 = '0'.
    APPEND mylist.
    LOOP AT gt_sales.
    ON CHANGE OF gt_sales-vbeln.
    mylist-name = 'level1'.
    mylist-color = 0.
    mylist-intensiv = '0'.
    mylist-text = 'Sales Document no:'.
    mylist-tlength = 20.
    mylist-tlevel = 2.
    mylist-tcolor = 7.
    mylist-tintensiv = '1'.
    mylist-text1 = gt_sales-vbeln.
    mylist-tlength1 = 30.
    mylist-tcolor1 = 2.
    mylist-tintensiv1 = '0'.
    APPEND mylist.
    ENDON.
    ON CHANGE OF gt_sales-kunnr.
    mylist-name = 'level2'.
    mylist-color = 0.
    mylist-intensiv = '0'.
    mylist-text = 'Customer no:'.
    mylist-tlength = 20.
    mylist-tlevel = 3.
    mylist-tcolor = 5.
    mylist-tintensiv = '1'.
    mylist-text1 = gt_sales-kunnr.
    mylist-tlength1 = 30.
    mylist-tcolor1 = 3.
    mylist-tintensiv1 = '0'.
    APPEND mylist.
    ENDON.
    mylist-name = 'level3'.
    mylist-color = 0.
    mylist-intensiv = '0'.
    mylist-text = gt_sales-matnr.
    mylist-tlength = 15.
    mylist-tlevel = 4.
    mylist-tcolor = 4.
    mylist-tintensiv = '0'.
    mylist-text1 = gt_sales-arktx.
    mylist-tlength1 = 30.
    mylist-tcolor1 = 2.
    mylist-tintensiv1 = '0'.
    APPEND mylist.
    ENDLOOP.
    ENDFORM. " FILL_ITAB
    *& Form MAIN
    text
    --> p1 text
    <-- p2 text
    FORM main .
    PERFORM hierarchy. " construct & draw the tree
    ENDFORM. " MAIN
    *& Form HIERARCHY
    text
    --> p1 text
    <-- p2 text
    FORM hierarchy .
    PERFORM build_tree.
    PERFORM draw_tree.
    ENDFORM. " HIERARCHY
    FORM BUILD_TREE *
    Builds the tree from internal table *
    Uses the Function module RS_TREE_CONSTRUCT *
    FORM build_tree.
    CALL FUNCTION 'RS_TREE_CONSTRUCT'
    TABLES
    nodetab = mylist
    EXCEPTIONS
    tree_failure = 1.
    ENDFORM. "build_tree
    FORM DRAW_TREE *
    Builds the tree from internal table *
    Uses the Function module RS_TREE_DISPLAY *
    FORM draw_tree.
    sy-lsind = 0.
    CALL FUNCTION 'RS_TREE_LIST_DISPLAY'
    EXPORTING
    callback_program = 'ZREPORT_TREE'
    callback_user_command = 'NODE_SELECT'
    IMPORTING
    f15 = f15.
    ENDFORM. "draw_tree
    FORM NODE_SELECT *
    Handles selection of nodes *
    FORM node_select TABLES knoten STRUCTURE seucomm
    USING command
    CHANGING exit
    list_refresh.
    Processing of commands for hierarchy list
    CASE command.
    WHEN 'DISP'.
    CASE knoten-id.
    WHEN '000002'.
    *Display Sales Order
    SET PARAMETER ID 'AUN' FIELD knoten-text1.
    CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
    WHEN '000003'.
    *Display Customer
    SET PARAMETER ID 'KUN' FIELD knoten-text1.
    CALL TRANSACTION 'XD03' AND SKIP FIRST SCREEN.
    ENDCASE.
    ENDCASE.
    list_refresh = 'X'.
    ENDFORM. "node_select

  • Workflow not getting triggered from webdynpro event

    Hello gurus,
    I have a requirement in which if an employee changes his own information on the ESS portal, then an approval should be done by HR. For this i created a custom webdynpro application in which i fetch the employee data and check it with old data in one view and when user clicks save button the approval workflow should be triggered.
    For this i created a custom BO using transaction SWO1. I added a 'CHANGE' event and 'send_data_to_wf' method.
    In SWDD i created the workflow which is working fine when i test it in SWDD only. But when i trigger it using FM 'SWE_CREATE_EVENT', only the event is getting triggered and not the workflow. I checked the trace in transaction SWEL in which i can see the 'CHANGE' event under Event column but Name of Reciever Type column is emty. It should display my custom workflow ID. Please let me know where i m lacking or going wrong.
    Regards,
    Yayati Ekbote

    Hello Ricardo,
    Thanks for immediate reply. Yes, the linkage is active in SWE2. My custom object type is ZHRAD and event is change. I also tried the FM 'SAP_WAPI_CREATE_EVENT'. But in this FM the event also doesn't get triggered. Using FM 'SWE_CREATE_EVENT' atleast triggers the event. I debugged the FM. The container inside the FM is remaining initial. I am posting my code which i am using.
    DATA: pernr TYPE pa0001-pernr VALUE '40000001'.
      DATA: objtype   TYPE swr_struct-object_typ VALUE 'ZHRADCHO',
            objkey    TYPE sweinstcou-objkey,
            event     TYPE swr_struct-event VALUE 'CHANGE',
            it_wfcont TYPE STANDARD TABLE OF swcont,
            wa_wfcont TYPE swcont,
            event_id  TYPE swedumevid-evtid,
            ret_code  TYPE swedumevid-evtid.
      wa_wfcont-element = 'PERNR'.
      wa_wfcont-value = '40000001'.
      APPEND wa_wfcont TO it_wfcont.
      wa_wfcont-element = 'SUBTY'.
      wa_wfcont-value = '1'.
      APPEND wa_wfcont TO it_wfcont.
      wa_wfcont-element = 'ENDDA'.
      wa_wfcont-value = sy-datum.
      APPEND wa_wfcont TO it_wfcont.
      wa_wfcont-element = 'BEGDA'.
      wa_wfcont-value = sy-datum.
      APPEND wa_wfcont TO it_wfcont.
      objkey = pernr.
    CALL FUNCTION 'SWE_EVENT_CREATE'
      EXPORTING
        objtype                       = objtype
        objkey                        = objkey
        event                         = event
    *   CREATOR                       = ' '
    *   TAKE_WORKITEM_REQUESTER       = ' '
    *   START_WITH_DELAY              = ' '
    *   START_RECFB_SYNCHRON          = ' '
    *   NO_COMMIT_FOR_QUEUE           = ' '
    *   DEBUG_FLAG                    = ' '
    *   NO_LOGGING                    = ' '
    *   IDENT                         =
    * IMPORTING
    *   EVENT_ID                      =
    *   RECEIVER_COUNT                =
    TABLES
       EVENT_CONTAINER               = it_wfcont
    EXCEPTIONS
       OBJTYPE_NOT_FOUND             = 1
       OTHERS                        = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    COMMIT WORK.

  • Odi Jobs not getting triggered through Scheduler Agent

    Hi Guru's,
    i have Scheduled jobs in odi using Scheduler agent but jobs doesn't get triggered even though my scheduler agent is up and running and i have updated scheduled plan also.
    Please help me in resolving the issue.
    Regards
    Vinod

    Is your Agent successfully installed ?
    What is your OS and where exactly the ODI install ?
    If it is in Windows the we need to check the .BAT file if it is in linux then we need to check the .SH file for Agent.
    Thanks,
    Lony
    8763043086

  • LOV value change event is getting triggered automatically

    Hi,
    I'm using ADF Faces with EJB. I have a page with a LOV defined as:
    <af:selectInputText binding="#{backing_contactUpdate.investorLOV}"
              id="investorLOV" columns="30"
              searchDesc="Search and Select Investor"
              value="#{updateContact.reference_id_meaning}"
              action="dialog:chooseInvestor"
              windowHeight="600" windowWidth="650"
              returnListener="#{backing_contactUpdate.investorLovReturn_action}"
              valueChangeListener="#{backing_contactUpdate.investorLovChange_action}"
              autoSubmit="true"/>
    When this page is run the first time and no value exists in the managed bean property bound to LOV field (updateContact.reference_id_meaning) then it all works fine. But if the managed bean property has any value then clicking any button which submits data triggers the LOV change event (backing_contactUpdate.investorLovChange_action). Once a new value is selected in the LOV then the event doesn't get triggered. How can I make the state of LOV field as validated, so that the change event doesn't get fired?

    Additional Information:
    The backing bean and managed bean both are at request scope.
    Another problem I'm facing is that the value change event is not fired when the value in the LOV field is deleted (set to blank).
    The method in backing bean is:
    public void investorLovChange_action(ValueChangeEvent valueChangeEvent) {
    // Add event code here...
    String investorName = (String)valueChangeEvent.getNewValue();
    if (investorName == null) {
    getReferenceId().setSubmittedValue(null);
    getReferenceId().setValue(null);
    } else {
    ValueBinding investorBeanBind =
    application.createValueBinding("#{irmInvestorBean}");
    IrmInvestorBean investorBean =
    (IrmInvestorBean)investorBeanBind.getValue(facesContext);
    investorBean.fetchInvestors(investorName, null, null);
    IrmInvestorSearchResults[] investors = investorBean.getInvestors();
    if ((investors != null) && (investors.length == 1)) {
    getReferenceId().setSubmittedValue(null);
    getReferenceId().setValue(investors[0].getInvestor_id());
    getInvestorLOV().setSubmittedValue(null);
    getInvestorLOV().setValue(investors[0].getFull_name());
    } else {
    UIViewRoot investorLovRoot =
    application.getViewHandler().createView(facesContext,
    "/investorLOV.jsp");
    HashMap windowProp = new HashMap();
    windowProp.put("height", "600");
    windowProp.put("width", "650");
    adfFacesContext.launchDialog(investorLovRoot, null,
    valueChangeEvent.getComponent(),
    true, windowProp);
    }

  • My mac froze in an application so I shut it down by powering off with button, now when I try to turn it on I have a grey screen with Apple loge and the timer swirling but it doesn't get past this, please help!

    I Shut down my Mac by holding in the power button after my iMac froze and now when I try to turn it back it on all I get is the grey screen with Apple loge and the timer and doesn't get any further.  I have tried the diagnostic test but nothing was found.

    Take each of these steps that you haven't already tried. Stop when the problem is resolved.
    To restart an unresponsive computer, press and hold the power button for a few seconds until the power shuts off, then release, wait a few more seconds, and press it again briefly.
    Step 1
    The first step in dealing with a startup failure is to secure the data. If you want to preserve the contents of the startup drive, and you don't already have at least one current backup, you must try to back up now, before you do anything else. It may or may not be possible. If you don't care about the data that has changed since the last backup, you can skip this step.
    There are several ways to back up a Mac that is unable to start. You need an external hard drive to hold the backup data.
    a. Start up from the Recovery partition, or from a local Time Machine backup volume (option key at startup.) When the OS X Utilities screen appears, launch Disk Utility and follow the instructions in this support article, under “Instructions for backing up to an external hard disk via Disk Utility.” The article refers to starting up from a DVD, but the procedure in Recovery mode is the same. You don't need a DVD if you're running OS X 10.7 or later.
    b. If Step 1a fails because of disk errors, and no other Mac is available, then you may be able to salvage some of your files by copying them in the Finder. If you already have an external drive with OS X installed, start up from it. Otherwise, if you have Internet access, follow the instructions on this page to prepare the external drive and install OS X on it. You'll use the Recovery installer, rather than downloading it from the App Store.
    c. If you have access to a working Mac, and both it and the non-working Mac have FireWire or Thunderbolt ports, start the non-working Mac in target disk mode. Use the working Mac to copy the data to another drive. This technique won't work with USB, Ethernet, Wi-Fi, or Bluetooth.
    d. If the internal drive of the non-working Mac is user-replaceable, remove it and mount it in an external enclosure or drive dock. Use another Mac to copy the data.
    Step 2
    If the startup process stops at a blank gray screen with no Apple logo or spinning "daisy wheel," then the startup volume may be full. If you had previously seen warnings of low disk space, this is almost certainly the case. You might be able to start up in safe mode even though you can't start up normally. Otherwise, start up from an external drive, or else use the technique in Step 1b, 1c, or 1d to mount the internal drive and delete some files. According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation.
    Step 3
    Sometimes a startup failure can be resolved by resetting the NVRAM.
    Step 4
    If a desktop Mac hangs at a plain gray screen with a movable cursor, the keyboard may not be recognized. Press and hold the button on the side of an Apple wireless keyboard to make it discoverable. If need be, replace or recharge the batteries. If you're using a USB keyboard connected to a hub, connect it to a built-in port.
    Step 5
    If there's a built-in optical drive, a disc may be stuck in it. Follow these instructions to eject it.
    Step 6
    Press and hold the power button until the power shuts off. Disconnect all wired peripherals except those needed to start up, and remove all aftermarket expansion cards. Use a different keyboard and/or mouse, if those devices are wired. If you can start up now, one of the devices you disconnected, or a combination of them, is causing the problem. Finding out which one is a process of elimination.
    Step 7
    If you've started from an external storage device, make sure that the internal startup volume is selected in the Startup Disk pane of System Preferences.
    Start up in safe mode. Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Post for further instructions.
    Safe mode is much slower to start and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know the login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    When you start up in safe mode, it's normal to see a dark gray progress bar on a light gray background. If the progress bar gets stuck for more than a few minutes, or if the system shuts down automatically while the progress bar is displayed, the startup volume is corrupt and the drive is probably malfunctioning. In that case, go to Step 11. If you ever have another problem with the drive, replace it immediately.
    If you can start and log in in safe mode, empty the Trash, and then open the Finder Info window on the startup volume ("Macintosh HD," unless you gave it a different name.) Check that you have at least 9 GB of available space, as shown in the window. If you don't, copy as many files as necessary to another volume (not another folder on the same volume) and delete the originals. Deletion isn't complete until you empty the Trash again. Do this until the available space is more than 9 GB. Then restart as usual (i.e., not in safe mode.)
    If the startup process hangs again, the problem is likely caused by a third-party system modification that you installed. Post for further instructions.
    Step 8
    Launch Disk Utility in Recovery mode (see Step 1.) Select the startup volume, then run Repair Disk. If any problems are found, repeat until clear. If Disk Utility reports that the volume can't be repaired, the drive has malfunctioned and should be replaced. You might choose to tolerate one such malfunction in the life of the drive. In that case, erase the volume and restore from a backup. If the same thing ever happens again, replace the drive immediately.
    This is one of the rare situations in which you should also run Repair Permissions, ignoring the false warnings it may produce. Look for the line "Permissions repair complete" at the end of the output. Then restart as usual.
    Step 9
    If the startup device is an aftermarket SSD, it may need a firmware update and/or a forced "garbage collection." Instructions for doing this with a Crucial-branded SSD were posted here. Some of those instructions may apply to other brands of SSD, but you should check with the vendor's tech support.  
    Step 10
    Reinstall the OS. If the Mac was upgraded from an older version of OS X, you’ll need the Apple ID and password you used to upgrade.
    Step 11
    Do as in Step 9, but this time erase the startup volume in Disk Utility before installing. The system should automatically restart into the Setup Assistant. Follow the prompts to transfer the data from a Time Machine or other backup.
    Step 12
    This step applies only to models that have a logic-board ("PRAM") battery: all Mac Pro's and some others (not current models.) Both desktop and portable Macs used to have such a battery. The logic-board battery, if there is one, is separate from the main battery of a portable. A dead logic-board battery can cause a startup failure. Typically the failure will be preceded by loss of the settings for the startup disk and system clock. See the user manual for replacement instructions. You may have to take the machine to a service provider to have the battery replaced.
    Step 13
    If you get this far, you're probably dealing with a hardware fault. Make a "Genius" appointment at an Apple Store, or go to another authorized service provider.

  • BPM with conditional start not getting triggered

    Hi
    I have developed a BPM which collects a few IDocs with a correlation based on the message content.
    When triggering the BPM in Development, everything works as intended. (Messages are collected together based on the value of the correlation)
    After this we decided to transport the BPM to Test by using NWDI. The deployment was successful, but when we try to run the scenario, the message gets delivered successfully in the monitor, but no BPM process is being triggered.
    Audit log in monitor:
    I've tried the same with the BPM in Dev but there it works fine, when trying in Test or Production, the BPM isn't getting triggered. Same when trying to trigger the process through the WS Navigator or SoapUI.
    The endpoint url we use is always the: http://host:port/MessagingSystem/receive/JPR/XI
    I can see the process in the process repository (but due to a conditional start, I cannot start it from there with a test).
    Do you have any suggestions on how to troubleshoot this?
    I can see nothing in the NWA Logs / Developer Traces either.
    Our system is a PO 7.40 SP5.
    Thanks in advance.
    Best regards,
    Nicolas

    Hi Nick
    thanks for the quick reply.
    The runtime version of the BPM is indeed the same for DEV and TEST.
    The BPM Actions don't show anything unfortunately, so doesn't seem to have triggered anything.
    The user has the SAP_BPM_TRIGGER_EVENT role so it should be able to trigger the process.
    The NWA Logs don't show up anything besides:
    JPR successfully processed the message
    And the following logs for the BPM:
    Returned destination xxxx.com/collectlabel~bpm*1400504350735*0, type WSProvider to user xxxx
    I can see the BPM Service in running state on the Java Services/Applications as well, so I would think everything is alright.
    br,
    Nicolas

  • Plugin events not getting triggered

    Hello,
    APEX version 4.1.0.00.32 and 4.2.3.00.08
    Browser: latest version of Chrome browser
    I'm trying to include plugin events for the Select2 APEX plugin but facing one rather annoying issue; the dynamic actions based on the plugin events are not getting triggered. These are the steps I have taken:
    1. Registered several events with the plugin (e.g. slctchange, slctopen, slcthighlight, etc.). These events are based on the official Select2 documentation.
    2. Modified the render function to include event handlers that trigger the appropriate Select2 event.
    $("' || l_item_jq || '").on("change", function(e) {
      apex.jQuery(this).trigger("slctchange", { val:e.val, added:e.added, removed:e.removed });
    $("' || l_item_jq || '").on("select2-opening", function(e) {
      apex.jQuery(this).trigger("slctopening");
    $("' || l_item_jq || '").on("select2-open", function(e) {
      apex.jQuery(this).trigger("slctopen");
    $("' || l_item_jq || '").on("select2-highlight", function(e) {
      apex.jQuery(this).trigger("slcthighlight", { val:e.val, choice:e.choice });
    $("' || l_item_jq || '").on("select2-selecting", function(e) {
      apex.jQuery(this).trigger("slctselecting", { val:e.val, choice:e.choice });
    $("' || l_item_jq || '").on("select2-clearing", function(e) {
      apex.jQuery(this).trigger("slctclearing");
    $("' || l_item_jq || '").on("select2-removed", function(e) {
      apex.jQuery(this).trigger("slctremoved", { val:e.val, choice:e.choice });
    $("' || l_item_jq || '").on("select2-focus", function(e) {
      apex.jQuery(this).trigger("slctfocus");
    $("' || l_item_jq || '").on("select2-blur", function(e) {
      apex.jQuery(this).trigger("slctblur");
    I can confirm that the slctchange event (the first event in the list) is working properly both in APEX 4.1 and 4.2. Please note that I had to use apex.jQuery instead of $ to get it to work in 4.1. Might be because I overloaded jQuery in 4.1. Anyway, all others events are not getting triggered for some reason. The event handlers are getting executed for the appropriate event; that's not the problem. I guess the source of the problem lies with the trigger function. It simply doesn't trigger any of my dynamic actions.
    To make things even more complicated, it is possible to trigger the events manually in console. So if I execute this statement:
    apex.jQuery("#P20_SINGLE_VALUE_NEW").trigger("slctopen");
    Then I get back the result from the dynamic action.
    I tried a lot of different ways to trigger the plugin event. For example:
    $("' || l_item_jq || '").on("select2-open", function(e) {
      apex.jQuery(this).trigger("slctopen");
      $(this).trigger("slctopen");
      apex.jQuery(this).trigger("slctopen.BE_CTB_SELECT2");
      $(this).trigger("slctopen.BE_CTB_SELECT2");
      apex.jQuery("' || l_item_jq || '").trigger("slctopen");
      $("' || l_item_jq || '").trigger("slctopen");
      apex.jQuery("' || l_item_jq || '").trigger("slctopen.BE_CTB_SELECT2");
      $("' || l_item_jq || '").trigger("slctopen.BE_CTB_SELECT2");
    Nothing gets triggered...
    Can anyone tell me what the problem is here? Thanks in advance.
    Best regards,
    Nick

    Hello,
    APEX version 4.1.0.00.32 and 4.2.3.00.08
    Browser: latest version of Chrome browser
    I'm trying to include plugin events for the Select2 APEX plugin but facing one rather annoying issue; the dynamic actions based on the plugin events are not getting triggered. These are the steps I have taken:
    1. Registered several events with the plugin (e.g. slctchange, slctopen, slcthighlight, etc.). These events are based on the official Select2 documentation.
    2. Modified the render function to include event handlers that trigger the appropriate Select2 event.
    $("' || l_item_jq || '").on("change", function(e) {
      apex.jQuery(this).trigger("slctchange", { val:e.val, added:e.added, removed:e.removed });
    $("' || l_item_jq || '").on("select2-opening", function(e) {
      apex.jQuery(this).trigger("slctopening");
    $("' || l_item_jq || '").on("select2-open", function(e) {
      apex.jQuery(this).trigger("slctopen");
    $("' || l_item_jq || '").on("select2-highlight", function(e) {
      apex.jQuery(this).trigger("slcthighlight", { val:e.val, choice:e.choice });
    $("' || l_item_jq || '").on("select2-selecting", function(e) {
      apex.jQuery(this).trigger("slctselecting", { val:e.val, choice:e.choice });
    $("' || l_item_jq || '").on("select2-clearing", function(e) {
      apex.jQuery(this).trigger("slctclearing");
    $("' || l_item_jq || '").on("select2-removed", function(e) {
      apex.jQuery(this).trigger("slctremoved", { val:e.val, choice:e.choice });
    $("' || l_item_jq || '").on("select2-focus", function(e) {
      apex.jQuery(this).trigger("slctfocus");
    $("' || l_item_jq || '").on("select2-blur", function(e) {
      apex.jQuery(this).trigger("slctblur");
    I can confirm that the slctchange event (the first event in the list) is working properly both in APEX 4.1 and 4.2. Please note that I had to use apex.jQuery instead of $ to get it to work in 4.1. Might be because I overloaded jQuery in 4.1. Anyway, all others events are not getting triggered for some reason. The event handlers are getting executed for the appropriate event; that's not the problem. I guess the source of the problem lies with the trigger function. It simply doesn't trigger any of my dynamic actions.
    To make things even more complicated, it is possible to trigger the events manually in console. So if I execute this statement:
    apex.jQuery("#P20_SINGLE_VALUE_NEW").trigger("slctopen");
    Then I get back the result from the dynamic action.
    I tried a lot of different ways to trigger the plugin event. For example:
    $("' || l_item_jq || '").on("select2-open", function(e) {
      apex.jQuery(this).trigger("slctopen");
      $(this).trigger("slctopen");
      apex.jQuery(this).trigger("slctopen.BE_CTB_SELECT2");
      $(this).trigger("slctopen.BE_CTB_SELECT2");
      apex.jQuery("' || l_item_jq || '").trigger("slctopen");
      $("' || l_item_jq || '").trigger("slctopen");
      apex.jQuery("' || l_item_jq || '").trigger("slctopen.BE_CTB_SELECT2");
      $("' || l_item_jq || '").trigger("slctopen.BE_CTB_SELECT2");
    Nothing gets triggered...
    Can anyone tell me what the problem is here? Thanks in advance.
    Best regards,
    Nick

  • Event Approved doesn't get triigered in QA system.

    Hi All,
    When Bid response is approved or accepted workflow is trriggered. This is working properly in development system , but not working in QA system. Event doesn't get triggerd in QA.
    I have check the start condition , linkage type in development and QA , both are same.
    Could you please help?
    Regards,
    S K.

    Hi Sravan,
    How is the event getting triggered?
    Is it a standard event getting triggered by a transaction or is done programatically.
    Check if the TRs have been ported in correct order to QA system from dev system.
    Check in t-code SWEL if the event is getting triggered and the recipient workflow is being listed there.
    Regards,
    Saumya

  • I sort my booksmarks (A-Z) but that sort doesn't last very long. It seems like the sorting process I go through doesn't get "saved." Thoughts? Thanks, Scott

    I sort my booksmarks (A-Z) but that sort doesn't last very long. It seems like the sorting process I go through doesn't get "saved." Thoughts? Thanks, Scott

    How are you sorting the bookmarks?
    The Views menu in the Bookmarks Manager (Bookmarks > Show All Bookmarks) is for displaying the bookmarks in different sorting orders (hence the name Views) and doesn't sort bookmarks permanently.<br />
    In Firefox the option to sort bookmarks is only available for folders and not for individual bookmarks.<br />
    Right-click a folder to open the context menu and choose "Sort By Name" in the left pane of the Bookmarks Manager or in the side bar to sort the bookmarks alphabetically or drag bookmarks to the wanted position.<br />
    If dragging doesn't work then use Cut and Paste instead.
    See:
    * http://kb.mozillazine.org/Sorting_and_rearranging_bookmarks_-_Firefox
    * SortPlaces: https://addons.mozilla.org/firefox/addon/sortplaces/

  • When I login, all of my desktop items are gone, the "Finder" icon is bouncing and a message asking to restore windows is blinking but unresponsive. I can't exit out of it. What do I do? I've tried force quitting, and it doesn't get rid of it.

    When I login, all of my desktop items are gone, the "Finder" icon is bouncing and a message asking to restore windows is blinking but unresponsive. I can't exit out of it. What do I do? I've tried force quitting, and it doesn't get rid of this message. When I login to my husband's account, this message does not appear.

    Hey sunnyday7!
    Here is an article that can help you address this issue:
    OS X: How to quit an unresponsive application using Force Quit
    http://support.apple.com/kb/ht3411
    Additional Information
    OS X automatically relaunches the Finder when it is quit. If the Finder is unresponsive, use Force Quit to relaunch it. Select Finder in the Force Quit Window or Dock, then click Relaunch.
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • Alert is not getting triggered in QA

    Hai Experts!
    i have transported the Alert Classification and Alert Category from development system to Quality system and i created the alert rule in QA. Now alerts mails are not tiggering. In se30 i have excecuted the RSALERTTEST that time i am getting a mail in the alert inbox and also to my mail box but for a real time data alert is not getting triggered.
    Pls help me to solve this issue.
    Regard's
    Preethi

    Hi
    Schedule send job
    please see as
    help.sap says
    Send Job
    E-mails sent from an SAP application are first stored in a queue. A periodical background process, the SAPconnect send job, gets the e-mails from this queue and sends them over the Internet. To schedule this job in SAPconnect: Administration, proceed as follows:
    i.         Choose View ® Jobs.
    ii.       If no other job has been scheduled, choose Job ® Create.
    iii.      Enter a job name and confirm it.
    iv.      Select the variant SAP&CONNECTALL by positioning the cursor on it.
    v.        Choose Schedule Job.
    vi.      Choose Schedule periodically.
    vii.     Select the interval you require, such as 10 minutes.
    viii.   Choose Create.
    Refer this.
    http://help.sap.com/saphelp_nw04/helpdata/en/af/73563c1e734f0fe10000000a114084/content.htm

  • Print program is not getting triggered when saving the application

    Hi all,
    My requirement is when i save the invoice using VF01 the print program should get triggered.
    The print program is not getting triggered when saving the application even when i have configured the outtype and have attached the print program.
    The setting "send immediately (when saving application)" is also checked.
    I need to configure it for VF01 transaction.
    The error message displayed was " please maintain output device in master data".
    Regards,
    Umesh

    Hi Umesh
    Please check if you have missed any of the following:
    1. Defining Access Sequence(can use existing).
    2. Defining Output Condition Type(can use existing). - Assigning the Driver Program and Form in processing routine.
    3. Output Determination Procedure
    4. Assign Output Procedure to Billing Types
    Kind Regards
    Eswar

  • User command is not getting triggered in interactive ALV with LIST display

    Hi experts,
    I have developed an interactive ALV report with LIST display. Here, the issue is, when i double click a record in the primary ALV list, the control must go to the USER COMMAND event which i have written in my report. But the user command event is not getting triggered at all when i double click any record.
    It gives the following information instead.
    "Choose a valid function".
    (My user command name and its respective form name are same.)
    Here is my code..
    START-OF-SELECTION.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program       = sy-repid
          i_structure_name         = p_table
          i_callback_user_command  = 'TST1'
          i_callback_pf_status_set = 'SET_PF_STATUS'
        TABLES
          t_outtab                 = <dyn_table>
        EXCEPTIONS
          program_error            = 1
          OTHERS                   = 2.
      IF sy-subrc <> 0.
      ENDIF.
    FORM tst1 USING r_ucomm LIKE sy-ucomm
                    rs_selfield TYPE slis_selfield.
    * Local data declaration
      DATA: li_tab TYPE REF TO data,
            l_line TYPE REF TO data.
    * Local field-symbols
      FIELD-SYMBOLS:<l_tab> TYPE table,
                    <l_wa>  TYPE ANY.
    * Create table
      CREATE DATA li_tab TYPE STANDARD TABLE OF (p_table).
      ASSIGN li_tab->* TO <l_tab>.
    * Create workarea
      CREATE DATA l_line LIKE LINE OF <l_tab>.
      ASSIGN l_line->* TO <l_wa>.  CASE r_ucomm.
    *   When a record is selected
        WHEN '&IC1'.
    *     Read the selected record
          READ TABLE <dyn_table> ASSIGNING <dyn_wa> INDEX
          rs_selfield-tabindex.      IF sy-subrc = 0.
    *       Store the record in an internal table
            APPEND <dyn_wa> TO <l_tab>.
    *       Fetch the field catalog info
            CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
              EXPORTING
                i_program_name         = 'Z_DEMO_PDF_JG'
                i_structure_name       = p_table
              CHANGING
                ct_fieldcat            = i_fieldcat
              EXCEPTIONS
                inconsistent_interface = 1
                program_error          = 2
                OTHERS                 = 3.
    Please advice what is the msitake i have done here..

    Read the following code:
    pass the  i_callback_user_command = g_user_command to the ALV function module and write the FORM user_command USING ucomm    LIKE sy-ucomm
                            selfield TYPE slis_selfield.
    as shown below.
    thanx
    Data for ALV display
    DATA  : gt_fieldcat TYPE slis_t_fieldcat_alv,
            gt_events           TYPE slis_t_event,
            g_variant LIKE disvariant,
            g_user_command      TYPE slis_formname VALUE 'USER_COMMAND',
            g_status            TYPE slis_formname VALUE 'SET_PF_STATUS',
            gt_list_top_of_page TYPE slis_t_listheader,
            g_repid LIKE sy-repid,
            gf_pos TYPE i
    Data for ALV display
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
               EXPORTING
              i_callback_program      = g_repid
                 i_callback_program      = sy-repid
                 it_fieldcat             = gt_fieldcat[]
           it_events               = gt_events[]
              i_callback_user_command = g_user_command
                 i_save                  = 'A'
                 is_variant              = g_variant
               TABLES
                 t_outtab                = it_print.
    FORM user_command USING ucomm    LIKE sy-ucomm
                            selfield TYPE slis_selfield.
      CASE ucomm.
        WHEN '&IC1'.
          CASE selfield-sel_tab_field.
            WHEN '1-KUNNR'.
              READ TABLE it_print INTO wa_print INDEX selfield-tabindex.
              IF sy-subrc = 0.
                SET PARAMETER ID 'BPA' FIELD wa_print-kunnr.
                CALL TRANSACTION 'BP'.
              ENDIF.
            WHEN '1-MATNR'.
              READ TABLE it_print INTO wa_print INDEX selfield-tabindex.
              IF sy-subrc = 0.
                SET PARAMETER ID 'JP_ISS' FIELD wa_print-matnr.
                CALL TRANSACTION 'JP29' AND SKIP FIRST SCREEN..
               GET PARAMETER ID 'WRK' FIELD wa_zprint-werks.
               SET PARAMETER ID 'VKO' FIELD wa_zprint-vkorg.
               SET PARAMETER ID 'VTW' FIELD wa_zprint-vtweg.
               CALL TRANSACTION 'JP29' AND SKIP FIRST SCREEN.
              ENDIF.
    Endcase.
    Endform.

  • Output fax not getting triggered when sales order credit block is released

    Hi Experts,
    I am working on an issue.
    I have one sales Order which has credit block.
    when we release the credit block via vkm3, then the output fax gets triggered.
    I have another sales order which has credit block,
    when we release the credit blcok via vkm3 , the output fax is NOT getting triggered.
    If any of you has worked on this setting, request your input on where to find the settings/coding for the same.
    Any advice on this please.
    Regs,
    SuryaD.
    Edited by: SuryaD on Oct 21, 2010 9:34 PM

    Hi Brad,
    Thanks for your response.
    Order 1: Issues output fax(ZFAX) correctly when block is released.(i see output zfax in te output screen)
    Order 2: Fails to issue output fax(ZFAX) even when the block is released.( i dont see any output in the output screen)
    I went to Go to -Determine analysis for both orders 1 and order 2.
    in both the analysis i am able to see the output ZFAX.
    *Analysis Output*
    *Order 1                                                                    Order 2*
    1. ZFAX                                                                   1.   ZFAX
        10(Z010)                                                                 10(Z010)
           0000122426                                                              0000122427
    2.  ZFAX                                                                   2.   ZFAX
    When i click, D.Click on the output type ZFAX on both the order Analysis output screen, i see similarities.
    There in just 2 differences as below.
    In the above screen,
    1.Order 1 ==> has some value 0000122426
    2.For Order 1==> row marked 2.(in the above screen) if i D.Click on ZFAX it says
    Diagnosis
    Output ZFAX has already been issued. Multiple issue for this output type is forbidden in Customizing.
    In the above screen
    1.Order 2 ==> has some value 0000122427
    2.For Order 2==> row marked 2.(in the above screen) if i D.Click on ZFAX it says
    No more information is available.
    Please guide as to how to initiate the debug for output processing ?
    Which screen where to switch on debugger.
    where to look further?
    Regards,
    SuryaD.
    Edited by: SuryaD on Oct 22, 2010 11:41 AM

Maybe you are looking for

  • Remote Desktop Access with Mac and Asus Transformer Prime

    I have an E2000 router with the most current firmware. I have a Sony VAio laptop with Windows 7 Home Premium 64bit,a Macbook with 10.6.8, and a new Asus Transformer Prime with ICS.My work desktop is a Dell Optiplex 380 with Windows 7 Pro 32bit. I fre

  • Idoc data modified

    Good afternoon: Does anybody know how to send in an idoc only the modified data? Thanks in advance. regards

  • Component to Composite Video for Ipod touch

    I have a 8gb ipod touch and i have the composite cables for my old ipod so i can watch videos on my tv. I've read that the touch needs the new composite cables and i don't have a hdtv to support that. Is there any converter i can buy to make this wor

  • Multiple Projects on Same Server

    Today was the first time I ever published 2 separate projects to the same server (thank goodness I used the DEV Server). They are totally separate projects - nothing the same and did not use anything from one project in the other. At the 4pm meeting

  • How to edit sounds in iTunes songs on GB?

    Hello, I'm trying to figure out how I can change the sound of my itune songs in my garage band. I already know how to place the Itune tracks into my gragband, but I would love to know how to add bass onto some of my songs? Change the equalizer? and e