Yes Adam.
  Thanks again
   
  in the nested:select tag you can add value="", that changes the display in 
such a way that none of the needed options ar selected.
   
  Thanks again.
   
  Now, my display is perfect, have to think about how to update options in this 
list box now using javascript. 
   
  -Maya

Adam Gordon <[EMAIL PROTECTED]> wrote:
  Maya-

Ahhhh. I understand now. You want a list box, not a drop-down list.
Drop-down lists require that one, and only one, item be selected. List
boxes allow for zero, one, or more options to be selected.

Check out the "Dropdown box" section of the Struts Wiki:
http://wiki.apache.org/struts/StrutsWidgets

It explains how to have the tag render as a list-box rather
than a drop-down list.

I've not yet used a list box but I imagine if you set the bean property
(that matches the property of the list box) to the empty string (or perhaps
even null), no item will be selected when rendered.

Hope this helps.

-Adam

-----Original Message-----
From: Maya menon [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 12 July 2006 07:21
To: Struts Users Mailing List
Subject: Re: Tags in struts

Adam,

Thanks for the suggestion. I checked with our users, they didnt like the
idea of inserting a text in the listbox. They see it as confusing.

So, ideally my users lik to have listboxes with No values selected...

Any idea how it can be achieved ?

Thanks.



                
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates 
starting at 1ยข/min.

Reply via email to