tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric.Le...@swissinfo.ch
Subject RE: Quoting problem
Date Tue, 06 Aug 2002 14:11:39 GMT


>Why not use escapeXml?  Your intent is to print XML metacharacters (the
>quotation mark has special syntactic meaning to XML), so it seems to make
>sense to set escapeXml="false" in the latter "target" tag.

Yup, I guess I got it exactly the wrong way roung... <blush>

>The other option, in this specific case, is to make "target" more
>specific.  Does the browser behave the way you want it to behave it a tag
>looks like
>
>  <a href="http://foo" target="">
>
>If so, then you could set the 'target' variable only to the *value* of the
>'target' attribute and then write
>
>  target="<c:out value="${target}" />"
>
Of course this would work, but I want to keep my HTML code as small as
possible.

Regards,
Eric


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message