How to show the selected item in a drop-down box......

hi,
i m using the following code for selecting from the drop-down box...
<html:select property="lddate" style="width:160">
<html:options collection="load_dt" name="AlmCurrencyRiskAnalysisBO" property="load_dt" labelProperty="load_dt"/>
</html:select>
but what happng when i m select any date from the dropdown box it does not show that date. it only shows the last entry date in the load_dt arraylist.
i m trying to implement this on a jsp page..can anyone plz tell me what shuld i do to show selected date...plzz help..its vry urgent.........

Vini,
He seems to be using Struts not ADF Faces.
Seems, you have given list to to property and labelProperty, Can you re-check these properties?
Sireesha

Similar Messages

  • How to get th selected value of a Drop Down Box

    hi,
    i have a drop down box with two items. each item contains a text and a value.
    i tried to get the actual value of a dropdown box but i get the value of the first item.
    in the change event of a dropdown box i entered the following code:
    app.alert(this.boundItem("text of an item"));
    this messagebox shows everytime the value of fist item in my drop down box.
    any idea?
    thanks

    Make sure you use xfa.event.change to get the correct value from the change event on the drop-down listbox
    I have the following
    xfa.host.messageBox("Data Value is " + this.boundItem(xfa.event.change));
    on the change event (javascript) of a dropdown list box and it returns me the correct value

  • How to find the selected item in alv grid or table control

    can any one tell me please
    how to find the selected item in alv grid or table control

    In table control, If you goto screen painter and goto table control properties ( f2 ), there is one check-box w/selColumn check that and give column name. Then add that column to your internal table.
    IN PAI
      LOOP AT it_tkhdr.
        FIELD it_tkhdr-sel_row
          MODULE tab_tkhdr_mark ON REQUEST.
      ENDLOOP.
    MODULE tab_tkhdr_mark INPUT.
      MODIFY it_tkhdr INDEX tc_tkhdr-current_line.
    ENDMODULE.                 " tab_tkhdr_mark  INPUT
    here it_TKHDR is internal table sel_row is field for selection
    After that, you can loop at it_tkhdr where sel_row is 'X' to get selected rows.
    regards,
    Gagan

  • How can I go BACK to the site I was at, say, 5 site previous or forward without hitting the BACK arrow 5 times? The previous version had a drop down box with a list of previous sites I could click on.

    It can take a while to go back by hitting the back arrow again and again. The previous version had a drop down box that listed nine or ten previous URLs. This allowed me to pick out which one I wanted by clicking on that URL. Version 4 doesn't have this feature or, if it does, I cannot find it. Is this capability on Version 4, and if so, how can I find it?

    You can get the drop down list by either right-clicking on the back/forward buttons, or holding down the left button until the list appears.

  • How to get the selected items from listbox

    Regarding listbox i have two questions
    1) I want to get the selected items as per the order in which ihave selected.Presently i'm getting in the ascending order.For example after selcting the 1,2,6 if i select 3 then its giving 1,2,3,6.But i want it in the order 1,2,6,3
    2)I want to select items from a single list box to many other listboxes.(ie) my first selection should goto first,second one to the second listbox and like this.How should i write the logic.
    please give me a suggestion.

    In order to have the selected items line up in accordance to the selection order, please do it one at a time. (That's the limit for that VI)
    If you need more than that (i.e. to regconize which item clicked first and which one comes later), you may have to figure it out ya
    Wish you good luck. Perhaps, someone else has a already made vi.
    Cheers!
    ian.f
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com

  • How to check the selected items of a selectManyListbox in doDML of an EO ?

    Hello,
    I have a VO based on en EO. During the doDML(UPDATE) of that EO, I would like to check what items of a af:selectManyListbox have been selected.
    How could I get the checked items in the selectManyListbox (which belongs to the ViewController) in the doDML method of an EO (which belongs to the Model)?
    Many thanks

    Hello John,
    I know I cannot access the component directly. This is why I asked my question.
    The real case is rather complex and long to be copied and pasted here.
    Let me simplify it without being too generic.
    The VO is based on a hierarchical SQL query. All its EO attributes are transient. This VO is shown as a Tree in the page.
    Each node of the Tree has a checkBox. During commit (doDML() of the EO to be precise), for each checked node I need to access the selected items of a selectManyListbox in some proper way to perform further operations on the DB (no matter what now). The selectManyListbox is based on a second VO. As you may understand, the problem is that from the EO I don't have a direct access to the selectManyListbox. Also, as far as I know, the VO the selectManuListBox is based on does not have any informations about the selected elements, since the checkBox in the list cannot be associated to the VO. Basically I cannot know what elements have been choosen.
    I hope the problem is clear.

  • How to read the selected value of a dropdown list box

    Hello,
    I have 2 custom fields which are of type dropdown list on Accounts(CRMM_ACCOUNT) PCUI application details tab.I need to read the selected value of first dropdown list item,based on that second dropdown list will be populated.
    I know where to populate the dropdown list box,it is in FILL_DROPDOWN_LISTBOX.
    I dont know how to trap the selection made on dropdown list.
    PLease guide me on how to trap the dropdown list field selection value.
    Thanks in advance.
    Thirumala.

    Hello,
    Check what is done in standard for the fielf REGION which is inked to the country.
    Otherwise, you can do the following :
    - in field group customizing, for field 1, flag the 'send request' flag. So, when you change the value in this field via the dropdown, the MAC methods are immediately called.
    - Put the new value in a global variable (GV).
    - in the fill_dropdown_listbox method, get the value from this GV and based on it, filter the values for the dropdown of field 2.
    Hope this will help you,
    Regards,
    Frederic

  • How can we get a value in a drop down box without refreshing the page

    In my application i am having 14 drop down boxes. On selcting a particular value in a drop down box i am doing its corresponding functionality. I would like to get these values without refreshing the page each and every time i select a text box, Is it possible to get these values without refreshing the page each and every time.
    Raghu

    There is a new hype going on called AJAX. It is either that, or dumping a lot of information in javascript arrays and reading the information from there when you make selections. I would choose AJAX.

  • How do i change the backgrond color of a drop down box.

    I'm creating a form which has a colored background and a drop down box with 5 choices.  The problem is the font color in the drop down box is white and so is the background color of the drop down box so the selections are not visible unless you scroll over them.  I would like the background of the drop down box to match the background of the form. 
    Also, can the font size of a selection in a drop down box be different then what is displayed.  The font is set to 35 so it's huge when displayed in the drop down box.  It would be nice if the selections were displayed in the drop down box in size 10 font but displayed on the form once selected as size 35.
    Thanks!
    Mike

    You can set the background colour with (in formcalc):
    $.fillColor = "5,5,5" // obviously changing the numbers to the RGB colour you want
    or if it is not going to change just set it in Border tab under Background fill.
    For the size of the font - set the dropdown box to size 10 font and then in the exit event of the dropdown list put (in formcalc):
    $.font.size = "35pt"

  • Customizing Drop Downs, Selection Widths larger than drop down box.

    I have a drop down menu that needs to be a certain width and, in the end, needs to contain a 5 digit value. But, that value is bound to a description, and I want the users to be able to select based on description.
    It's a data drop down, so it has the premade Javascript already and it has display and value bindings to an SQL database, so most of it is set up already, I just need two things:
    How can the selection list that appears be larger than the actual drop down box, so that it accomodates the descriptions instead of the numeric values?
    Can I cause the box to fill with the "value" instead of the "display text" after the description selection has been made?

    The width of the DD is set at design time. Not sure if you can change the width after the form has been rendered. If you can it will be complicated to cycle through each item in the list to get the right length.
    You can have the DropDown display description but submit or report the numeric values. Once that is set it cannot be changed. You can get either value back programatically but once it is set you cannte change it dynamically.

  • Multiple select options in 1 drop down box?

    Hi,
    I have created a form that works perfectly except for the fact that I need to provide multiple select options in the 1 drop down box; for example, I'm asking what product the customer is interested in and his answer could be multiple items such as Soap, Sanitizer, Hand Towels, Face Cloths etc...
    At the moment, the customer can only select 1 item not multiple.
    Is this possible?
    Thanks in advance for the help!

    Hi,
    It is not possible to allow the user to select multiple items in a dropdown list.
    You could use a list box, which does allow multiple selections.
    Good luck,
    Niall
    Assure Dynamics

  • AppleScript how to use "get" for field information and drop-down boxes?

    Hi all,
    First post.
    Looking to use the "get" function or similar for getting information in a list or from a drop-down box or a field.
    Example, you open keychain, open the info. for a cert and want to read the currently selected trust setting for "When using this certificate" drop-down.
    Or, you want to check the Common Name field under details.
    How would I return these specific values?
    Thank you,
    -b

    The exact question being asked here: http://forum.soft32.com/mac/select-table-row-ftopict101735.html
    But, that doesn't work with the latest AppleScript.

  • Third party Certificate not showing up in SQL configuration manager drop down box

    Hi,
    I have an SQL instance that needs to use a third party SSL certificate for all communications to that SQL instance. I have installed my third party certificate via MMC and it is showing under the Personal Folder.
    However, when i go into the SQL configuration manager and right click the instance name > Properties > Certificates, it is not showing in the drop down box.
    I am currently using MS SQL Server 2008 R2, which is installed on Windows Server 2012. 

    Hi,
    If the certificate cannot be used for SQL Server and hence will not be visible in SQL Configuration manager. Check the validity of the installed certificate. It may not has the correct DNS name.
    I suggest you request a new third party certificate from the vendor with the correct DNS name. Install it on SQL Server environment, then you should see certificate form the configuration manager dropdown box.
    Thanks.
    Tracy Cai
    TechNet Community Support

  • How to show the field Item foreign name in Inventory Audit Report

    Hi
    I can't find the field Item foreign name showing in Inventory Audit Report.I want to link with the table OITM in PDL in order to show Item foreign name in paper report,but whatever I do, it seems doesn't work.
    plz tell me how  to do .thx.
    Edited by: Kam on Mar 13, 2009 10:37 AM

    ALD - Advance Layout Designer
    QLD - Query Print Layout Designer
    You could search the forum for the links to those two tools.
    Thanks,
    Gordon

  • How to get the selected item of a ListBox if it's contents are binded data? (Please read)

    So, I am making an application in which binds data from a WebClient to a ListBox. Thus, it is needed to understand that I did not create this data, it is from a Web API. So my goal is to be able to click on any of the items in the list box(which are binded
    from a web API) and open a pop-up to display more data binded from that specific area.
    Example:
    The data has been loaded and I click on the 2nd item, well this item is a Metallica concert located in Russia blah blah.. ok, so I press it, it opens a pop up with more info like the date, location, etc...
    Info:
    I am binding the things in the lost box from and "events" statement, and I want the data in the list box in the pop up to display the selected child item, "event".
    Zack Bowling

    So are you storing that 'more info data' along with main data(i.e. that metallica concert etc.) somewhere in a List/observableCollection/database etc, if yes then probably it can be fetched directly from that collection. 
    e.g.
    private void listBox_Tap(object sender, System.Windows.Input.GestureEventArgs e)
    var Itemobj = (listboxname.SelectedItem) as ObjectClassname; string datevalue = Itemobj.date; string location = Itemobj.location;
    //so using Itemobj you can fetch the properties you want as stored in ObjectClassname.
    // Here ObjectClassname is the name of class storing the properties(setter-getter) for the parsed data.
    http://developer.nokia.com/community/wiki/Using_Crypto%2B%2B_library_with_Windows_Phone_8

Maybe you are looking for

  • How to know if a element exists in XML

    I need to know if a particular tag name is present in the XML or not.Which method of DOM api I should implement?

  • Saving a PDF form

    How do I save a PDF form that I've filled out online, with the information in the form fields?  I have Adobe Acrobat 7.0 Standard and recently updated to Adobe Reader 9.  With the previous version of Adobe Reader that I had, I could save the complete

  • Retrieve the fields name of a table

    HI, I need to write a loop to get the name of each fields in a table. I nedd something like for each field.fieldname do something thanks, Mandana

  • Can't separate raw files from jpegs in my ipad iphoto...

    i recently purchased iphoto for my ipad but i cannot separate raw files from jpegs. i can see them all in my imac and save all files properly, but then i would like to erase raw files and keep only jpegs in my ipad but cannot find how to do it! any h

  • 2.1 EA1/EA2/RC1: Case change quirk from Formatter

    Hi, I love how the editors react to the automatic case change (as defined in the Formatter, not the button in the worksheet), but unfortunately I get its benefits less than half the time. The problem is the formatter only kicks in after pressing ente