You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Daniel Larsson <da...@servicefactory.com> on 2006/08/28 18:40:43 UTC

id attribute of html: input controls

I can't find a way to set the 'id' attribute of input controls using the
html taglib. Am I missing something, or is this not possible? The 'id'
tag doesn't seem to get set at all.


Re: id attribute of html: input controls

Posted by Michael Jouravlev <jm...@gmail.com>.
On 8/28/06, Daniel Larsson <da...@servicefactory.com> wrote:
> I can't find a way to set the 'id' attribute of input controls using the
> html taglib. Am I missing something, or is this not possible? The 'id'
> tag doesn't seem to get set at all.

For example, for <html:form>:
http://struts.apache.org/1.x/struts-taglib/tlddoc/html/form.html

style: CSS styles to be applied to this HTML element.
styleClass: CSS stylesheet class to be applied to this HTML element
(renders a "class" attribute).
styleId: Identifier to be assigned to this HTML element (renders an
"id" attribute).

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