Hi Piero,

Thank you so much for your help again :-) I am new to struts and Java. But, I 
lean it from your every day.

Willa


----- Original Message ----
From: Piero Sartini <[EMAIL PROTECTED]>
To: Struts Users Mailing List <user@struts.apache.org>
Sent: Tuesday, April 10, 2007 4:28:50 PM
Subject: Re: Cannot define a display style class in <s:a>


There is the "cssClass" parameter for (all?) struts2 tags.
<s:a href="resultPageUrl" cssClass="taboff">view search results</s:a>

More information:
http://struts.apache.org/2.x/docs/a.html

Piero

On Wednesday 11 April 2007 01:10:43 Minerva CC wrote:
> Hi,
>
> I tried to define a display style class in <s:a> tag as follows
>
> <s:url id="resultPageUrl" action="searchResult">
> <s:param name="id" value="%{#parameters.id}" />
> </s:url>
> <s:a href="resultPageUrl" class="taboff">view search results</s:a>
>
> But, when I run it, I got org.apache.jasper.JasperException:
> /pages/searchRequest.jsp(81,4) Attribute class invalid for tag a according
> to TLD error.
>
> My question is how can we define a style for a url link?
>
> Thanks,
> Willa
>
>
>
> ___________________________________________________________________________
>_________ Don't get soaked.  Take a quick peak at the forecast
> with the Yahoo! Search weather shortcut.
> http://tools.search.yahoo.com/shortcuts/#loc_weather

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


       
____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 

Reply via email to