Unable to view list in drop down menu - JSTL - urgent view requires Pls

Hello,
I have the following code in my controller: Spring Framework, Hibernate with DAO is used to persist objects to DB.
view plaincopy to clipboardprint?
if((usacs.getRole().equals("salesperson")) && (usacs.getUsername().equals("sp")) && (usacs.getPassword().equals("sp")))
session.setAttribute("role", role);
myModel.put("useraccount", usacs);
session.setAttribute("useraccount", usacs);
List<UserAccount> cust = uads.getPersonsByRole("customer");
myModel.put("custList", cust);
return new ModelAndView("sploginp1", "sploginp1", myModel);
I am putting the user name and the list of person of role type customer into the model, myModel.
When I debug, I am able to see the customer names in custList.
But the names wont appear on screen in the drop down. Could someone please throw some light. I have been breaking my head for the last 16hrs on this.
This is my JSP code:
view plaincopy to clipboardprint?
Choose Customer to serve:
<select name="customer" >
<c:forEach items="${splogin1.custList}" var="c">
<option value="${c.userid}"><c:out value="${c.username}"/></option>
</c:forEach>
</select>
It shows me a empty drop down with no values in it.
This program, is able to fetch the data from database and populate the model with it. In debug mode , as mentioned earlier, I can see the customers names but i dont see them in my JSP page.
Can someone please help.
Thank You.

Yes, meant to pop that in the original post, Had a look in the per-location element. Nothing there either! It's disappeared from the site, but as I say a legacy Hyperlink stored in favourites
still brings it out - I can edit the page when I get there etc...
Apreciate you assistance BTW :-)

