Re: [T5] redundant declaration of meta tag

2007-07-19 Thread Marcelo lotif

i put it right now, but it's simply not working... =( i just followed the
howto but it's gaving me the same error Failure parsing template
context:WEB-INF/Start.html: Invalid byte 2 of 3-byte UTF-8 sequence.

am i missing something?

2007/7/19, Nick Westgate [EMAIL PROTECTED]:


Are you using the UTF-8 patch on the wiki?
http://wiki.apache.org/tapestry/Tapestry5HowTos

Cheers,
Nick.


Marcelo lotif wrote:
 Hi all,
 I'm trying to use some special characters on my pages but i had to put
the
 meta tag in all of them, even when they have a Layout component wrapping
 it.
 I thought it is a bit redundant. If i remove the meta tag from the
 layout(that have not special chars), letting it just into the start
 page, it
 works fine, but the layout have the html and head tag, and is a matter
of
 logic that he may have the meta tag. There goes my code:

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Atenciosamente,
Marcelo Lotif


Re: [T5] redundant declaration of meta tag

2007-07-19 Thread Nick Westgate

Your templates must be UTF-8 encoded too.

Cheers,
Nick.


Marcelo lotif wrote:

i put it right now, but it's simply not working... =( i just followed the
howto but it's gaving me the same error Failure parsing template
context:WEB-INF/Start.html: Invalid byte 2 of 3-byte UTF-8 sequence.

am i missing something?

2007/7/19, Nick Westgate [EMAIL PROTECTED]:


Are you using the UTF-8 patch on the wiki?
http://wiki.apache.org/tapestry/Tapestry5HowTos

Cheers,
Nick.


Marcelo lotif wrote:
 Hi all,
 I'm trying to use some special characters on my pages but i had to put
the
 meta tag in all of them, even when they have a Layout component 
wrapping

 it.
 I thought it is a bit redundant. If i remove the meta tag from the
 layout(that have not special chars), letting it just into the start
 page, it
 works fine, but the layout have the html and head tag, and is a matter
of
 logic that he may have the meta tag. There goes my code:

-
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]



Re: [T5] redundant declaration of meta tag

2007-07-19 Thread SergeEby

Hi.

I believe this patch is included in 5.0.5, therefore no longer needed.
For the redundant meta tags, you should remove them from the pages, not the
layout template.

/Serge


Nick Westgate wrote:
 
 Your templates must be UTF-8 encoded too.
 
 Cheers,
 Nick.
 
 
 Marcelo lotif wrote:
 i put it right now, but it's simply not working... =( i just followed the
 howto but it's gaving me the same error Failure parsing template
 context:WEB-INF/Start.html: Invalid byte 2 of 3-byte UTF-8 sequence.
 
 am i missing something?
 
 2007/7/19, Nick Westgate [EMAIL PROTECTED]:

 Are you using the UTF-8 patch on the wiki?
 http://wiki.apache.org/tapestry/Tapestry5HowTos

 Cheers,
 Nick.


 Marcelo lotif wrote:
  Hi all,
  I'm trying to use some special characters on my pages but i had to put
 the
  meta tag in all of them, even when they have a Layout component 
 wrapping
  it.
  I thought it is a bit redundant. If i remove the meta tag from the
  layout(that have not special chars), letting it just into the start
  page, it
  works fine, but the layout have the html and head tag, and is a matter
 of
  logic that he may have the meta tag. There goes my code:

 -
 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]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/-T5--redundant-declaration-of-meta-tag-tf4103661.html#a11688600
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [T5] redundant declaration of meta tag

2007-07-19 Thread Marcelo lotif

Serge, that is the point. If i remove it from the pages and let it just on
the layout it give me the error, and it's wrong, since the pages are wrapped
by the layout. And the generated html looks creepy with a meta tag in the
middle of the code since there's another one on the head that's supposed to
do exactly the same thing...

2007/7/19, SergeEby [EMAIL PROTECTED]:



Hi.

I believe this patch is included in 5.0.5, therefore no longer needed.
For the redundant meta tags, you should remove them from the pages, not
the
layout template.

/Serge


Nick Westgate wrote:

 Your templates must be UTF-8 encoded too.

 Cheers,
 Nick.


 Marcelo lotif wrote:
 i put it right now, but it's simply not working... =( i just followed
the
 howto but it's gaving me the same error Failure parsing template
 context:WEB-INF/Start.html: Invalid byte 2 of 3-byte UTF-8 sequence.

 am i missing something?

 2007/7/19, Nick Westgate [EMAIL PROTECTED]:

 Are you using the UTF-8 patch on the wiki?
 http://wiki.apache.org/tapestry/Tapestry5HowTos

 Cheers,
 Nick.


 Marcelo lotif wrote:
  Hi all,
  I'm trying to use some special characters on my pages but i had to
put
 the
  meta tag in all of them, even when they have a Layout component
 wrapping
  it.
  I thought it is a bit redundant. If i remove the meta tag from the
  layout(that have not special chars), letting it just into the start
  page, it
  works fine, but the layout have the html and head tag, and is a
matter
 of
  logic that he may have the meta tag. There goes my code:

 -
 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]




--
View this message in context:
http://www.nabble.com/-T5--redundant-declaration-of-meta-tag-tf4103661.html#a11688600
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Atenciosamente,
Marcelo Lotif


Re: [T5] redundant declaration of meta tag

2007-07-19 Thread Nick Westgate

