If you specify a doctype in your templates (like XHTML 1.0 Strict), you can use entities like ©
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:t=" http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> Copyright © Me </html> On 6/8/07, Steven Coco <[EMAIL PROTECTED]> wrote:
I just implemented a set of properties in WEB-INF/Application.properties. They look like this: # HTML entities: entity.copy: © entity.trade: ™ ... Now in templates I can "use" them like so: <t:OutputRaw value="message:entity.trade"/> Such is life. Ciao. -Steven Coco. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Daniel Gredler http://daniel.gredler.net/