Similar Messages

  • How to import excel list into drop down menu in acrobat pro DC

    Does anyone know if an excel list of 527 items can be imported into a drop down menu in adobe acrobat DC? I am on a mac v10.10.

    I would convert the Excel worksheet into a tab delimited file. Edit that file in a text editor, not Word, into a list that meets the formatting for the array for the setItems. method. Then add the code to use that array to set the items for the drop down field. So you have something like:
    var MyItems = new Array("One", "Two", "Three");
    this.getField("Dropdown1").setItems(MyItems);
    You can then cut and paste this into the JavaScript console, highlight text and execute the text. Or cut and paste the code into a document level JavaScript.

  • HT1766 how to find more backups than are listed in drop down menu

    is there a way to find more than than the five back ups listed on the drop down menu?

    If not listed, then there are none available for your phone.

  • Need help with Drop Down Menu _ URGENT!!

    Hello -
    I'm new to Dreamweaver. I actually have an old version
    (Dreamweaver MX 2004).
    I'm updating a website for work and this needs to be done as
    soon as possible so I'd appreciate if anyone can be so kind as to
    shed light on ANYTHING. =/
    This is what I need:
    I need a drop down menu; when a selection is chosen, I need
    information regarding that selection to appear on the bottom of the
    page. (I am working off an Excel sheet - it has list of service
    descriptions along w/ the unit price, frequency & other fields.
    So If I chose "database hosting" off the drop down list,
    information would be generated (ie. it's corresponding unit price,
    frequencies, etc.)
    I've attached an example of a code but I cannot use that code
    (which has JavaScript) to tweak what I need exactly.
    I am VERY new to this so if anybody can help be out I would
    GREATLY appreciate it.
    Thanks!!

    >I buy all their stuff as it
    > is excellent.
    Double Ditto!
    Walt
    "Paul Gillard" <[email protected]> wrote in
    message
    news:gedcoi$d65$[email protected]..
    > Hi
    > To be honest, the very best thing you can do is to get
    hold of a DW
    > extension
    > from
    http://www.projectseven.com
    and then you will be able to have a
    > completely
    > editable 'easy to implement' drop-down menu system! I
    buy all their stuff
    > as it
    > is excellent.
    >
    > Cheers
    > Paul
    >

  • How can i get a drop down menu or check list control

    i want to give the user a choice between 7 options on the front panel. i want either a check list or drop down menu.thanks

    You can use any of the ring controls to generate a drop down list. The ring controls are found on the Controls >> Ring & Enum palette. You program the drop down items the same way with any of these controls. Type the first drop down item on the control. Right click on the control and select "add item after". The controls text field will blank out and you can enter your second item. Repeat for every item on the list you need to generate. After you are done entering items, click on the control with the application tool and you will see a drop down menu of all the items you entered.

  • Can't find "Libraries" under Windows drop down menu in Adobe Illustrator CC on Mac?

    I was searching forums to solve my issue (as stated in the subject) but could not figure out why I am unable to see "libraries" on my freshly updated Illustrator CC w/ Creative Cloud. I am attempting to use an image captured in Adobe Shape but am unable to because the windows drop-down menu does not show libraries.
    I was wondering if anyone was ever able to help someone solve there issues with this? Any help would be much appreciated.

    Hi simonkirk2012,
    You need to install Illustrator CC2014 which is version 18. You can log off from creative cloud Desktop app and login back and check do you have any option to install AI CC2014. Also please check your operating system meets the requirements for CC2014 version.
    System requirements | Illustrator
    Regards,
    Nikhil Gupta

  • How to Make a Non-Spry Drop Down Menu Bar?

    In Dreamweaver CS6, I'm building a Fluid Grid website. I'm trying to make a simple menu bar with 2 submenu items and 2 subsubmenu items. I was using Spry but found out that Spry is dead. So what do I use instead?

    First of all, if you are in a hurry, Project VII's Pop Menu Magic 3 is a great choice. Since it's a Dreamweaver plugin, making navigation is a snap. Just click on the PMM icon and start making.
    One does not need CSS3 for a drop-down menu structure—the necessary requirement to talk to a web browser is in CSS2. Also you do not need to load your website with jQuery—though I don't want to come across as "anti-jQuery."
    Here is a link to a complete tutorial on pure CSS drop-down navigation. There are dozens of others.
    The real secret is using position:relative, then position:absolute for the drop-down and hiding it by positioning it off-screen when not in use. This tutorial also uses some CSS3 for tablets and cell phones, though it is not required for desktops.
    You can take this a step further by hiding the entire navigation structure (and then revealing it) for cell phones with this tutorial. This will allow you to construct navigation for your website so that it will work for all devices.
    Please note, no jQuery is necessary in either of these tutorials.
    -Mark

  • I want to name individual photos in the album but I am unable to select view sort in the drop down menu How can I overcome this?

    I want to name individual photos in the album but I am unable to select view>sort in the drop down menu How can I overcome this?

    Great to hear, but what was the solution?

  • Unable to view drop down menu

    Apple support was just able to break the code on my inability to view the drop down menu bar using my mac mini.  Here is the fix:
    1.  This will happen when using TVs instead of a computer monitor. 
    2.  Go to the Systems Preference App, and open it. 
    3.  Open the Display Icon under hardware.
    4.  Slide the underscan bar (in the direction of "more") to the right
    5.  Guess what appears at the top?  The missing drop down menu.
    Quick fix to a real frustrating problem.  Thanks to Clint at Apple Support to know how to fix this in very little time. 

    Hello,
    1. Save the Data Model and exit from data model editor to Catalog.
    2. Edit again the Data Model and now you should be able to view the parameters.
    Because the Parameters were just created, are not loaded instantly so you need to save and edit again your data model.
    Regards,
    Liviu

  • How can I locate the drop down menu to select thumbnails for viewing my photos?

    I am using Microsoft Windows Vista. I select Files> Get photos and Videos> From Files and Folders.  I select my photos and In my views I have a choice of different size icons, list, details and tiles.  The icons are a flower image. When I select an image to view it only appears as an extra large icon on the middle right side of the moniter.  I would like to view the thumbnail of the photo bfore I bring to my organizer.  The drop down menu doesn't have a choice for thumbnail.  

    Perhaps I need to supply more details.  I am using PSE9.  I haven't any problem importing the images into the Organizer as I just select the Icons and select "Get Media" or "Open" and they transfer over to the Organizer.  I would like to see the image as a thumbnail not an icon when when making the selection.  If I right click them, the Icon, and select open they will open in "Windows Live Photo Gallery".
    The icons are now listed on the left  side of the monitor about the right middle it states "Select A File To Preview".  When I select a file (icon) a large file (icon) appears in that area and it should be a thumbnail of the image. Somehow I can't locate the drop down menu taht permits me to make that selection.  I think it has something to do with my files being able to open in Windows Live Photo Gallery when right clicking and select Open.  Is the drop down menu only available in Windows 7?

  • While using a drop-down menu i.e. File, edit, image, or even when saving as and choosing the file type; the list appears and I am able to highlight what i want but cannot click on anything.

    While using a drop-down menu i.e. File, edit, image, or even when saving as and choosing the file type; the list appears and I am able to highlight what i want but cannot click on anything. This is becoming incredibly frustrating. It happens at random time and a restart of the computer is all that helps, then with out any notice it starts to do this again.  Mac Book Pro i7 2.2 16 GB 1333 Ram, (2) 450GB SSD both internal to machine. At this point I am losing file because I am unable to save in the file type I need. Does anyone out there know how to solve this issue?
    Thanks
    phil

    I haven't been unify photoshop much in the past month, but I did try your suggestion and it seemed to work for a while. Today when i went to save a document the same thing happened: click on file>save at this point I can not click on save even though it is highlighted. Tryed to use command s that brings up the save dialogue box, but when I try to change file type I again cannot select it from the drop down menu.

  • Displaying drop down menu lists on :hover

    I'm currently trying to implement a drop down menu into my website. My site is at http://www.derektoigo.com/assets/livesites/deploy/index.html (CSS - http://www.derektoigo.com/assets/livesites/deploy/css/style.css )
    I've been working with CSS for a while and can employ mosts techniques, but this is my first time attempting to implement a drop down menu. The main reason I'm here is because I'm looking to better understand why my menu won't display at all and how to overlay these lists over other positioned objects on the page. I'd like to have my menu display horizontally in the black bar on the top of the page and have the ul's in the li's (drop downs) display when I hover over a menu link with some margin (about 30px) to the right of each link. Additionally I find that when I hover my mouse over a link unless both it and its drop down lists have a fixed width, the menu item will "jump" to the side; if possible instead I'd be interested in using flexible width for each menu item and just keeping the drop down lists set to a fixed width, but I don't know how to employ this without the margins being messed up. I'm also concerned about the slider region I implemented being pushed down as a result of the menu not being in the header bar.
    I know this is kinda vague but to be honest I'm really not sure what to explain than otherwise just showing it to you, so if anyone can show me what I'm (not) doing in my CSS that should be different it would be really appreciated. Thanks so much.

    I don't see any menus on your index page.
    Maybe this will help get you started.  View source in browser to see how the code comes together.
    http://alt-web.com/DEMOS/CSS2-Horiz-Drop-Menu.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • How to configure drop down menu in custom list

    Hi,
    I want to create custom list with 3 options. Active, Proposal and Completed. How can I create drop down menu like this (look at picture). 

    Hi,
    According to your post, my understanding is that you wanted to configure drop down menu in custom list.
    I suggest to modify the view to group by Preposition Status.
    You can follow the steps as below:
    Create list, add choice column named Preposition Status.
    Add items.
    Modify the view as below:
    Then the result is as below:
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Unable to capture data from drop down list in custom added field in migo tcode at item level

    Hi guys,
    need bit help in resolving query related to custom added field in Tcode migo.
    i have added a field in migo at item level ,in this i have used drop down list
    to get data but unable to capture data from drop down list.gown through
    many blogs in scn but unable to resolve.
    Please help me out in this.
    Thanks,
    Umakant.

    Hi,
    U can use following code to fill the list box
    write this code in PBO
    In layout editor please select listbox in dropdown attribute of input field and put some fctcode attribute
    TYPE-POOLS vrm.
      DATA values TYPE vrm_values WITH HEADER LINE.
      TABLES: <ur custom Database table>.
      clear values, values[].
      SELECT * FROM <ur custom Database table>.
        values-text = <TABLE FIELD TO DISPLAY IN DROPDOWN> .
        values-key = <TABLE KEY FIELD TO DISPLAY IN DROPDOWN>.
        APPEND values.
      ENDSELECT.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = '<SCREEN INPUT FIELD NAME>'
          values          = values[]
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
    Also please define the following before accessing the listbox value
    data: <listbox input field name> type <table field name>,
            <inputfield name where text to display> type string  in top include
    In PAI, select the text from the table into <inputfield name where text to display>  depending on value selected which will be called when enter key is pressed or any vale is selected

  • My mail subfolders are missing from the viewing pane, but available from inbox drop down menu. How do I get them back in the viewpane?

    After a restart, all of my mail subfolders are gone from the side view pane. I can pull them down individually from the 'inbox' drop down menu. How do I get them back into the sidebar so I can sort mail out of the inbox?

    No anti virus software running as far as I am aware, as in I didn't launch any before reinstating the search email function.
    I was running a folder repair function on my inbox (which seemed to complete successfully for the emails in the inbox) when I noticed the majority of the mail folders had disappeared.

Maybe you are looking for