Serge: The decoratePageResponseRenderer() is not needed in 5.0.5,
but the Utf8Filter (or your encoding of choice) still seems to be.

Marcelo: Things are fine for me with no meta tags. Forget them.
Tapestry is complaining that your template is not UTF-8 encoded.
Load it in Eclipse or a decent editor and save it as UTF-8 encoded.

Cheers,
Nick.


Marcelo lotif wrote:

Serge, that is the point. If i remove it from the pages and let it just on
the layout it give me the error, and it's wrong, since the pages are 
wrapped

by the layout. And the generated html looks creepy with a meta tag in the
middle of the code since there's another one on the head that's supposed to
do exactly the same thing...

2007/7/19, SergeEby [EMAIL PROTECTED]:



Hi.

I believe this patch is included in 5.0.5, therefore no longer needed.
For the redundant meta tags, you should remove them from the pages, not
the
layout template.

/Serge


Nick Westgate wrote:

 Your templates must be UTF-8 encoded too.

 Cheers,
 Nick.


 Marcelo lotif wrote:
 i put it right now, but it's simply not working... =( i just followed
the
 howto but it's gaving me the same error Failure parsing template
 context:WEB-INF/Start.html: Invalid byte 2 of 3-byte UTF-8 sequence.

 am i missing something?

 2007/7/19, Nick Westgate [EMAIL PROTECTED]:

 Are you using the UTF-8 patch on the wiki?
 http://wiki.apache.org/tapestry/Tapestry5HowTos

 Cheers,
 Nick.


 Marcelo lotif wrote:
  Hi all,
  I'm trying to use some special characters on my pages but i had to
put
 the
  meta tag in all of them, even when they have a Layout component
 wrapping
  it.
  I thought it is a bit redundant. If i remove the meta tag from the
  layout(that have not special chars), letting it just into the start
  page, it
  works fine, but the layout have the html and head tag, and is a
matter
 of
  logic that he may have the meta tag. There goes my code:

 -
 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]




--
View this message in context:
http://www.nabble.com/-T5--redundant-declaration-of-meta-tag-tf4103661.html#a11688600 


Sent from the Tapestry - User mailing list archive at Nabble.com.


-
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]



[T5] redundant declaration of meta tag

2007-07-18 Thread Marcelo lotif

Hi all,
I'm trying to use some special characters on my pages but i had to put the
meta tag in all of them, even when they have a Layout component wrapping it.
I thought it is a bit redundant. If i remove the meta tag from the
layout(that have not special chars), letting it just into the start page, it
works fine, but the layout have the html and head tag, and is a matter of
logic that he may have the meta tag. There goes my code:

HSplitBorder.html (the layout component)

html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
head
   link href=${layoutCSS} rel=stylesheet type=text/css/
   title${title}/title
   meta http-equiv=Content-Type content=text/html; charset=UTF-8/
/head
body
   table width=100% height=100%  border=0
   tr
   td
   div align=center valign=top
   t:menufixo/
div id=titulo
   ${title}
   /div
  table width=100% height=100%  border=0
   tr
   td valign=top height=100%
   div align=center
   t:bodyPage content goes here./t:body
   /div
   /td
   /tr
   /table
   /div
   /td
   /tr
   /table
/body
/html

Start.html

t:hsplitborder xmlns:t=
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
meta http-equiv=Content-Type content=text/html; charset=UTF-8/
   form t:type=Form 

   div id=paginaleft
   img src=${imgLogo} /
   /div

   div id=paginaright
   br/
   A CGI Software é uma empresa de bTecnologia da Informação/b,
   especializada no desenvolvimento de bsoftware de gestão para
   computadores e celulares/b.
   br/
   br/
   Com experiência no mercado desde 1998 oferecendo soluções
tecnológicas de
   software para indústria e comércio, visando a satisfação dos
clientes
   e melhorias contínuas do Sistema de Gestão.
   br/br/
   Presta serviços na área de consultoria, suporte e treinamentos.
   Oferece soluções para gestão de negócios e processos, comércio
eletrônico,
   internet e intranet empresarial. Disponibiliza em seus produtos
modernas
   tecnologias em software, banco de dados e internet voltadas à
gestão
   empresarial.
   br/
   br/
   Nossos produtos:
   br/br/
   img src=${imgSi} alt=Sistema Integrado title=Sistema
Integrado /
   a t:type=ActionLink t:id=SiSistema Integrado - ERP/a
   br/
   img src=${imgSimulador} alt=Simulador de Conjugação
title=Simulador de Conjugação /
   a t:type=ActionLink t:id=SimuladorSimulador de
Conjugação/a
   br/
   img src=${imgNarf} alt=Narf title=Narf /
   a t:type=ActionLink t:id=NarfNarf Antivírus Freeware/a
   br/br/
   /div

   /form
/t:hsplitborder

any thoughts will be appreciated.

--
Atenciosamente,
Marcelo Lotif


Re: [T5] redundant declaration of meta tag

2007-07-18 Thread Nick Westgate

Are you using the UTF-8 patch on the wiki?
http://wiki.apache.org/tapestry/Tapestry5HowTos

Cheers,
Nick.


Marcelo lotif wrote:

Hi all,
I'm trying to use some special characters on my pages but i had to put the
meta tag in all of them, even when they have a Layout component wrapping 
it.

I thought it is a bit redundant. If i remove the meta tag from the
layout(that have not special chars), letting it just into the start 
page, it

works fine, but the layout have the html and head tag, and is a matter of
logic that he may have the meta tag. There goes my code:


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]