| Author |
drawdown select box in strruts
|
zb cong
Ranch Hand
Joined: Jan 14, 2002
Posts: 403
|
|
hello i find that the "<html:select>" is a list select box,i wanna "drawdown" select box in struts? how can i do? thank you very much! .
|
 |
Ravi Veera
Ranch Hand
Joined: Jun 23, 2001
Posts: 127
|
|
|
what is a drawdown box? or do you mean dropdown box?
|
 |
Junilu Lacar
Bartender
Joined: Feb 26, 2001
Posts: 4118
|
|
The problem is really not with Struts per se. Just specify a size=1. <html:select ... size="1"> Junilu [ March 03, 2002: Message edited by: Junilu Lacar ]
|
Junilu - [How to Ask Questions] [How to Answer Questions] [MiH]
|
 |
zb cong
Ranch Hand
Joined: Jan 14, 2002
Posts: 403
|
|
thanks it works,but its appearance don't seem like that of dropdown list in html tag.
|
 |
zb cong
Ranch Hand
Joined: Jan 14, 2002
Posts: 403
|
|
hi,Junilu,see the bottom of the page,the "Hop to" select box is just what i want,could you produce such a dropdown by using struts tag? thank
|
 |
Junilu Lacar
Bartender
Joined: Feb 26, 2001
Posts: 4118
|
|
What does your tag code look like? What does the generated HTML look like? I don't see why, if you are doing it correctly, the output wouldn't be exactly like the "Hop to" select. For example: in JSP: would result in HTML like: <select name="primaryAddress.state" size="1"> <option value=""></option> <option value="AK">Alaska</option> <option value="AL">Alabama</option> <option value="AR">Arkansas</option> <option value="AZ">Arizona</option> <option value="CA">California</option> .... </select> So, what exactly is the difference that you are seeing between "Hop to" and your output? Junilu [ March 04, 2002: Message edited by: Junilu Lacar ]
|
 |
zb cong
Ranch Hand
Joined: Jan 14, 2002
Posts: 403
|
|
thank you very much i got it!
|
 |
Lavanya ch
Ranch Hand
Joined: Dec 16, 2004
Posts: 75
|
|
That is working fine if I have multiple="false" in my select tag I want the same look for <html:select multiple="true" > How can I do that??
|
 |
 |
|
|
subject: drawdown select box in strruts
|
|
|