Raise event doesn't work on postback?

I have this code on a search portlet that has a DIV container. The code below works fine with the alert but without it the raise event is ignored.
handleControlGridResponse = function(response) { // Get the container whose contents we want to refresh    var container = document.getElementById('ControlGridContainer'); // Redraw it with the text of the response   container.innerHTML = response.responseText;     if (response.responseText.indexOf("Only One Row") != -1) {   var startIndex = response.responseText.indexOf("*Only One Row*") + 14;  var endIndex = response.responseText.indexOf("*theEnd*");  var len = endIndex - startIndex;  var ID = response.responseText.substr(startIndex, len);
document.PCC.PutSessionState("urn:Cognex.productportal.com:proditeminfo", "Picked_id", ID); document.PCC.RaiseEvent('urn:Cognex.productportal.com:RecordSelected', 'RecordSelected', 'fill portlets'); alert(ID) } }
How do I get this to work?
Thanks.

I tore my hair out over the same issue. Based on SaitoLux's suggestion, I decided to try deleting and reinstalling the prefs panel for my Logitech mice (Logitech Control Center).
Success!
If you've got this problem and you have a non-Apple mouse driver installed, try deleting and reinstalling. Can't explain why it worked, but happy it did.

Similar Messages

  • Hover event doesn't work on mountain lion

    I just upgraded to mountain lion and have one MAJOR issue. Any hover event doesn't work.
    This includes the dock animations, hover on context menus, buttons in certain apps (noticable in minecraft a lot, so it affects java), and hot corners don't work either.
    Anyone else experience this issue and have it solved?
    I tried resetting the PRAM and it fixed it, for like 5 minutes, so not a great fix.

    I tore my hair out over the same issue. Based on SaitoLux's suggestion, I decided to try deleting and reinstalling the prefs panel for my Logitech mice (Logitech Control Center).
    Success!
    If you've got this problem and you have a non-Apple mouse driver installed, try deleting and reinstalling. Can't explain why it worked, but happy it did.

  • Email event doesn't work

    A colleague emailed me an event by control clicking the event in iCal and selecting "mail event" from the drop down menu. I received the email clicked on the attached ics file. iCal opened automatically but I got the error message "This calender file is empty. No new events have been added to your iCal calenders.". I know the file isn't empty because I made it.
    I'm sure it used to work when my colleague was running OSX 10.3.9 and older versions of iCal and Mail but now I've upgraded him so we're both running OSX 10.4.7 and the most recent versions of iCal and Mail it's stopped working.
    Any ideas?
    Message was edited by: Toby Levan

    Here's what my test event iCal data looks like (that doesn't work). There is that "DTSTAMP" that seems to have 10:49, and "CREATED" has 10:23 in it for some reason, when I created it at 10:11:
    BEGIN:VCALENDAR
    VERSION:2.0
    PRODID:-//Apple Inc.//iCal 3.0//EN
    CALSCALE:GREGORIAN
    BEGIN:VEVENT
    SEQUENCE:2
    TRANSP:OPAQUE
    UID:F27095A8-524A-4905-A060-4CC8B7F124F9
    DTSTART;TZID=US/Eastern:20071027T101300
    DTSTAMP:20071027T141049Z
    SUMMARY:New Event
    CREATED:20071027T141023Z
    DTEND;TZID=US/Eastern:20071027T111300
    BEGIN:VALARM
    X-WR-ALARMUID:F6964997-4C3C-42D1-935F-3403A112EDD2
    ACTION:EMAIL
    DESCRIPTION:This is an event reminder
    SUMMARY:Alarm notification
    ATTENDEE:mailto:[email protected]
    TRIGGER:-PT2M
    END:VALARM
    END:VEVENT
    END:VCALENDAR

  • Changes to lastmodified column in aboutToUpdate event doesn't work

    We use the following code in the aboutToUpdate event to set the lastmodified date on changed object:
    DatabaseRow row = event.getRow();
    lastModified = now();
    Descriptor descriptor = event.getSession().getDescriptor(this);
    DatabaseMapping mapping = descriptor.getMappingForAttributeName("lastModified");
    if (mapping != null) {
    String modField = ((DirectToFieldMapping) mapping).getFieldName();
    DatabaseTable table = descriptor.getDefaultTable();
    String qualifier = table.getQualifiedName();
    if (qualifier.length() > 0) {
    modField = qualifier + "." + modField;
    row.put(modField, lastModified);
    This code is in the aboutToUpdate event on the superclass in the hierarchy.
    However, on one of the machines, this code doesn't update the lastmodified for one of the types of objects. Lastmodified is updated on objects of other types on that machine. The same code works fine on objects of all types on other machines.
    I enabled the logSQL mechanism of TOPLink and found that update SQL was not modifying the lastModified field. However, when I look at the code through debugger, I do see the lastmodified in the DatabaseRow of the event.
    After having verified the versions of TOPLink and jdbc driver, I'm trying to debug the issue by previewing the sql that is generated by TOPLink. These are the 2 things I have tried so far and both of them return null SQL String:
    1.
    WriteObjectQuery dbQuery = new WriteObjectQuery();
    dbQuery.setObject(this);
    try {
    dbQuery.prepareCall(event.getSession(), row);
    String query = dbQuery.getSQLString();
    } catch (QueryException qe) {
    qe.printStackTrace();
    2.
    DatabaseQuery d = event.getQuery();
    d.prepareCall(event.getSession(), d.getTranslationRow());
    String query2 = d.getSQLString();

    Very strange. Is there anything special about the machine or the class that it does not work for? Did you verify the event is being raised for that class on that machine?
    The only thing that I can think of that would cause this is if the class were using custom SQL or a custom query for its update.
    The reason that you do not see the SQL when creating a WriteObjectQuery is that it does not generate it's SQL until after the prepare as it must first determine if an insert or update is required. It also will not work with an UpdateObjectQuery, because the update SQL is dynamic (depends on what was changed) so the SQL cannot be prepared in the query.
    I believe the following will return the SQL that TopLink would generate for an update, provided you use the row from the aboutToUpdateEvent.
    UpdateObjectQuery dbQuery = new UpdateObjectQuery();
    dbQuery.setObject(event.getObject());
    dbQuery.setModifyRow(event.getRow());
    dbQuery.prepareCall(event.getSession(), event.getQuery().getTransactionRow());
    String query = dbQuery.getSQLString();

  • Button Event doesn't work after interactive pdf form creation

    Hi everyone,
    I have an interactive form created after clicking on a button in view 1. The interactive form ui element is then in a view 2, with a button "back" to return to view 1. The problem is that this button no longer works (it worked on 2004, i'm upgrading to 2004s).
    By its behaviour, i can say it doesn't even go to the server anymore. I allready checked if the plug data was lost or the event onAction was empty, but in the dev studio eveything looks fine.
    Does anyone has any ideas that could help ?
                       thank you in advance.

    Hi,
    Can you please let me know where I need to set the property to false for adobe as i am facing the same problem.
    Thank you
    With Regrds
    Sunil

  • Apple Events doesn't work?

    After the new upgrade I see the new "Apple Events" icon but I am not been able to play any of the events in the list.
    Hints?

    Hello!
    I can see the the list of Events.
    I can slide between the Events and I can select the single Event but the "Play" button doesn't  nothing.
    The Play button is not greyed and it is selected.
    No Error message. Simply nothing happens.
    Obviously all the others icons (ie Trailers Podcast etc etc) are working.
    Software 5.1 (5201)
    Model MC572TY/A

  • Calendar add event doesn't work right

    Click on the + and it opens a window to create a quick event, but you can't type into the box.  Only pressing enter opens the new event window where you can specify the date, times, description.
    I'm using the daily view and have Calendar selected as default.

    Let me clarify what I know to work:
    If you are composing a message, and simply type, for example, www.cnn.com then when the message is sent, this will become an active, clickable, link and fully enabled -- but it is not seen as such while in the Compose window before sending.
    However, if you type a word, such as "news", highlight it, go to Edit, choose Add Hyperlink, and then type "www.cnn.com" in the resulting box (without the quotation marks), then it does not get correctly formed to be a valid URL when clicked in the message after sending, despite changing font color and underlining. The Add Hyperlink (to change ordinary words into links via HTML) is designed it would appear, mainly to copy and paste an URL from the address bar of a browser, and there are no typing shortcuts.
    I will now use this message to test the same in Safari:
    hyperlink1 vs hyperlink2 where the text for hyperlink1 does NOT include the http://
    This test proves the same is true of Safari and composing HTML for the creation of true Hyperlinks -- the address used must be the same as what will result in the address bar once the web page is reached.
    The code for the above, with ordinary brackets substituted for angle brackets is:
    [a href="www.cnn.com"]hyperlink1[/a] vs [a href="http://www.cnn.com/"]hyperlink2[/a]
    Ernie

  • What changed with the mousemove event, doesn'y work w/FF7

    The code below was broken by the FF7 update. When you click on the image moving the mouse should scan across the enlarged image. Problem happens with Windows 7 as well.

    I have tried this on my own computer. It do not know about older versions but it seems to work in Firefox 7 when you use the same code for xPos and yPos in Firefox as in IE. I get some kind of magnifier effect.<br>
    <br>
    if (navigator.appName.indexOf("Microsoft") > -1)<br>
    {<br>
    ev=event;<br>
    }<br>
    xPos=(ev.clientX+document.body.scrollLeft-targetLeft)/PhotoSm.width;<br>
    yPos=(ev.clientY+document.body.scrollTop-targetTop)/PhotoSm.height;<br>

  • I tried copying a photo and pasting it in another event/group within iPhoto but the paste feature doesn't work.  This wasn't an issue with both Leopard and Snow Leopard.  Do you have any solutions or tips?

    I bought a new MacBook Pro with OsX Lion as operating system.  I use iPhoto a lot and when I tried copying a photo then pasting it to another event/group, the 'paste' feature doesn't work.  This wasn't the case with Leopard and Snow Leopard where the 'paste' feature worked.  What I did was to paste the photo first to the desktop before transferring it to the new event/group.  I brought my Mac to the Apple store where I bought it and the technicians were themselves surprised that the 'paste' feature didn't work.  Chalked it up to glitches in the Lion os.  So how do we fix this?  I just find it absurd that a feature that used to work in Snow Leopard has been disabled in Lion, and the user still has to undergo an additional step to make it work, when new technology is supposed to make things easier for users. 
    Also, hasn't anyone noticed that it takes longer for the computer to boot upon opening? 

    Instead of copy and paste drag the photo to the new event. Or flag it and use the add flagged photos to selected event command
    LN

  • The onDeactivate event handler doesn't work in InDesign CC. Why?

    Hi guys.
    I’m working on a script in Javascript for InDesign CC.
    The big problem is that the onDeactivate event handler doesn’t work.
    Here’s an example that works in InDesign CSx but not in InDesign CC:
    #target indesign
    var w = new Window ("dialog", "Test onDeactivate");
    var et_1 = w.add("edittext", [undefined, undefined, 300, 30], "Lorem ipsum");
    var et_2 = w.add("edittext", [undefined, undefined, 300, 30], "Dolor sit amet");
    var st = w.add("statictext", [undefined, undefined, 300, 30], "CONSOLE:\r\r", {multiline: true});
    et_1.onDeactivate = et_2.onDeactivate = function(){
         st.text = "CONSOLE: I left the field with this text:\r\t«" + this.text +"»"; }
    var b_ok = w.add("button", undefined, "OK");
    w.show();
    The script shows a dialog window with 2 edit text fields: when a field loses the focus (clicking on the other one), the «CONSOLE» shows the text of the old field.
    Adobe, please, fix this issue as soon as possible.
    Thanks.
    Giorgio

    It's a bug, and it has been reported. Please report it yourself, the more reports the better. It's no good asking Adobe in this forum to fix something.
    Peter

  • Repository event handler doesn't work when inserting an xml-doc via ftp

    Hi,
    I want to add a 'schemaLocation'-attribute to an XML-document when I load it in the repository. Therefore, I use the precreate-repository event and created a Repository Event Handler (see code extract below).
    Everything works fine if I type the following code in SQL Plus:
    Declare
    v_return BOOLEAN;
    Begin
    v_return:=DBMS_XDB.createresource('/public/xml/test.xml', XMLType(bfilename('XMLDIR', 'test.xml'),nls_charset_id('AL32UTF8')));
    end;Unfortunately, when I try to insert an XML-document via ftp into the /public/xml folder it doesn´t work as expected and no 'schemaLocation'-attribute is added to the new resource.
    What's the reason for this strange behavior and how can I solve it?
    For your information: I use the Oracle Database 11g Enterprise Edition Release 11.2.0.1.0
    Thank you very much for your help!!!
    Repository Event Handler code extract:_
    create or replace
    PACKAGE BODY schemalocation AS
    PROCEDURE handlePreCreate (eventObject DBMS_XEVENT.XDBRepositoryEvent) AS
    XDBResourceObj DBMS_XDBRESOURCE.XDBResource;
    var XMLType;
    l_return BOOLEAN;
    l_xmldoc dbms_xmldom.DOMDocument;
    l_docelem dbms_xmldom.DOMElement;
    l_attr dbms_xmldom.DOMAttr;
    c1 clob;
    node     dbms_xmldom.DOMNode;
    txid varchar2(100);
    dDoc DBMS_XMLDOM.DOMDocument;
    nlNodeList DBMS_XMLDOM.DOMNodeList;
    BEGIN
    XDBResourceObj := DBMS_XEVENT.getResource(eventObject);
    dbms_lob.createTemporary(c1,TRUE);
    var:=DBMS_XDBRESOURCE.getcontentxml(XDBResourceObj);
    l_xmldoc := dbms_xmldom.newDOMDocument(var);
    l_docelem := DBMS_XMLDOM.getDocumentElement(l_xmldoc);
    ------ add schemaLocation attribute
    l_attr := DBMS_XMLDOM.createAttribute(l_xmldoc, 'xsi:schemaLocation');
    DBMS_XMLDOM.setValue(l_attr, 'urn:iso:std:iso:20022:tech:xsd:sese.023.001.01 http://www.test.com/Testswift.xsd');
    l_attr := DBMS_XMLDOM.setAttributeNode(l_docelem, l_attr);
    DBMS_XMLDOM.WRITETOCLOB(l_xmldoc, c1);
    ------- get the value of the TxId-tag
    dDoc := DBMS_XMLDOM.NEWDOMDOCUMENT(c1);
    nlNodeList := DBMS_XMLDOM.GETELEMENTSBYTAGNAME(dDoc, 'TxId');
    node := DBMS_XMLDOM.ITEM(nlNodeList, 0);
    txid:= dbms_xmldom.getnodevalue(dbms_xmldom.getfirstchild(node));
    l_return:=DBMS_XDB.createresource('/public/ok/'||txid||'.xml', XMLType(c1));
    END;

    Marco,
    Here's an example of the problem :
    create or replace package handle_events
    as
      procedure handlePreCreate(p_event dbms_xevent.XDBRepositoryEvent);
    end;
    create or replace package body handle_events
    is
    procedure handlePreCreate (p_event dbms_xevent.XDBRepositoryEvent)
    is
      XDBResourceObj dbms_xdbresource.XDBResource;
      doc XMLType;
      res boolean;
    begin
      XDBResourceObj := dbms_xevent.getResource(p_event);
      doc := dbms_xdbresource.getContentXML(XDBResourceObj);
      select insertchildxml(
        doc
      , '/root'
      , '@xsi:schemaLocation'
      , 'urn:iso:std:iso:20022:tech:xsd:sese.023.001.01 http://www.test.com/Testswift.xsd'
      , 'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"'
      into doc
      from dual;
      res := dbms_xdb.CreateResource('/public/xml/result.xml', doc);
    end;
    end;
    declare
    res boolean;
    begin
    res := dbms_xdb.CreateFolder('/public');
    res := dbms_xdb.CreateFolder('/public/tmp');
    res := dbms_xdb.CreateFolder('/public/xml');
    end;
    declare
    res            boolean;
    resconfig      xmltype;
    my_schema      varchar2(30) := 'DEV';
    resconfig_path varchar2(300) := '/public/ResConfig.xml';
    resource_path  varchar2(300) := '/public/tmp';
    begin
      resconfig  := xmltype(
    '<ResConfig xmlns="http://xmlns.oracle.com/xdb/XDBResConfig.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/xdb/XDBResConfig.xsd http://xmlns.oracle.com/xdb/XDBResConfig.xsd">
      <event-listeners set-invoker="true">
        <listener>
          <description>My event handler</description>
          <schema>'||my_schema||'</schema>
          <source>HANDLE_EVENTS</source>
          <language>PL/SQL</language>
          <events>
            <Pre-Create/>
          </events>
          <pre-condition>
            <existsNode>
              <XPath>/r:Resource[r:ContentType="text/xml"]</XPath>
              <namespace>xmlns:r="http://xmlns.oracle.com/xdb/XDBResource.xsd"</namespace>
            </existsNode>
          </pre-condition>
        </listener>
      </event-listeners>
      <defaultChildConfig>
        <configuration>
          <path>'||resconfig_path||'</path>
        </configuration>
      </defaultChildConfig>
    </ResConfig>'
      res := dbms_xdb.CreateResource(resconfig_path, resconfig);
      dbms_resconfig.addResConfig(resource_path, resconfig_path, null);
    end;
    /Giving the following input XML file :
    <?xml version="1.0" encoding="utf-8"?>
    <root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>This works :
    SQL> declare
      2    res boolean;
      3  begin
      4    res := dbms_xdb.CreateResource('/public/tmp/test.xml',
      5               xmltype(bfilename('TEST_DIR','test.xml'), nls_charset_id('AL32UTF8')));
      6  end;
      7  /
    PL/SQL procedure successfully completed.
    SQL> select XMLSerialize(document xdburitype('/public/xml/result.xml').getXML()
    as clob indent size = 2)  result
      2  from dual
      3  ;
    RESULT
    <root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
    urn:iso:std:iso:20022:tech:xsd:sese.023.001.01 http://www.test.com/Testswift.xsd
    "/>With the same document loaded via FTP, we get :
    SQL> select XMLSerialize(document xdburitype('/public/xml/result.xml').getXML()
    as clob indent size = 2)  result
      2  from dual
      3  ;
    ERROR:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00283: document encoding is UTF-16-based but default input encoding is not
    Error at line 1
    no rows selectedand the content looks like :
    < ? x m l   v e r s i o n = " 1 . 0 "   e n c o d i n g = " u t f - 8 " ? >
    < r o o t   x m l n s : x s i = " h t t p : / / w w w . w 3 . o r g / 2 0 0 1 / X M L S c h e m a - i n s t a n c e " / >As a workaround, I've found that serializing and re-parsing the document solves the problem :
      select insertchildxml(
        xmltype(doc.getclobval())
      , '/root'
      , '@xsi:schemaLocation'
      , 'urn:iso:std:iso:20022:tech:xsd:sese.023.001.01 http://www.test.com/Testswift.xsd'
      , 'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"'
      into doc
      from dual;
    ...We then get the expected result after FTP transfer :
    SQL> select XMLSerialize(document xdburitype('/public/xml/result.xml').getXML()
    as clob indent size = 2)  result
      2  from dual
      3  ;
    RESULT
    <?xml version="1.0" encoding="UTF-8"?>
    <root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
    urn:iso:std:iso:20022:tech:xsd:sese.023.001.01 http://www.test.com/Testswift.xsd
    "/>The workaround also works for the DOM version presented above.
    Any ideas?

  • ALV Tree event registration doesn't work

    Hello Experts,
    the following is the registration-form which shall register a item-double-click event to my alv-tree-object. when doing the double-click it doesn't open my own methods in the event-handler class but the standard ones and nothing happens further.
    Any ideas?
    Many thanks in advance!
    Tobias
    FORM register_events.
      DATA: lt_events TYPE cntl_simple_events,
            l_event TYPE cntl_simple_event.
      CALL METHOD g_alv_tree->get_registered_events
        IMPORTING
          events = lt_events.
      l_event-eventid = cl_gui_column_tree=>eventid_item_double_click.
      APPEND l_event TO lt_events.
      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.
      CREATE OBJECT event_handler.
      SET HANDLER event_handler->handle_item_double_click FOR g_alv_tree.
    ENDFORM.

    It doesn't matter where I place my double-click. The standard event handling "handle_event" is called.
    Instead of this I would like to have my coding.....
    Changing the cl_gui_alv_tree to cl_gui_column_tree doesn't work since my tree isn't a reference of column_tree but of alv_tree. So I would have to rebuild nearly the entire tree. This cannot be a solution since I guess the double-click item should work anyway.
    What I am wondering furthermore is my button declaration not being displayed. The following is my fieldcatalog declaration:
    FORM create_tree_fc.
      DATA: ls_fc TYPE lvc_s_fcat.
      DATA: lo_descrref   TYPE REF TO cl_abap_typedescr.
      DATA: lo_tableref TYPE REF TO cl_abap_tabledescr.
      DATA: lo_structref TYPE REF TO cl_abap_structdescr.
      FIELD-SYMBOLS: <fs_str> TYPE abap_compdescr.
      lo_tableref ?= cl_abap_tabledescr=>describe_by_data( lt_report_tree ).
      lo_descrref ?= lo_tableref->get_table_line_type( ).
      lo_structref ?= lo_descrref.
      CLEAR gt_fc[].
      LOOP AT lo_structref->components ASSIGNING <fs_str>.
        CLEAR ls_fc.
        ls_fc-fieldname = <fs_str>-name.
        ls_fc-intlen = <fs_str>-length.
        ls_fc-inttype = <fs_str>-type_kind.
        ls_fc-decimals = <fs_str>-decimals.
        CASE <fs_str>-name.
          WHEN 'PROCESS_TYPE'.
            ls_fc-tooltip = 'Process Type'.
            ls_fc-coltext = 'Process Type'.
            ls_fc-emphasize = 'C110'.
            ls_fc-no_sum = 'X'.
            ls_fc-style = cl_gui_column_tree=>item_class_button.
            ls_fc-outputlen = 20.
          WHEN 'SMI_PROJECT'.
            ls_fc-tooltip = 'Project Relation'.
            ls_fc-coltext = 'Project'.
            ls_fc-hotspot = 'X'.
            ls_fc-no_sum = 'X'.
            ls_fc-style = CL_GUI_ALV_GRID=>MC_STYLE_DISABLED.
            ls_fc-outputlen = <fs_str>-length.
          WHEN 'TRORDER_NUMBER'.
            ls_fc-tooltip = 'ID of Transport Request'.
            ls_fc-coltext = 'Transport Request'.
            ls_fc-no_sum = 'X'.
            ls_fc-style = CL_GUI_ALV_GRID=>MC_STYLE_HOTSPOT.
            ls_fc-outputlen = 30.
        ENDCASE.
        APPEND ls_fc TO gt_fc.
      ENDLOOP.
    ENDFORM.
    Edited by: Tobias Fickinger on Jun 10, 2009 9:59 AM
    Edited by: Tobias Fickinger on Jun 10, 2009 10:00 AM
    Edited by: Tobias Fickinger on Jun 10, 2009 10:03 AM

  • Flush Event Queue doesn't work with "Key up"

    Hi,
    probably just a simple thing I am missing here. See the attached VI (including SubVI). In case 1 I fetch the Key Up event for ENTER and issue a Value Change on the Stop Button. This results in a check for the string length and in case it is too short brings up a dialog telling you the ID string is too short and brings you back to the ID entry. Unfortunately - when confirming the dialog with ENTER instead of using the mouse on the button theKey Up event fired again and therefore fetched by the Event Structure.
    So I thought I just flush all events in the queue. To be sure, I put a time value on the flush function which proceeds AFTER the dialog is completed, so the ENTER Key Up should be deleted as well. Bummer is - it doesn't work. Anyone know why?
    I tried as well with the dynamic event, which I unregistered right after the Stop Event is issued in the Key Up case. I then "re"register for the Key Up event at the same time/position as the flush event queue function is positioned now in the VI below. Still no joy.
    What is my mistake? Thanks a lot.
    Solved!
    Go to Solution.
    Attachments:
    Manual_ID_Entry.llb ‏47 KB

    comrade wrote:
    I don't understand 2 things:
    a) Why is the Key up event even fired? It doesn't come from the VI where the event structure resides and to which "Instance" the event is bound (VI->Key up), but from the dialog box (which is a different VI). Unless a calling VI inherits all events from its SubVIs or something like that.
    b) Why isn't the event fired by the button in the dialog box discarded as the flush event queue function is supposed to perform?
    Because you are slow.  Not you personally.  But compared to the computer, you just don't stand a chance.  So you hit the Enter button on the dialog.  That dialog's OK button activates on the key down.  So the dialog is long gone by the time you manage to get your finger off of the Enter key.  In fact, you loop should be back around to be waiting for an event first.  So it is waiting for an event when you finally get your finger off of the button.  Hey, we have a Key Up event!
    Your current checking for the validity of the id is just flat out annoying.  Use the Key Down? event to check for a valid character being entered.  Notice the '?' in my choice of event there?  That means it is a filter event.  This means you can throw away (discard) the character being pressed before the control even sees it.  You could also discard if there are already enough characters (Greater Or Equal, not Equal).
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Tabular form with Popuv LOV doesn't work with onchange event

    Hi all.
    I have a problem with tabular forms, Popuv LOVs and javascript.
    I have created one tabular form, I want to put a value in "my_field" field when a user selects a new value from other field called "my_list", I have this code:
    <script type="text/javascript">
    function putValue(pThis)
        var vRow = pThis.id.substr(pThis.id.indexOf('_')+1);
        html_GetElement('f06_'+vRow).value = '0000';
    </script>and this for Element Attributes:
    onchange="putValue(this);"Everything works well when I choose "Display as Text Field", but if I change this option to "Display as Popup KEY LOV" or "Popup LOV" it doesn't work, I mean "my_field" stays without any value.
    I'm using Oracle Application Express Release 4.0 and Oracle 11g
    Please help.
    Regards.

    Hi Peter.
    Thanks, yes, in fact the position of my column changes, but it doesn't work even with the correct element, I have made a lot of proves and it seems that APEX constructs POPUPS LOVS in a different way and that's why "onchange" does not work.
    With this thread: Re: onchange not work on popup lov for a field on collection I have a half solution, It works for existing rows, but it doesn't for added rows.
    I have solved this problem calling a function that set the onchange event to every row when "ADD ROW" button is pressed, now it works without problems.
    Regards.
    Oscar.

  • [svn:osmf:] 15000: Fix for FM-447 : Adding CuePoint in TemporalFacet event listeners doesn't work

    Revision: 15000
    Revision: 15000
    Author:   [email protected]
    Date:     2010-03-24 14:01:02 -0700 (Wed, 24 Mar 2010)
    Log Message:
    Fix for FM-447 : Adding CuePoint in TemporalFacet event listeners doesn't work
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-447
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/metadata/TimelineMetadata.as

Maybe you are looking for

  • How to change search result list entries?

    Hi together, I'd like to fit the TREX search result list to my own requirements. I've edit the Search Result Renderer Settings, Search Result Layout Set, Search Component Set and the Search Option Set. But that's not enough. 1.) I would like to displ

  • Custom Screen for Z program in HRABAP

    Hi Techies, I want to develop report in HR ABAP which has my own selectins screen fields Company Code and Cost Center and Activity, coz i dont want default selection screen provided by the pnp logical database. How do i go for that screen. Regards. R

  • Material determination Vs Product selection

    Hi What is the difference between Material determination and Product selection ? Regards Mahesh

  • No delivery created & partial delivery postings[Non SAP(FTP) to SAP(idoc)]

    Dear All, When the sales posting(invoice,returns etc) is triggered later in SAP PI/XI it is successful. Once it reached ECC system the idoc's are successfull but the delivery is not created. Please find attached images for your reference. It is basic

  • How Long does it take for a NEW PODCAST to appear in iTunes?

    I was curious if maybe you know the answer to this question- How long does it take for a brand new podcast, once submitted to iTunes, to appear in the podcast section of iTunes? Does it really take 5 days? And, will I receive an email once it's on th