Multiple selection box is not showing is not the values passed to grid?

ColdFusion 8

I've inherited an application and I try to maintain and improve the it hit... clings today.

I have a multiple selection box that does not what to expect.  The values come from a ColdFusion grid, which is based on a database query.

Here is the code for the select - doesn't work - nothing is selected:

< cfselect name = "USER_IDS" multiple = "true" = "below" selected = queryposition query "USER_IDS' = 'ActiveUsersPlus' disabled = value" "disabled #" = "G_USER_WORK_UNIT_SK" display = "G_USER_ID" > "

< / cfselect >

Now if I change the multiple selection of a single select as below - it takes the first element in the list of the fields (from the grill) and selects it in the drop-down menu.

< cfselect name = "USER_IDS" multiple = "false" queryposition "below" selected = query "USER_IDS' = 'ActiveUsersPlus' disabled = value" "disabled #" = "G_USER_WORK_UNIT_SK" display = "G_USER_ID" > "

< / cfselect >

Or if I assign a variable like this and use the code of multiple selection it seems to work as well.

testlist = '22,26'

...

"< name cfselect ="USER_IDS" multiple ="true" ="under"queryposition selected =" "#testlist # ' = 'ActiveUsersPlus' disabled = value query" disabled # "="G_USER_WORK_UNIT_SK"display ="G_USER_ID">

< / cfselect >

I posted "User_IDs" value in the grid and in the part data entry screen to see the values of: 22,26

to make sure it wasn't my problem.

Grids and multiselects need something more?  Any advice on how to fix?

Problem was the bit of javascript for the area of selection.  There is a function for an only select box but not a box selection - this fixed it:

If (theForm.elements [i] .Guy == "select-multiple") {}

selectBox var = theForm.elements [i];

var sbname = selectBox.name;

CPValue = String (eval ('record.data.)) ((' + sbname));

var NotifyArray = cpvalue.split(',');

for (var j = 0; j)< selectbox.length;="" j++)="">

selectBox [j] .selected = false;

}

for (var j = 0; j)< selectbox.length;="" j++)="">

sbvalue = selectBox [j] .value;

for (var k = 0; k)< notifyarray.length;="">

If (sbvalue is {NotifyArray [k])}

selectBox [j] .selected = true;

}

}

}

}

Tags: ColdFusion

