Re: Tapestry 5 - Jetty - ISO-8859-1 instead of UTF-8; deploying

2007-03-20 Thread Kovács István
Hi Igor, On 20/03/07, Igor E. Poteryaev <[EMAIL PROTECTED]> wrote: PrintWriter pw = response.getPrintWriter("text/html; charset=UTF-8"); instead of PrintWriter pw = response.getPrintWriter("text/html"); thanks for the suggestion. I had the same thing in mind but have not had time to find the c

Re: Tapestry 5 - Jetty - ISO-8859-1 instead of UTF-8; deploying

2007-03-19 Thread Kovács István
Howard, Thanks for the reply (and for Tapestry, of course :-). I've figured "mvn package" out, so I have the WAR. On encoding: On 19/03/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: [...] Tapestry's localization support has only been partially "roughed in"; T4 has additional features, such

Re: Tapestry 5 - Jetty - ISO-8859-1 instead of UTF-8; deploying

2007-03-19 Thread Kovács István
Hi Istvan :-) Thanks, now I have the WAR, deployed on Tomcat, configured as you suggested. Unfortunately, I still have encoding issues. Trouble is, what I need to fix is not the URI encoding, but encoding of the HTTP response. I seem to be getting content encoded in ISO-8859-2 or Windows-1250, wi

Tapestry 5 - Jetty - ISO-8859-1 instead of UTF-8; deploying

2007-03-19 Thread Kovács István
Hi, I've built an application using the quickstart Maven prototype. It all works fine, but serves the output in ISO-8859-1 (Latin-1), not UTF-8. Kent Tongs book on Tapestry 4 says "Tapestry always use UTF-8 to encode the output, regardless the encoding of the template". This seems to have changed

Avoiding serialization

2007-03-16 Thread Kovács István
Dear All, I have a toy application, composed of a View and an Edit screen. They work by looping through objects from a "database" with a Loop component, setting a property in the page instance to the current element, and extracting some of its fields. The View screen simply inserts extracted fiel

How to include DOCTYPE?

2007-03-14 Thread Kovács István
Hi, I'm playing with Tapestry 5 (thanks Davor for getting me started!). I need to include a DOCTYPE in my HTML. The t5-tutorial says it's possible ("Templates may even have a DOCTYPE or an XML schema to validate the structure of the template."); however, if I include a DOCTYPE in my template, it'

Re: How to include DOCTYPE?

2007-03-14 Thread Kovács István
7;s a "todo" that includes doctype support. Robert On Mar 14, 2007, at 3/1410:46 AM , Kovács István wrote: > Hi, > > I'm playing with Tapestry 5 (thanks Davor for getting me started!). I > need to include a DOCTYPE in my HTML. The t5-tutorial says it's > pos

Catch 22 - Tapestry5 vs Maven (vs me)

2007-03-14 Thread Kovács István
Hi, I've tried the "hilo" example given in the Tapestry5 tutorial (which is also the first time I used Maven). The build failed: mvn.bat archetype:create -DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository/ -DarchetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=quickst