You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Victor Grazi <v....@verizon.net> on 2004/08/09 00:22:00 UTC
varying form element types using struts
I am creating a Struts form with some dynamically populated drop down
lists. There is a general requirement that any drop down that contains just
a single element should display as free html text instead of as a drop down.
Is there any way to specify this type of variation using struts?
Regards
Victor
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: varying form element types using struts
Posted by "Ruth, Brice" <br...@fiskars.com>.
Victor Grazi wrote:
>I am creating a Struts form with some dynamically populated drop down
>lists. There is a general requirement that any drop down that contains just
>a single element should display as free html text instead of as a drop down.
>
>Is there any way to specify this type of variation using struts?
>
>Regards
>Victor
>
>
Victor,
Not to my knowledge. You would need to put some conditional logic in
your JSP (or XSL, if you're using that) to determine what type of form
element to render out to the browser.
Someone more knowledgeable of Java Server Faces might be able to
indicate if this is something that JSF might be coerced into doing for you.
Respectfully,
Brice Ruth
--
Brice Ruth, Sr. IT Analyst
Fiskars Brands Inc
http://www.fiskarsbrands.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org