You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Sony Thomas <so...@genialgenetics.com> on 2005/12/13 18:38:15 UTC

please give me some direction

HI,

How can I display some string values in combo box in jsp in my struts 
application. how struts dealing with combo box. please someone help me.

sony

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: please give me some direction

Posted by "C. Grobmeier" <gr...@possessed.de>.
> How can I display some string values in combo box in jsp in my struts 
> application. how struts dealing with combo box. please someone help me.

Do you want Tiles to handle the values of the combobox? please be more 
specific. A simple example for using the struts-taglibs is:

<%@ taglib uri="/tags/struts-html" prefix="html" %>

<html:select size="1" property="searchMask">
<html:option value="0">Reviews</html:option>
<html:option  value="1">Interviews</html:option>
<html:option  value="2">Gig Dates</html:option>
<html:option  value="3">Small Talks</html:option>
</html:select>

You can use the key-Attribute to use name beans.

You may see:
* 
http://struts.apache.org/struts-taglib/tagreference-struts-html.html#html:select
* http://struts.apache.org/struts-taglib/dev_html.html

Regards,
Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org