Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

<html:select/> problem

  • 03-06-2005 3:24pm
    #1
    Registered Users, Registered Users 2 Posts: 3,012 ✭✭✭


    Hi,

    using struts to create a dropdown on a jsp.

    I'm creating a page where details can be changed by selecting a new option on the dropdown, however, dropdowns always start at the first item on the list, so anybody who only wants to change one option would have to go through all of the other dropdowns and set them back to the original value.
    The dropdowns are populated by an arraylist of objects, contating a label and value variable.

    I already have the original label value on a bean, and I was wondering if there's a way to make sure the drop down has the same label as on the bean as it's default selection?

    Thanks.


Advertisement