Yep, you can do it. :-)
Its just not called "id" in the tags - this is because JSP (or something
anyhow) has reserved the name "id" for use in tag attributes, so instead of
calling it "id" in the struts tags it has the name "styleId"

-----Original Message-----
From: Marc Guillemot [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 09, 2002 20:07
To: [EMAIL PROTECTED]
Subject: generate input field id parameter with struts:html?


Hi,

it seems there is no way to generate an html id parameter for input fiels
with struts:html. Is it right?

The id parameter is quite interesting to use with the <label> tag:
ex:
<input type="radio" name="what" value="structure" id="radio_dump_structure"
checked="checked" />
<label for="radio_dump_structure">Structure only</label><br />

Marc.


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to