Does this actually work (at least in IE)?

-----Original Message-----
From: Leonardo Maciel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 11:58 AM

For your number 2. Inside the iterator you can have something like this

  <html:select property="result" >
    <logic:iterate id="cType" name="cList">
      <logic:equal name="cType" value="USA">
        <option selected style="background-color:#FFAA00; font-style:italic;
color:blue" value="<bean:write name="cType"/>">
                        <bean:write name="cType"/>
        </option>
      </logic:equal>
      <logic:notEqual name="cType" value="USA">
        <option value="<bean:write name="cType"/>">
          <bean:write name="cType"/>
        </option>
      </logic:notEqual>
    </logic:iterate>
  </html:select>


8*)  

And it's not Friday yet. :(


-----Original Message-----
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 11:47 AM
To: 'Struts Users Mailing List'
Subject: RE: html:select help!


Two problems:

1.  It doesn't work correctly with Netscape; probably not for many other
browsers as well.

2.  What would be the point even with IE for a Struts select with an
iterator?  All the options' styles would be the same.

Mark

-----Original Message-----
From: Hardee, Tony [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 11:28 AM

Not sure how this applies to the html:select tag, but in html:

        <select name="country">

                <option selected style="background-color:#FFAA00;
font-style:italic; color:blue" value="us">
                        United States of America
                </option>

                <option value="af">Afghanistan, Islamic State of

                </option>

                <option value="al"> Albania

                </option>

        </select>

Change the style as you like.

Cheers,

Tony

-----Original Message-----
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 11:10 AM
To: 'Struts Users Mailing List'
Subject: RE: html:select help!


You can't.

-----Original Message-----
From: Muthukumar [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 5:45 AM
To: [EMAIL PROTECTED]
Subject: html:select help!


Hi
 
How to make one or more option of select object bold.
 
 
 
Thanks and Regards
Muthukumar .S
Mysore.
 


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to