RE: html:options tag help ASAP
The sample application that ships with Struts (struts-exercise-taglib) gives you several options -- pardon the pun! Look at html-select.jsp. Sri -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 6:29 PM To: Struts Users Mailing List Subject: html:options tag help ASAP Hi, I get a result set from a query which has id and description, now I have to show the it in select tag some thing like this, select name=option option value=id1desc1/option option value=id2desc2/option /select I think that i can use html:options tag which will do my work, but i m not sure how to use it, how do to define the bean, and also how to set the properties, does anyone have sample code of the bean and the tag for that bean options tag, it will help me alot.. Thanx Ashish A$HI$H - Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: html:options tag help ASAP
Look at the example application in the subscription.jsp and in the tour.htm has the explanation on how it works... there is a really simple way of doing it, that is the only way I know how to do it... hope it helps..,.. tiago At 03:28 PM 8/29/2002 -0700, you wrote: Hi, I get a result set from a query which has id and description, now I have to show the it in select tag some thing like this, select name=option option value=id1desc1/option option value=id2desc2/option /select I think that i can use html:options tag which will do my work, but i m not sure how to use it, how do to define the bean, and also how to set the properties, does anyone have sample code of the bean and the tag for that bean options tag, it will help me alot.. Thanx Ashish A$HI$H - Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes cya, Tiago Nodari www.nodari.org
html:options tag help ASAP
Hi, I get a result set from a query which has id and description, now I have to show the it in select tag some thing like this, select name=option option value=id1desc1/option option value=id2desc2/option /select I think that i can use html:options tag which will do my work, but i m not sure how to use it, how do to define the bean, and also how to set the properties, does anyone have sample code of the bean and the tag for that bean options tag, it will help me alot.. Thanx Ashish A$HI$H - Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes
Re: html:options tag help ASAP
Open the struts-exercise-taglib/html-select.jsp, there are 2 examples to show you how to use Collection to deal with html:option Billy Ng From: Ashish Kulkarni [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: html:options tag help ASAP Date: Thu, 29 Aug 2002 15:28:42 -0700 (PDT) Hi, I get a result set from a query which has id and description, now I have to show the it in select tag some thing like this, select name=option option value=id1desc1/option option value=id2desc2/option /select I think that i can use html:options tag which will do my work, but i m not sure how to use it, how do to define the bean, and also how to set the properties, does anyone have sample code of the bean and the tag for that bean options tag, it will help me alot.. Thanx Ashish A$HI$H - Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]