Struts html:select com id

2 respostas
julianovidal

Olá senhores, será que alguem sabe como colocar o id no html:select do Struts?

Eu tenho o seguinte select:

<html:select property=“country” size=“1”>
html:option....…</html:option>
html:option....…</html:option>
html:option....…</html:option>
html:option....…</html:option>
</html:select>

no fonte do html fica:

<option…>…
<option…>…
<option…>…

Queria que ficasse assim:
<select name=“country” id=“country” size=“1”>
<option…>…
<option…>…
<option…>…

vlw!
[ ]'s

2 Respostas

J

Utilize styleId=“meuId”.

julianovidal

DA HORA!!

Funcionou. Vlw!

Criado 24 de novembro de 2006
Ultima resposta 24 de nov. de 2006
Respostas 2
Participantes 2