You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Chandra Sekharan Bhaskaran <ch...@wipro.com> on 2002/06/26 14:25:51 UTC

Help on Struts Id

How to use styleId in struts for css
rgds
Bhaskaran

Re: Help on Struts Id

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Wed, 26 Jun 2002, Chandra Sekharan Bhaskaran wrote:

> Date: Wed, 26 Jun 2002 17:55:51 +0530
> From: Chandra Sekharan Bhaskaran <ch...@wipro.com>
> Reply-To: Struts Users Mailing List <st...@jakarta.apache.org>,
>      chandrasekharan.bhaskaran@wipro.com
> To: struts-user@jakarta.apache.org
> Subject: Help on Struts Id
>
> How to use styleId in struts for css
> rgds
> Bhaskaran
>

It's pretty simple -- the "styleId" attribute on a Struts tag generates an
"id" attribute on the resulting HTML element, which you can use in
stylesheets in the usual way.  The reason this was called "styleId" in the
first place is that "id" is a reserved attribute name in JSP 1.1.

Craig



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>