Chapter 16 in wiki struts book will tell you how to use options
collections w/ DAO, and it has a lab.
hth,
.V
[EMAIL PROTECTED] wrote:
I am sure there is a slick way to do this, but it escapes me at the moment.
I have a Select Box that I am populating with the html:options tag The
result is:
I'm not sure I understand... do you just need to have the group name
when you display the detail for the selected item, or do you need the
entire select list (to avoid getting it from the datavase each time?)
If you just need the grou pname, could you simply put the group name in
session?
To
Struts Users Mailing List user@struts.apache.org
cc
Subject
Re: Select Options Question
I'm not sure I understand... do you just need to have the group name
when you display the detail for the selected item, or do you need the
entire select list (to avoid getting it from
@struts.apache.org
Subject
Re: Select Options Question
On the result page I only need the Label for the selected option. Not the
entire list. The problem is that when you submit the form, you only submit
the value in the form object and loose the label. I need to pass the label
as well so
4 matches
Mail list logo