Similar Questions

  • scheck selection boxes are not displayed in the window options, nor does the scroll bar - why?

    Firefox is very erratic running. Scrolling is choppy at best. Usually, rocking it and descend is too far or no movement at all.
    Also, the scroll bar is black and there is no visible grab buttons to go up or down. Up and down arrows at the top of the bar are also blacked out.
    Selection boxes do not appear in tools, Options. Therefore, it is very difficult to make the custom choices.
    There is a significant delay after clicking 'OK', 'Cancel' or 'Help' buttons-, in fact, other buttons.
    I have 2 Add-ons 'All-in-one Side Bar' and 'Last Pass', no more.

    If I open firefox in safe mode all these problems disappear. Everything moves smoothly and check boxes appear.

    Have you tried to change the default Firefox theme, if you are using another theme?

    Have you tried disabling hardware acceleration?

    All this is in the article link I posted.

    Find out what steps to follow when the problem occurs in Mode without failure of Firefox, according to your original question and follow the links in the next section of the article.

    See also - https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems

  • How can I do a multiple selection in Enum control or control of the ring or control Combo box

    How can I do a multiple selection in Enum control or control of the ring or control Combo box

    You can not.

    You can use a listbox control.

    An alternative solution is to write the code and each selection, the user gives an enum, for example, can be send to a table and invite the user to continue to select...

  • ADF select several shuttles become read only when the value is

    Hello

    I want to ask about the select oracle ADF that many shuttle.

    Recently, I want to create a shuttle a lot with the pre value is set in the right box, select. When I try to set the value of the shuttle to select several properties. The shuttle many select transformed into an object as input like the image below text

    a.png

    but when I'm not set to select several shuttles it became normal like that

    b.png

    the method that I put in the value property is like that

    public list < BidClassification > getListBidClassificationTaken() {}

    finalClassification = new ArrayList();

    The OperationBinding class method = ADFUtil.getMethodBinding ("retrSupSupplierClassificationFindAllBySupplierId");

    method.getParamsMap () .put ("supplierId", getSelectedSupplier () .getId ());

    List < BidClassification > finalClassification = method.execute () (list < BidClassification >).

    Return finalClassification;

    }

    the method that I use to set the position data is like this

    public list < SelectItem > getListBidClassification() {}

    retval = new ArrayList();

    The OperationBinding class method = ADFUtil.getMethodBinding ("retrBidClassificationFindAll");

    listBidClassification = (list < BidClassification >) method.execute ();

    for (BidClassification bc: listBidClassification) {}

    SelectItem item = new SelectItem();

    item.setLabel (bc.getId ());

    item.setValue (bc);

    retval. Add (Item);

    }

    Return retval;

    }

    I have already replace the method equal in the BidClassification class so there will be no more no problem

    Header 1

    < af:selectManyShuttle label = 'Grading' id = 'sms1"binding =" #{backingBeanScope.backing_vendorEdit.sms1} ' "

    leadingHeader = 'Ranking Master' trailingHeader = 'Grading of provider' >

    < f: selectItems value = "#{backingBeanScope.backing_vendorEdit.listBidClassification}" id = "si1" "

    Binding="#{backingBeanScope.backing_vendorEdit.SI1}"/ >

    < / af:selectManyShuttle >

    This the jsff xml where I put the shuttle several select no defined value

    < af:selectManyShuttle label = 'Grading' id = 'sms1"binding =" #{backingBeanScope.backing_vendorEdit.sms1} ' "

    leadingHeader = 'Ranking Master' trailingHeader = 'ranking of provider.

    value = "#{backingBeanScope.backing_vendorEdit.listBidClassificationTaken}" >

    < f: selectItems value = "#{backingBeanScope.backing_vendorEdit.listBidClassification}" id = "si1" "

    Binding="#{backingBeanScope.backing_vendorEdit.SI1}"/ >

    < / af:selectManyShuttle >

    Select this the jsff xml where I put the shuttle well with the value

    someone has an idea of what's going on with this code? ___. thx a lot btw

    @

    Yeay! I already fix it!

    BTW who behave the same as me.

    You must make a note on the setter and the Get accessor of the variable list you use

    * in my case, I don't implement the setter method and the list setter method

    THX.

  • Multiple selection works only not on the list box properties/Option screen

    When I select a multiple selection in the list box properties/Options tab, I get no difference from the default value of single selection. Still, he points out that the last of multiple entries (as a single room) and displays only the last entry. Is there anything else I need to do?

    Thanks for your help.

    To select multiple items, hold the CTRL key when you click additional items.

  • Multiple selection works only not active based on

    Hello

    I tried to create an asset base with a multiple selection, but it strives to 7.6, but not in 11g. Not able to select multiple values from the drop down.

    The default tag is not is also reflected. Here is the code I use.

    < NAME of ASSET = 'Changes' DESCRIPTION = 'Changes' MARKERTEXT = "' * ' PROCESSOR ="5.0"DEFDIR =" / apps/shared/storage/ChangeSet_Test1 ' RENDERUSINGTEMPLATE = 'no' > "

    PROPERTIES of <>

    < PROPERTY NAME = "AssetTypes" DESCRIPTION = "AssetTypes" >

    < STORAGE TYPE = "VARCHAR" LENGTH = "30" / >

    < TYPE INPUTFORM = "SELECT" MULTIPLE= 'YES' SOURCETYPE = "STRING" VALUES = "Left, Right and Center" DEFAULT= "" OPTIONDESCRIPTIONS = "Left, centered, right" / > "

    < SEARCHFORM DESCRIPTION = "AssetTypes updated / created" TYPE = "SELECT" SOURCETYPE = "STRING" VALUES = "Left, Right and Center" OPTIONDESCRIPTIONS = "Left, centered, right" / >

    < / PROPERTY >

    < / PROPERTIES >

    < / ASSETS >

    Concerning

    Bishnu

    Hello BishnuSatpathy,

    This is a known bug prior 11.1.1.8 patch 4.

    For more information, please see note 1587776.1

    I suggest that you upgrade your version to 11.1.1.8 patch 5 to solve this problem, or you can also try the workaround mentioned in the note

    1 - Open the [PATH_TO_SHARED_FOLDER]/elements/OpenMarket/AssetMaker/BuildEditSelect.xml file

    2. remove the dojoType = "the attribute fw.dijit.UISimpleSelect" lines 67 and 115 "

    3 - restart the application.

    4. multiple items can be selected after you make this change.

    BTW, do not forget to add SIZE = "4" in the INPUTFORM, otherwise you get a narrow selection box.

    Concerning

    David

  • Selection tool is not the tail with images when you drag

    So I had this frustrating thing for a while. When I put my selection tool a video file at first to move to the side or another layer and as soon as, like moving the selection tool a bit, he places automatically the video one layer under my selection tool... So I have to move the selection up to a length of layers tool to adjust it to the left and right on the timeline... Just a fight. I wish that the selection tool has not changed the layer of videos when I moved it left and right... Just stick with the images that I am setting on the im adjustment layer. Check out the video and you will understand what im getting. The selection tool shows a strange looking symbol with an arrow pointing down so I guess it's just a special feature that was accidentally checked the. You just don't know where I can go back to normal. Thank you

    Video:

    Went on the Chat with Adobe and they solved the problem via remote access.

    First on erase my personalized workspaces closed first pro. Then went to my "documents" (I have a mac) 'Adobe' and then click 'Premiere Pro' and moved three files named "6.0" "9.0" and "10.0" in a new folder, that they named "Od." Finally they opened back first. When the box came to put everything in place, they went up to the top of the window and deselected "import the project workspace" under "workspaces". I have opened a project and it fixed the problem. I had to make a new workspace and change some shortcuts custom back, but other that that, it was back to normal.

  • selected song is not the song that plays

    On some, not all, my songs I select the one is not the one who plays.  It will play music from the same album, but not the title that shows.   First I thought that it would be something in the cd that I burned.  But it happened again.  Only a few albums.  Clues?

    What I saw with Windows Media Player.

    What Internet extracted metadata for your song is a different version of the album, or the data is 'off' track number in the database of resources.

    To resolve this problem, open Windows Media Player and select the Library tab.  Make a right-click on the album of your choice, if you select Find Album Info.  There will be a delay of a few seconds.  On this screen, you can select the appropriate album, or click Edit to fix the track data.

    Once the album is corrected, remove the album from the Sansa, and then transfer the corrected on the Player version.

    µsansa

  • Single bed of field box stressed not the other fields that are enabled.

    Hi all

    I'm having a problem with a form of Oracle that I work on.

    I have a datablock called PARTS_ADDED_POPUP. It has two fields of text box called PART_NBR and PART_SERL, and a field called STATUS_FLAG check box.

    After all the required information is filled and you click on the button to update the database with the new information, which is necessary. It will update the part_nbr and the part_serl that is currently selected after you have selected it in the datablock but it will not update the other part_nbr and part_serl that you have selected.

    For example:

    Part number 12345 has
    Part Serl ABC1
    Status indicator = ' Y'(NOT Highlighted)

    Part number 12345 has
    Part Serl DEF2
    Status indicator = ' Y '(est surlignée par datablock)

    It will update only the other because it is currently highlighted in the datablock.

    I use this code in my form program units section. Excuse my mess in the code because I was trying to see what data is taken.

    If: detail.pm_man_div_code = 'Y' then
    GO_BLOCK ('PARTS_ADDED_POPUP');
    premier_enregistrement;
    loop
    IF: parts_added_popup.status_flag = 'Y' then
    SELECT HERE!

    Here Update statement

    cos_quantity: = '-1';
    () Subr_Inv
    : detail.sl_stock_loc_no, - ibup_from_stock_loc
    : parts_added_popup.pwd_part_nbr, - ibup_from_part_nbr
    'N', - ibup_from_status_flag
    condition, - ibup_from_condition
    cos_quantity);
    cos_quantity: = '1';
    () Subr_Inv
    : issue.cos_stocking_loc, - ibup_to_stock_loc
    : parts_added_popup.pwd_part_nbr, - ibup_to_part_nbr
    'N', - ibup_to_status_flag
    condition, - ibup_to_condition
    cos_quantity);

    When the output: system.last_record = "TRUE";
    next_record;
    on the other
    When the output: system.last_record = "TRUE";
    next_record;
    end if;
    end loop;
    end if;

    I've read that other post / the Forum here on the boxes and that's how I got my code as to what it is right now. Just try to find a way so that he can read through all of the records on this datablock.

    I hope I can get an answer before the end of the day today. If you have any questions please let me know.

    Any help, suggestions are appreciated.

    Thank you
    Wayne

    Published by: Wayne Major on August 28, 2009 07:06

    Had to make generic now... so I didn't hurt, but it's the way I did in the code

    You said: "you click on the button to update the database with the new information, which is necessary."
    Place the message in this key to view: system.cursor_block.

    If this is not the PARTS_ADDED_POPUP you can add GO_BLOCK ('PARTS_ADDED_POPUP') to your code or to modify the property of this button mouse navigate = No

  • Not the value box

    I have an IRR with a checkbox control that appears above the search bar. I check the box whose list of values is ' STATIC2:; Y ". Then I press the submit button. In developer mode, I click Sessions to display the value of the checkbox. The value of the element is null, and the status is 'I '. Anyone have any ideas why? Is this a problem of SORTING?

    Thank you!

    Kenkrug,

    Go to the SORTING button does not have the page. But because of this fact, the ApEx team added a space in the attributes of interactive report called advanced attributes. You will find 'items to submit Page. Enter the name of your box here.

    Kind regards
    Dan

    http://danielmcghan.us
    http://sourceforge.NET/projects/tapigen

  • Is it possible to resize the content of at the same time multiple bounding boxes by using number fields in the toolbar?

    I'musing cs6 and need to resize an image and two text boxes on a specific pixel width.

    I try to select all the boxes and punching in 960 px in the resizing of the toolbar field, but only the bounding boxes and not their content get resized...

    Use the field of horizontal scaling (and include units) rather than the field width.

  • is it possible to print the formulas (and not the values) in numbers

    is it possible to print the tables with formulas (not with values)?

    N °

  • Ring control output is the name of the item and not the value

    Hello. I'm new to Labview. I'm experimenting with labview and create just simple VI to learn more about the software. I placed a control of the ring and attached an indicator to this control of the ring. I found that the object of a control ring to select an element and an output value. For example, I placed 3 items in the properties of the ring (red, blue, yellow) and given the value of these items 1,2,3. But when I run the VI and select blue, I was expecting the indicator attached to the control to read 2, but on the contrary, he says 'Blue' (even for other items). What I'm misunderstanding here or to hurt? I've also attached a screenshot.

    Your meter is another ring that has the same pair name / value, so it's going to see the name associated with the value.  Remove the ring indicator and just drag in an ordinary digital indicator.  Then, it will show you the value.

  • Dynamic action, you see is not the value of session

    Hi all

    I have a small question.

    My case: a person does not have more than 160 hours of work, but this should not be a restriction, but rather a warning.

    My solution:

    Create a dynamic action on a mouse button press which gives a confirmation and if you want to keep a page submit.

    That this dynamic action is a condition that a variable is greater than 160 hours.

    The problem with this method is that it does not work on the first insertion. The validation is not made that the item is null and no hours briefed.

    Option2:

    Create a hidden item to_much_hours.

    Create a dynamic action on hours of work point lose focus that defines the to_much_hours element hidden with the value true.

    Create a dynamic action on a mouse button press which gives a confirmation and if you want to keep a page submit.

    That this dynamic action has a condition that point to_much_hours = true.

    The problem with this method is that it only works when the page submitted. I mean, it's when I try to present awarded more than hours, can I still do it freely.

    But if I try to send more hours and another field is filled in wrong and a validation error is displayed. On the next try the popup of conformation appears.

    Can U help me?

    Raoul

    Hi Raoul,.

    Replace well confirmed by a piece of Javascript code.

    {if (($('#myitem').) (Val()>160)}

    var r = confirm ("hours high are you sure?");

    If (r is true)

    {

    Apex. Submit ('SAVE');

    }

    }

    on the other

    {

    Apex. Submit ('SAVE');

    }

    I'd say it's something like that, there might be errors because I couldn't test. Check the console for errors if it does not work or make an example to apex.oracle.com and we can help you more.

  • Fields hide APEX 4.1 show based on the value of the checkbox/radio

    I'm trying successfully, hide and show fields based on the value of a selected checkbox.  I use a dynamic action, but it does not work.

    I followed the example in the is Oracle Apex 4 enable the following AJAX features? (IE without the written Javascript dev) - stack overflow

    I even tried an option button, but it did not work.  I can not uncheck the option button.  What I am doing wrong?  Thanks for any help you can provide.

    Hello

    For example, the point of view refer Packaged application > application sample database > page 11

    Kind regards.

    GO

Maybe you are looking for

  • Sierra OSX and bamboo mat

    Hello I upgraded my iMac to Sierra, and I can t use my bamboo pad because the drivers are not compatible. Do you know if wacom has released a new version of the driver for Sierra or have you any other suggestions? Thank you

  • Go previous/next navigation of IOS 10 e-mail feature

    Update IOS 10 has removed the navigation in email feature, so that the use of the iPad or iPhone vertically allows more to pass to other emails without steps to return to the Inbox, for example and selecting another e-mail to read. This is a feature

  • No stereo mix with Satellite T110

    I bought a Satellite T110 (Win7). There is no option of stereo mix with the recording devices. I scored see the disabled and disconnected devices. I've updated the driver conexant (4.98.16.61). Nothing helps. Still no stereo mix option. I tried to co

  • Satellite L350-warning to the load in place

    In the meantime my lappy load up, I get a WARNING saying:"This application has requested the execution to terminate in an unusual way. For more information, contact the application support team!

  • Tecra Z50-A-14 t - bad connection WiFi signal

    In short. Absolutely the same problem with my new Tecra.Stable connection by cable. Bad connection same 3 5 meters from the router. If the distance is longer, or I use the laptop in another room sometimes it s no link at all.The card is Intel (R) Dua