I'm currently struggling with the fine custom taglibs of struts.
I have question about the selection tag. I'm currently using:
<html:select property="role"
style="margin-left:25%"
>
<html:options collection="roles"
labelProperty="name"
property="name"
/>
</html:select>
Works fine. But anyway I want to get a specfic option marked, how do I do
this?
The following code fails in Catalina 4.0.3
<html:select property="role"
style="margin-left:25%"
value="<bean:write name="user" property="company"/>"
>
<html:options collection="roles"
labelProperty="name"
property="name"
/>
</html:select>
What did I wrong? Assing fix string to value attrib works fine. But not a
dynamically assinged value?
How can I achive that?
Thx for any help.
Bye
Toby
PS: What is the difference of html:options and html:optionsCollection? The
docu of the last metioned tag is fairly poor.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>