Pen:
I guess you havnt defined the type for the collecting object properly as
per the bean object in collection.
try using, LabelValueBean to setup ur collection.
the bean is the value what option will put in selection property.
u need to have same type for bean and the collecting property.
I have one select like this...
--My Action mapping
action path=/assign/view parameter=VIEW_PAGE
type=ca.awcl.assignments.AssignmentAction scope=request
name=AssignForm validate=false
exception key=error.required type=ca.awcl.AppException
path=assign.error.page /
forward
Yeah ofcourse, either set the required value in the form bean or set the
html: select 's value attribute to the value u want to be shown as
default.
-Original Message-
From: Vlad Alexeyev [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 29, 2002 1:39 PM
To: Struts Users Mailing List
3 matches
Mail list logo