struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max Cooper" <...@maxcooper.com>
Subject Re: Issue with SSLExt and Tiles
Date Thu, 25 Sep 2003 06:28:54 GMT
I don't think it is valid JSP syntax to nest tags like that. I have tried
stuff like that in the past and concluded that you cannot use one JSP custom
tag to render an attribute value for another JSP custom tag.

This might be an alternative:

<tiles:useAttribute id="sectionURL" name="section_url"/>
<sslext:link page="<%=sectionURL%>">
...

The <tiles:importAttribute> might be relevant to your situation. I am not
sure which of these two tiles tags to use, but I think you will need to do
something like this to do what you want.

-Max

----- Original Message ----- 
From: "Mick Knutson" <mickknutson@hotmail.com>
To: "struts" <struts-user@jakarta.apache.org>
Sent: Wednesday, September 24, 2003 10:13 PM
Subject: Issue with SSLExt and Tiles


> I have the following code that does not get processed correctly.
Currently,
> the <tiles:getAsString name='section_url'/> gets rendered as
> http://localhost:8080/<tiles:getAsString%20name='section_url'/>
>
>                     <sslext:link page="<tiles:getAsString
> name='section_url'/>">
>                         <strong><bean:message key="<%=title%>" /></strong>
>                     </sslext:link>&nbsp;
>
>
> ---
> Thanks
> Mick Knutson
> http://www.baselogic.com
>
> +001(805) 563-0666 Office
> +001 (708) 570-2772 Fax
> ---
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>



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


Mime
View raw message