hmm, having said that, it might be weird if the default behaviour was to filter.

eg comparing

"${company.name} is cool"

and

<c:set var="companyName">"${company.name} is cool"</c:set>
${companyName}

would have the second one filtered twice.

It might be possible to only filter when not inside a tag.  But that might then look inconsistant.  bah.


Jason Lea wrote:
The default for bean:write and c:out is to filter the content.  Both can have filtering turned off if you wish.

Shame the ${} notation filter by default :(

I didn't notice that in the documentation and assumed I could replace all my c:out's with ${} which is nicer to write.  Would be nice if they changed this behaviour in the next version.


-- 
Jason Lea



No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.8.1 - Release Date: 2005.03.23

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

Reply via email to