You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Andy Huhn <am...@hrtc.net> on 2008/03/22 21:30:29 UTC
T5: OutputRaw filtering?
Hello,
I have the following in my .tml file:
<t:outputRaw t:value="literal:©"/>
I expected this to generate "©" in the HTML being sent to the
browser. But instead, Tapestry gives me an error message:
[ERROR] RequestExceptionHandler Processing of request failed with
uncaught exception: Failure parsing template
classpath:com/homeed/components/Layout.tml: The entity "copy" was
referenced, but not declared.
I'm on Tap 5.0.11.
Help?
Thanks,
Andy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5: OutputRaw filtering?
Posted by Andy Huhn <am...@hrtc.net>.
Thank you, Filip! That was exactly what I needed!
Andy
On Sun, 2008-03-23 at 01:42 +0100, Filip S. Adamsen wrote:
> You need to have an (X)HTML DOCTYPE somewhere in your page.
>
> See "Template Doctypes" at
> http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/templates.html.
>
> -Filip
>
> Andy Huhn skrev:
> > Hello,
> >
> > I have the following in my .tml file:
> >
> > <t:outputRaw t:value="literal:©"/>
> >
> > I expected this to generate "©" in the HTML being sent to the
> > browser. But instead, Tapestry gives me an error message:
> >
> > [ERROR] RequestExceptionHandler Processing of request failed with
> > uncaught exception: Failure parsing template
> > classpath:com/homeed/components/Layout.tml: The entity "copy" was
> > referenced, but not declared.
> >
> > I'm on Tap 5.0.11.
> >
> > Help?
> >
> > Thanks,
> > Andy
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5: OutputRaw filtering?
Posted by "Filip S. Adamsen" <fs...@fsadev.com>.
You need to have an (X)HTML DOCTYPE somewhere in your page.
See "Template Doctypes" at
http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/templates.html.
-Filip
Andy Huhn skrev:
> Hello,
>
> I have the following in my .tml file:
>
> <t:outputRaw t:value="literal:©"/>
>
> I expected this to generate "©" in the HTML being sent to the
> browser. But instead, Tapestry gives me an error message:
>
> [ERROR] RequestExceptionHandler Processing of request failed with
> uncaught exception: Failure parsing template
> classpath:com/homeed/components/Layout.tml: The entity "copy" was
> referenced, but not declared.
>
> I'm on Tap 5.0.11.
>
> Help?
>
> Thanks,
> Andy
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org