Onchange events when transforming select lists for EXTJS integration

Hi,
We have the folloiwng code that transforms select lists to extjs combo boxes
  var selectfield = Ext.query('select[class!="shuttle"][class!="multiselect"]');
  for (var r = 0; r < selectfield.length; r++) {
    //If there is an onchange event then don't convert as onchange is lost
    //This is used for cascading LOVs so we need to find a way of getting this to work
    if((selectfield[r].onchange == '' || selectfield[r].onchange == null) && ((r>0 && selectfield[r-1].onchange == null) || r==0) && selectfield[r].id != 'apexir_NUM_ROWS') {
      var newselect = new Ext.form.ComboBox({
        //hiddenId: selectfield[r].id,
        //hiddenName: selectfield[r].id,
        id: selectfield[r].id,
        typeAhead: true,
        triggerAction: 'all',
        transform: selectfield[r].id,
        width: selectfield[r].clientWidth+5,
        emptyText:'Please select...',
        forceSelection: true,
        maxHeight: 200,
        disabled: selectfield[r].disabled
  }The code does not convert select boxes that have onchange events as the code above seems to suggest they get lost when transforming. Does anyone know if that is the case, and if not how I amend the code to include the onchange events from the original select lists.
Regards
Paul

Hi Vee,
Thanks for pointing it out -- here at work the only version of IE I have is 6 and I assumed (as usually is the case) it was because of a bug in that specific version. However, I have the all-powerful, (allegedly) standards-compliant IE 9 at home and it behaved exactly the same way!
So you cannot say this is due to an old, non-supported browser. Surely it fits in the bug category then? After all events should not be triggered at random...
Thanks also for the suggestion to fix it. I didn't try it because, in the end, I found out that if I use onchange instead of onblur (in the text field) the problem doesn't occur! onblur would be better, but onchange works fine for what I need.
Thanks
Luis

Similar Messages

  • Open qty errin Selection list For Ref Doc. screen while converting to order

    Hi SAP Gurus,
    For one of my materials, the open quantity is not updating in the Selection list For Ref Doc. screen while converting to sales order.
    Can you please help me?
    Thanks,
    Ketan

    Hi Senthilkumar,
    I really appreciate for your kind Hint of SEL ID.
    I created and assigned new 'Sel Priority' to the SEL ID same as for Routing.
    Now while converting Planned order to Production order system is asking for Reference operation set as there is no such need of Routing as I already mentioned in previous post.
    Regards,

  • Is it possible to change values in pagination select list for a report?

    The values showing up in my pagination select list for a report are 10,15,20,30,50,100,200,500,1000,5000.
    Is it possible to not have this list show the 1000 and 5000 values? I've tried setting various row values in the layout and pagination section of the report, but nothing changes in the select list. Is there a way to change this, or is it set up in a template somewhere that I can change?
    APEX version 3.0
    Thanks

    Figured this one out. Using the P1_ROWS item, added a static LOV with the correct values to override the one APEX was providing. The P1_ROWS item goes in the Number of Rows (Item) field in the layout and pagination section of the report.

  • "Key and Text" values in variable selection list for a field

    Hi,
          we have created the variable for the one of the navigation attributes of the "0customer" field .
          for the customer field in BEX settings we are having "Text" as display.
          for the navigation field in BEX settings we are having "Key" as display.
          while running the reports in the variable selection list for some reports we having both KEY and text for selection and for others only text are displayed,
        we have checked the BEX settings in field and query level there are same.
    Please help us here.

    Check the setting again in the Query level and then maku sure you save it. Come out of the query and then re-open the query and execute, you can see the chages in the output.

  • When I select "Check for updates..."

    Dear Firefox,
    When I select "Check for Updates" the pop up screen simply notes that my system is "Downloading update" but nothing ever happens.
    Please let me know what I can do to fix this.
    Thank you,
    Lee

    You can download the latest Firefox 4 beta version from http://www.mozilla.com/firefox/all-beta.html
    Trash the current Firefox 4.0b7 version and install the latest beta.

  • Why do I get an error page when I select Toolkit for CreateJS? I am using CS6 Flash Pro.

    Why do I get an error page when I select Toolkit for CreateJS? I am using CS6 Flash Pro.

    hello Mac.INXS, please [[Clear the cache - Delete temporary Internet files to fix common website issues|clear the cache]] & [[Delete cookies to remove the information websites have stored on your computer|cookies from mozilla.org]] and then try logging into AMO again.

  • Limit selection list for variables

    Hello Experts.
    Is there a way to limit the selection list for variables?  For example, there are many possible currency values for 0CURRENCY, but I want allow the user to choose only one of these choices USD, EUR, or HKD.  I would rather not do a validation check subsequent to the users making their selection.
    I must use 0CURRENCY rather than copying it to another characteristic and entering only those three keys in master data.
    Any ideas?
    Kind regards,
    Aron
    Edited by: Aron Weaver on Oct 1, 2010 1:08 AM

    If you are using the standard info object which is referring to '0CURRENCY' then it mayn't be possible to restrict the 'F4' list to few currencies in the standard BEx environment. There are couple of options to limit the 'F4' selections using the web template /BSP technology.

  • How to invoke an event when i select one of the items in my JComboBox

    Can any one help me for doing this,i have a combobox in a panel,when i select one item in the combobox some text fields below the combobox need to be disabled,that disabled components vary with the item selected,i try to do this by using event listener but some how i could not get invoke the event,pl some one help me for this,any help would be appreciated.
    Regards.

    The block:
    ivjJComboBox1.addMouseListener(new java.awt.event.MouseAdapter() {
    public void mouseClicked(MouseEvent e) {
    ivjJComboBox1_mouseClicked(e);
    usually should be included in your constructor or init method.
    The method:
    void ivjJComboBox1_mouseClicked(MouseEvent e){
    String s = (String)ivjJComboBox1.getSelectedItem();
    System.out.println(s);
    should be outside your constructor or init method.
    So it should be:
    public class yourClassName extends xxxxx implements xxxxx
    public yourClassName (...) {
    ivjJComboBox1.addMouseListener(new java.awt.event.MouseAdapter() {
    public void mouseClicked(MouseEvent e) {
    ivjJComboBox1_mouseClicked(e);
    void ivjJComboBox1_mouseClicked(MouseEvent e){
    String s = (String)ivjJComboBox1.getSelectedItem();
    System.out.println(s);

  • OnChanger="get_ajax_select_xml(this);" with  select list (query named LOV)

    Hello,
    i used Vikas'example Re: cascading lov for tabular form
    i have a problem with Select list (query based LOV)
    when run tabular form i have the following error:
    report error:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    the number of rows of the Lov are 900
    the display variable is 70 char
    is there any limit?
    Thank in advance
    Costanti

    Leo,
    Thanks for the response, but I don't think you quite understand my problem. If I go to the Column Attributes screen for the group_id field, I have the "Display As" drop down set to "Select List (query based LOV)", not "Select List (named LOV)". This requires that the sql query be written in the "List of values definition" text area below. Within that text area I have the following query:
    SELECT DISPLAY_NAME, GROUP_ID
    FROM APPLICATION_GROUPS
    WHERE APP_ID = ?????
    ORDER BY 1
    The APP_ID that I need to reference is for the current row of data that is being processed. Therefore, I can't use a :PNNN_APP_ID variable, because that field does not exist on the page.
    Hopefully this explains it a little better.
    Thanks,
    Kris

  • RPM Upload/Download Project Data u2013 No Selection list for Application system

    When trying to upload from project or download to project from/to application SAP Project System there is no selection list under the drop down field for Application system. As I understand from the RPM guides, this is the logical system. We have defined the logical systems in IMG. Is there some other configuration we are missing?
    We are using SAP RPM 4.5 (CPR Xrpm 450_700: Support package 0009)
    Any help appreciated

    Hi,
    Have you deleted cache and tried it again.
    Pramod

  • Selection List for Costing Run

    Hi guys
    I vaguely remember that there is a place where I can create a selection list on only the materials that I want to cost in CK40n, but I cant seem to find it any more.
    I tried the CKMATSEL - Create  transaction, but when I go to execute the Selection in CK40n, I dont see what I created in CKMATSEL...
    Is there any other way or am I doing something wrong in the CKMATSEL screen?
    Thank you
    Rukshana

    Hi Rukshana,
    Pls go through the following which may be of help...
    1. If you want to exclude the Materials from a single Costing Run...
    If you want to exclude some Materials from Costing Run, when you select the Materials to be costed in the "Selection Parameters" of Costing Run, press the Arrow button for additional selections, click on "Exclude Single Values" and mention the Materials which you want to exclude from the Costing Run.
    In the selection, you can select all the Plants (Plant 1 to Plant 4). By this, system will exclude those materials which you mentioned from all Plants when you run the Cost Estimate.
    2. If you want to exclude the Materials from being costed on permanent basis...
    Go to MM17 (materials mass maintenance), select the "Fields" tab, "Find" - "NCOST", select that row, press "Execute". Now, select/give all the Materials which you want to exclude from being costed, mention the Plants and "Execute". You will see the list of Materials which you have mentioned and on the right hand side, you will see the column with "NCOST" field. Mark "X" for all materials there.
    This NCOST field is nothing but "Do Not Cost" check box in "Costing1" of Material Master. By this, system will understand that, whenever Cost Run is done, all these materials should be excluded from being costed.
    Srikanth Munnaluri

  • Training and event management: Book Attendee List for Business Event List

    Dear all,
        I know this:
        PV07: book attendee list for business event
        PV08: book attendee for business event list
       Is there a tcode to book an attendee list for a business event list
    Thanks a lot in advance!

    Hi Federico,
    I think.., no. Below are the tcodes available to book attendee,
    PV00 Book attendee for business event
    PV01 Rebook attendee for business event
    PV02 Prebook
    PV03 Replace
    PV04 Cancel
    PV07 Book attendee for list  for Business event
    PV08 Book attendee for business event list.
    Let me know if you found tcode for your requirement.
    Thanks,
    Karunakar

  • Parameter in CASE WHEN in Select list

    Hi. Parameters in case when into a select list why doen't work?
    I've this query:
    SELECT "UNORG"."Unità Organizzativa Vendita" as "Unità Organizzativa Vendita",
    CASE WHEN "Tempo"."Mese" = :MESE THEN "Vendite-Ore Rgc"."Importo Venduto" END as "Importo Venduto Consuntivo AC"
    FROM "SID"."Unità Org. Vendita" "UNORG",
    "SID"."Tempo" "Tempo",
    "SID"."Vendite-Ore Rgc" "Vendite-Ore Rgc",
    "SID"."Budget Vendite-Ore Mese" "Budget Vendite-Ore Mese",
    "SID"."Punti Vendita UFI" "PDV"
    WHERE "PDV"."Azienda" = :AZIENDA
    AND "PDV"."Punto Vendita" = :NEGOZIO
    OBIEE Server returns this error: [nQSError: 46033] Datatype: 25 is not supported.
    Edited by: user12003776 on Apr 22, 2011 11:05 AM

    Hi
    Below is the code in which I'm trying to use "IN" operator in the CASE WHEN statement :
    CASE WHEN Month=1 then Year IN (2009,2010) else 0 end
    Above - (Year and month are of integer datatype, hence i did not use single quotes)
    Thanks

  • Multiple select list for one field in form

    Friends,
    I have a form , which is having many fields. One of the field are day/date. In this field i have to take 3 dropdown lists. like one for date, one for day and another for year. I have created three lov's for the day,date and year but for the field day/date i am able to apply only one lov. Any way so that i can display all the three lov for one field
    example
    day/date: day -- (dropdown list)
    date -- (dropdown list)
    year -- (dropdown list)
    thanks in advance
    adi
    Edited by: Adi's on Feb 16, 2010 11:46 PM
    Edited by: Adi's on Feb 16, 2010 11:47 PM
    Edited by: Adi's on Feb 16, 2010 11:52 PM

    nope, I just gave u an example to combime day , date and year fields in one select list, it does not matter whether they are in one table or multiple table and you dont require to create any tables for this, I assumed your lov for day / date / year are dynamic not static.
    Regards,
    Shijesh

  • Raise event when user select a node or leaf of a recursive tree

    What is the event when user choose a node or leaf of a recursive tree? When I select the tree node / leaf it does not raise the event in OnAction. Thanks!

    Hi,
    TreeNodeType and TreeItemType have ONACTION event assocaited with them. This event gets called when the node or leaf is selected by user. Put a break point in these method, then you'll call to know if they are actually getting called or not.

Maybe you are looking for

  • Memory Problem With 4gb Crucial Ballistix and Asus M4A785TD-V EVO

    motherBoard: ASUS M4A785TD-V EVO bios Version :2005 Video: amd hd5750 Processor: AMD PHENON II X2 550 3.100MHZ Memory: Crucial Modele Memory: blt4g3d1608dt1tx0 Capacity: 4GB greetings to all i have asus m4a785td-v evo mobo. i ve bought 4 gb crucial b

  • AP Payment User Responsbility's Data Group to be assigned for application as Payables or Payments?

    Hi, I am in version R12.1.3 . I have a requirement to create a user who must have access only to create payments in AP module.So when i try to define a responsibility for this payment user there is a data group to be assigned. In this data group bloc

  • FIM MA Export errors. There is an error executing a web service object creation.

    While checking for the permission, we have figured that the Built-In Synchronization account is being deleted by an Expiration Workflow. FIM MA Export errors. There is an error executing a web service object creation. While checking for the permissio

  • Problem with the headphone jack

    I was watching a movie with the headphones in, I put the computer to sleep, pulled the headphones out and put it away. Later that day I went to use it and noticed that the jack for the headphones was lit up red. Sound will NOT work without headphones

  • V4l-dvb development-5 compil errror

    Hi, i try to compil this one, for get some fixes of ivtv and new kernel, using ck kernel i get..   CC [M]  /var/abs/local/yaourtbuild/v4l-dvb/src/v4l-dvb-abd3aac6644e/v4l/bttv-vbi.o   CC [M]  /var/abs/local/yaourtbuild/v4l-dvb/src/v4l-dvb-abd3aac6644