I'd like to be able to turn off escaping for the default value in the <c:out> tag, but not the regular value if it exists.
Here's what I'm trying to do:
When displaying HTML tables that contain CSS borders, I need to put a blank value( ) in those cells that contain null values, otherwise the borders won't appear correctly. This is a common requirement.
With JSTL 1.0, there's a problem if I try to use this pattern:
<td><c:out value="${someVariable}" default=" " escapeXml="false"/></td>The problem is that I want escaping turned on for the regular variable value, if it exists. Perhaps there should be two new attributes for the <c:out> tag: valueEscapeXml and defaultEscapeXml.
- Jim
______________________________
James Watkin
ACIS Software Development
The Anderson School at UCLA
[EMAIL PROTECTED]
Voice: 1-310-825-5030
Fax: 1-310-825-4835
______________________________
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
