Thank you, that was the solution! Fernando
On 14 June 2011 23:59, Josh Canfield <joshcanfi...@gmail.com> wrote: > > I get an exception because of the c cedille, can someone show me how to > > escape characters? > > I believe this is because your template file is supposed to be a valid > XML document. You need to include a declaration for your escape > character. > > HTML 4 has ccedil so try including it's doctype. > > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > "http://www.w3.org/TR/html4/loose.dtd"> > > Josh > > On Tue, Jun 14, 2011 at 2:54 PM, Fernando Benjamin > <fernandobenja...@gmail.com> wrote: > > Hi everybody, I have made a simple menu(Menu.tml) wich I am trying to use > in > > the Layout.tml > > > > My menu.tml file > > > > <t:container xmlns:t=" > http://tapestry.apache.org/schema/tapestry_5_1_0.xsd" > > xmlns:p="tapestry:parameter" > > > > > <li><a t:type="pagelink" t:page="ViewTreatment" href="#">Idade</a> > > > > > > <li><a t:type="pagelink" t:page="ViewTreatment" href="#">Pais</a></li> > > > > <li><a t:type="pagelink" t:page="ViewTreatment" > > href="#">Doença/Patologia</a></li> > > > > </t:container> > > > > > > My Layout.tml imports it like this > > > > > > <t:menu/> > > > > > > I get an exception because of the c cedille, can someone show me how to > > escape characters? > > > > > > Exception assembling root component of page Index: Exception assembling > > embedded component 'layout' (of type test.hospital.web.components.Layout, > > within Index): Failure parsing template > > classpath:test/hospital/web/components/Menu.tml: The entity "ccedil" was > > referenced, but not declared. > > > > > > Thank you in advance, > > > > > > Fernando > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >