struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <>
Subject Re: Getting id attribute in the HTML tags?
Date Mon, 12 Mar 2001 17:16:54 GMT
On Mon, 12 Mar 2001, Scott Snyder wrote:

> Is it possible to get the id CSS attribute generated within the html custom
> tags available within struts? From what I can see you can only get the style
> and class attributes generated using the style and styleClass attributes on
> the html custom tags.

Do you propose a way to create the "id" attribute on the generated
HTML?  If so, that makes sense -- one caution, however, is that the
"id" attribute itself is special in JSP pages (must be unique across all
tags in the page).  Maybe we should use a "styleId" attribute for this?

> Is there a reason to not use the id CSS attribute? It seems that it would be
> straightforward to add it to struts. If there is interest I will submit the
> updated files here.

That would be great!

> Thanks,
> Scott
> Scott Snyder
> Flashpoint Technologies
> Senior Staff Software Engineer

View raw message