• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

doubt regarding <html:select>

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,



<table class="col-1">
<html:form action="/clientsForm" styleId="contacts-form">
<tr>
<td>
<bean:message key="clientscomment.title3"/><br/>
</td>
<td>
<html:text property="name"/>
</td>
<td>
<html:errors property="name"/><br/>
</td>
</tr>
<tr>
<td>
<bean:message key="clientscomment.title8"/>

</td>
<td>

<html:select property="typeofbusiness" onchange="call(this);">

<html:option value="">Select TypeofBusiness</html:option>
<html:option value="1"><%="NemoTravels"%></html:option>
<html:option value="2">NemoHotels</html:option>
<html:option value="3">NemoCorporateTravels</html:option>
<html:option value="4">NemoAgriCulture</html:option>
<html:option value="5"><%="NemoConstructions"%></html:option>
<html:option value="6">NemoFoundation</html:option>
<html:option value="7">NemoItSolutions</html:option>
<html:option value="8">Nemo</html:option>
<html:option value="9">Nemo</html:option>
<html:option value="10">Nemo</html:option>
<html:option value="11">Nemo</html:option>

</html:select>
</td>

<td>
<html:errors property="typeofbusiness"/><br/>

</td>
</tr>

<tr>
<td colspan="3">
<select id="combo" name="combo2"/>
<%--<html:select property="typeofbusiness" onfocus="combo" onchange="combo2" />--%>
</td>
</tr>
<tr>
<td>
<bean:message key="clientscomment.title4"/>
</td>
<td>

<html:text property="email" />
</td>
<td>
<html:errors property="email"/>
</td>
</tr>
<tr>
<td>
<bean:message key="clientscomment.title7"/>
</td>
<td>
<html:text property="contactno" />
</td>
<td>
<html:errors property="contactno"/>
</td>
</tr>
<tr>
<td>
<bean:message key="clientscomment.title5"/><br/>
</td>
<td>
<html:text property="state" />
</td>
<td>
<html:errors property="state"/>
</td>
</tr>
<tr>
<td>
<bean:message key="clientscomment.title6"/>
</td>
<td>
<html:textarea property="message" />
</td>
<td>
<html:errors property="message"/>
</td>
</tr>
<tr class="wrapper">
<td colspan="3">
<html:submit value="SUBMIT" styleId="submit"/>
</td>
</tr>
</html:form>
</table>


in the above code hot to convert this code <select id="combo" name="combo2"/> to <html:select>

can any one help me

thanks in advance
parthiban
 
Curse your sudden but inevitable betrayal! And this tiny ad too!
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic