Re: Tapestry5 Form submit Encoding (Chinese)!!

2010-09-10 Thread cleverpig
m at all. >>> >>> DH >>> >>> - Original Message ----- >>> From: "Fanzhen" >>> To: "Tapestry users" >>> Sent: Friday, September 10, 2010 3:21 PM >>> Subject: Re: Tapestry5 Form submit Encoding (Chinese)!! >

Re: Tapestry5 Form submit Encoding (Chinese)!!

2010-09-10 Thread Fanzhen
From: "Fanzhen" To: "Tapestry users" Sent: Friday, September 10, 2010 3:21 PM Subject: Re: Tapestry5 Form submit Encoding (Chinese)!! On 2010-9-10 13:59, Donyee wrote: T5, I don't use the UTF8 filter. and my tml page is GBK,eclipse project encoding is GBK, works fine! wha

Re: Tapestry5 Form submit Encoding (Chinese)!!

2010-09-10 Thread cleverpig
all. > > DH > > - Original Message - > From: "Fanzhen" > To: "Tapestry users" > Sent: Friday, September 10, 2010 3:21 PM > Subject: Re: Tapestry5 Form submit Encoding (Chinese)!! > > >> >> On 2010-9-10 13:59, Donyee wrote: >>> T5

Re: Tapestry5 Form submit Encoding (Chinese)!!

2010-09-10 Thread ningdh
You should try removing your utf8 filter because it is unnecessary in T5. In my project, all the files are utf-8 and no problem at all. DH - Original Message - From: "Fanzhen" To: "Tapestry users" Sent: Friday, September 10, 2010 3:21 PM Subject: Re: Tapestry5

Re: Tapestry5 Form submit Encoding (Chinese)!!

2010-09-10 Thread Fanzhen
On 2010-9-10 13:59, Donyee wrote: > T5, I don't use the UTF8 filter. and my tml page is GBK,eclipse project > encoding is GBK, > works fine! > what is your page charset??? all files of my project are based in UTF8 encoding. you meant it does matter with my page encoding,I have tried to change

Re: Tapestry5 Form submit Encoding (Chinese)!!

2010-09-09 Thread Donyee
T5, I don't use the UTF8 filter. and my tml page is GBK,eclipse project encoding is GBK, works fine! what is your page charset??? -- Yet Another Java EE Developer!

Re: Tapestry5 Form submit Encoding (Chinese)!!

2010-09-09 Thread cleverpig
Hi,man! I never meet this problem in chinese,and I've not add utf-8 encoding feature in service module yet. I mean there would be a trick in your code putSearchCriteriaInALink. you can inspect seach.getTitle value before call link.addParameter("searchParam_title", search.getTitle(); On Fri, Sep 1

Tapestry5 Form submit Encoding (Chinese)!!

2010-09-09 Thread Fanzhen
hey,friends what I code in T5 page class: Link onSuccess() { return putSearchCriteriaInALink(_searchFields); } Link putSearchCriteriaInALink(MmsLibrarySearchFields search) { Link link = _pageRenderLinkSource.createPageRenderLink(this.getClass()); link.addParameter("searchParam_title", searc