struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lcl" <>
Subject html:options can not automatically match value
Date Wed, 04 Jun 2003 09:33:02 GMT
Hi all ,

I have using the following code to express a select control in html using
strtus tag:

<html:select property="projclieid">
  <html:options collection=""
    property="clieid" />

When this jsp page is running, all is ok, but the options will not match
what the "projclieid" is. in the dropdown list, there is one item match the
value,but it is not mark as "selected", what's wrong?

And if I manually specific the value,such as <html:select
property="projclieid" value="aa">,
 it will work fine, it will more surprise me...

Please help me, thank you very much.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message