So does that mean on pages using a border component, I need to add a
dummy html/head/body tag as well, along with a DOCTYPE? Even though it
gets thrown away and subbed with the border's parts.

Because,   causes exceptions on pages like

<t:border xmlns:t="blah blah, the usual xsd">
   &nbsp;
</t:border>

with no surrounding body/html tags because those are supplied by the
border component.

which is the style shown in the "Tapestry 5: Building Web Applications" book.

On Wed, Apr 15, 2009 at 8:43 PM, Thiago H. de Paula Figueiredo
<thiag...@gmail.com> wrote:
> Em Thu, 16 Apr 2009 00:39:42 -0300, daniel joyce <daniel.a.jo...@gmail.com>
> escreveu:
>
>> org.apache.tapestry5.ioc.internal.util.TapestryException
>> Failure parsing template
>> classpath:com/mobilesemi/trailblaze/pages/admin/ManageUsers.tml: The
>> entity "nbsp" was referenced, but not declared.
>
> Add an HTML doctype to your template. Example:
> <!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";>
>        ...
> </html>
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java consultant, developer, and instructor
> http://www.arsmachina.com.br/thiago
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to