html:select help!

2002-05-01 Thread Muthukumar
Title: Message



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]


RE: html:select help!

2002-05-01 Thread Galbreath, Mark

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.
 




RE: html:select help!

2002-05-01 Thread James Mitchell

Muthukumar, you are kidding right?



Choices

1. Write your own applet in Java
2. Write your own Web Control in VC++ or VB
3. Submit a request to Microsoft to have this added as a patch to IE4, IE5,
and IE6.
   Be sure to copy Netscape on it so they can add it also.
   Oh and don't forget the fine folks at W3C to modify the html specs


all-joking-aside

What you are wanting is not possible with standard browser controls.
Although I have seen some reallyinteresting (for lack of a better word)
things done with style sheets, but that affects the entire control.

Good luck!
JM




 -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]




RE: html:select help!

2002-05-01 Thread Hardee, Tony

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=afAfghanistan, 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]




RE: html:select help!

2002-05-01 Thread Mannem, Taati

Muthu,
its possible by the style sheet  but as Jim pointed out it might
affect ur look and feel of the listbox.
Create a styleclass and give the following property 

font-weight: bold

and refer top t his style class using this syntax in ur html:select tag
html:select styleclass=urstyleclassname .
Try this and it will work..Lemme know
Good Luck

Regards,
Taati
 -Original Message-
 From: Muthukumar [SMTP:[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.
File: ATT1065227.txt  

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




RE: html:select help!

2002-05-01 Thread Mannem, Taati

An addendum
The code that Is en was for the whole select ..We do not have the style
class fo options.. 

Regards,
Taati

 -Original Message-
 From: Mannem, Taati 
 Sent: Wednesday, May 01, 2002 11:34 AM
 To:   'Struts Users Mailing List'
 Subject:  RE: html:select help!
 
 Muthu,
   its possible by the style sheet  but as Jim pointed out it might
 affect ur look and feel of the listbox.
 Create a styleclass and give the following property 
 
 font-weight: bold
 
 and refer top t his style class using this syntax in ur html:select tag
 html:select styleclass=urstyleclassname .
 Try this and it will work..Lemme know
 Good Luck
 
 Regards,
 Taati
   -Original Message-
   From:   Muthukumar [SMTP:[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.
  File: ATT1065227.txt  

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




RE: html:select help!

2002-05-01 Thread Galbreath, Mark

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=afAfghanistan, 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]




RE: html:select help!

2002-05-01 Thread Leonardo Maciel

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=afAfghanistan, 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]




RE: html:select help!

2002-05-01 Thread Galbreath, Mark

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=afAfghanistan, 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]




RE: html:select help!

2002-05-01 Thread Leonardo Maciel

works at least in IE. But what I have is a multiple dropdown box with
pre-selected options

copy-paste-from-working-code

  html:select property=contactTypesResult
multiple=true size=5 style=font-size:12px;
onchange=updateCounter()
logic:iterate id=cType name=ContactForm
property=contactTypesList
type=com.contact.ContactTypeResultData

  logic:equal name=cType property=selected
value=true
option value=bean:write name=cType
property=participantTypeDescription/ selected
bean:write name=cType
property=participantTypeDescription/
/option
  /logic:equal
  logic:notEqual name=cType
property=selected value=true
option value=bean:write name=cType
property=participantTypeDescription/
bean:write name=cType
property=participantTypeDescription/
/option
  /logic:notEqual


/logic:iterate
  /html:select

/copy-paste-from-working-code



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


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=afAfghanistan, 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]

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




RE: html:select help!

2002-05-01 Thread Galbreath, Mark

That's pretty cool!  It never occurred to me to use logic:equal inside an
interator on an html:select. Just goes to further prove that TAMTOWTDI
(old Perl saying).

Mark

-Original Message-
From: Leonardo Maciel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 12:36 PM

works at least in IE. But what I have is a multiple dropdown box with
pre-selected options

copy-paste-from-working-code

  html:select property=contactTypesResult
multiple=true size=5 style=font-size:12px;
onchange=updateCounter()
logic:iterate id=cType name=ContactForm
property=contactTypesList
type=com.contact.ContactTypeResultData

  logic:equal name=cType property=selected
value=true
option value=bean:write name=cType
property=participantTypeDescription/ selected
bean:write name=cType
property=participantTypeDescription/
/option
  /logic:equal
  logic:notEqual name=cType
property=selected value=true
option value=bean:write name=cType
property=participantTypeDescription/
bean:write name=cType
property=participantTypeDescription/
/option
  /logic:notEqual


/logic:iterate
  /html:select

/copy-paste-from-working-code



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


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=afAfghanistan, 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]

--
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]




RE: html:select help!

2002-05-01 Thread Richard Yee

It also works in Netscape. I just tried it.

-Richard

At 12:36 PM 5/1/2002 -0400, you wrote:
works at least in IE. But what I have is a multiple dropdown box with
pre-selected options

copy-paste-from-working-code

   html:select property=contactTypesResult
multiple=true size=5 style=font-size:12px;
onchange=updateCounter()
 logic:iterate id=cType name=ContactForm
property=contactTypesList
type=com.contact.ContactTypeResultData

   logic:equal name=cType property=selected
value=true
 option value=bean:write name=cType
property=participantTypeDescription/ selected
 bean:write name=cType
property=participantTypeDescription/
 /option
   /logic:equal
   logic:notEqual name=cType
property=selected value=true
 option value=bean:write name=cType
property=participantTypeDescription/
 bean:write name=cType
property=participantTypeDescription/
 /option
   /logic:notEqual


 /logic:iterate
   /html:select

/copy-paste-from-working-code



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


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=afAfghanistan, 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]

--
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]




RE: html:select help!

2002-05-01 Thread Galbreath, Mark

I tested it with 6.2 and the style is not apparent until after a select is
made first.  Oh well, I'm already using it for an IE-centric app I'm writing
now.  :-)

-Original Message-
From: Richard Yee [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 2:04 PM

It also works in Netscape. I just tried it.

-Richard

At 12:36 PM 5/1/2002 -0400, you wrote:
works at least in IE. But what I have is a multiple dropdown box with
pre-selected options

copy-paste-from-working-code

   html:select property=contactTypesResult
multiple=true size=5 style=font-size:12px;
onchange=updateCounter()
 logic:iterate id=cType name=ContactForm
property=contactTypesList
type=com.contact.ContactTypeResultData

   logic:equal name=cType property=selected
value=true
 option value=bean:write name=cType
property=participantTypeDescription/ selected
 bean:write name=cType
property=participantTypeDescription/
 /option
   /logic:equal
   logic:notEqual name=cType
property=selected value=true
 option value=bean:write name=cType
property=participantTypeDescription/
 bean:write name=cType
property=participantTypeDescription/
 /option
   /logic:notEqual


 /logic:iterate
   /html:select

/copy-paste-from-working-code



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


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=afAfghanistan, 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]

--
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]