It's most definitely hackish!!! I'm considering it completely temporary. But, I can't currently specify HTML 4 strict: Tapestry runs the XML DTD parser which errors on that DTD. I want to use this DTD (not XHTML).
Actually I just stumbled over the UTF-8 encoding entry in the Wiki, so that is another concept, but my current plan revolved around entities and HTML 4 strict; and I haven't come far enough to understand Tap and client accept-encodings. I'll work it out in time: and probably by then DTD support will be implemented up a notch... Thanks for the help. -Steven Coco. On Sat June 9 2007 6:08:44 pm D&J Gredler wrote: > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]