Is there a way to dictate which "option" in a collection is initially set
as
"selected" when the page is rendered?
ex
<html:options collection="Roles" property="name" /
For example, I have a collection of projects that are rendered by the
<html:options tag. I also have some java script which updates a project
description box when the selection is changed. The problem is
when the page
is first rendered, the two don't always match up. I initialize the
description box to the first item in the collection, but the
select doesn't
always choose the first item.
Thanks
D