Re: [T5] issue with coercion in loop (not in form)

2010-10-09 Thread Fanzhen
do you have another loop in your page tml? or a component using a loop. formState="none" are also required!!! On 2010-10-6 21:19, Ben Dinnerville wrote: hi All, I am getting a coercion error when using 5.1.0.5 and a loop - not inside a form. The strange thing is, I have provided both a

Re: how to handle the component in my page?

2010-10-08 Thread Fanzhen
headache, it did not work well, could anyone give some suggestion? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: how to handle the component in my page?

2010-10-08 Thread Fanzhen
sorry everyone I got the method. set clientId for my component and handle it by ComponentSource.getComponent(completeId); - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h

how to handle the component in my page?

2010-10-08 Thread Fanzhen
well ,you know, there maybe two ways to import a component in page tml. first way, , I can put two same components which are using in two places in one page. and second way, , well this way I could handle the it in page class. the problem is if I do the first way, how to handle the comp

Re: T5 component in page could not refresh when page refresh!

2010-09-20 Thread Fanzhen
hey, friend, I want to know how to get a not cached version of my page On 2010-9-21 10:45, Thiago H. de Paula Figueiredo wrote: On Mon, 20 Sep 2010 23:23:21 -0300, Fanzhen wrote: Have a layout component which used by pages , and in layout component there are some data operation related

Re: T5 component in page could not refresh when page refresh!

2010-09-20 Thread Fanzhen
. On 2010-9-21 11:09, Josh Canfield wrote: How are you getting the data the data in your layout? Can you provide some code as an example? -- Josh On Sep 20, 2010, at 7:23 PM, Fanzhen wrote: Have a layout component which used by pages , and in layout component there are some data operation

T5 component in page could not refresh when page refresh!

2010-09-20 Thread Fanzhen
Have a layout component which used by pages , and in layout component there are some data operation related to finding and showing some data from database. the problem is that , when some operation was done in my page (actually ,updating data in database),data in page refreshed, but data in

Re: T5+hibernate - multiple session factories

2010-09-13 Thread Fanzhen
well I am using spring + hibernate(JPA features) ,you can set up two more persist unit. On 2010-9-14 8:31, Paul Stanton wrote: I have an tapestry app that needs to connect to 2 different databases. Has anyone done this with tapestry-hibernate? thanks, p.

Re: what is wrong???

2010-09-13 Thread Fanzhen
resolve it!! javassist-3.9.0.GA.jar not javassist-3.6.0.CR1.jar!!! On 2010-9-13 17:34, Fanzhen wrote: I use Tomcat6 , well I deploy it in tomcat of my pc. I get the same error. does it matter with tomcat?? oh , god!! get headache

Re: what is wrong???

2010-09-13 Thread Fanzhen
I use Tomcat6 , well I deploy it in tomcat of my pc. I get the same error. does it matter with tomcat?? oh , god!! get headache!! - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail:

what is wrong???

2010-09-13 Thread Fanzhen
well, it work well on my pc. but when I upload the whole project to the server, I got errors :: I am sure the LibraryCreate Class is in the right directory Caused by: java.lang.ClassNotFoundException: caught an exception while obtaining a class file for com.yuedong.pnews.pages.security

Re: want to setup a ${xxxx} in my input element!!!

2010-09-12 Thread Fanzhen
yes, I really have read it carefully. On 2010-9-13 14:17, Igor Drobiazko wrote: You should have a look at Tapestry's form components. There is a Checkbox component. On Mon, Sep 13, 2010 at 8:14 AM, Fanzhen wrote: hey, friends want to code like this: aaa bbb ccc ddd actually, wh

want to setup a ${xxxx} in my input element!!!

2010-09-12 Thread Fanzhen
user input when they do some searching. thank you in advance !! Fanzhen. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

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

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

Re: override the default message!!

2010-09-09 Thread Fanzhen
(SymbolConstants.SUPPORTED_LOCALES, "zh_cn,en"); ... -bob 2010/9/9 Fanzhen hey friends, tapestry5 return me "You must correct the following errors before you may continue.xx" are there some methods to override it with my own custom message? I have search it via Google . what I got is :

override the default message!!

2010-09-09 Thread Fanzhen
hey friends, tapestry5 return me "You must correct the following errors before you may continue.xx" are there some methods to override it with my own custom message? I have search it via Google . what I got is : should to create two files in my project with the same package as Tapestry

Re: Tapestry5 friendly Message headache!!!

2010-09-06 Thread Fanzhen
On 2010-9-7 12:38, Borut Bolčina wrote: Use FLASH persistence ( http://tapestry.apache.org/tapestry5.1/guide/persist.html). See also http://jumpstart.doublenegative.com.au/jumpstart/fr/examples/navigation/actionlinks. Search for FLASH in the page. -bob 2010/9/7 Fanzhen hey dear friends I

Friendly message headache!!!

2010-09-06 Thread Fanzhen
field,this time _msg can really be got, but the stupid thing is it always show when refresh the page!!! could anyone tell me a good way to show friendly message to my users!! such as _form.record("xx"); thanks in ad

Tapestry5 friendly Message headache!!!

2010-09-06 Thread Fanzhen
eally can get the message, but anther thing come out, the msg show when I refresh the page could anyone tell me a better way supplying friendly message to my client user!! maybe something like _form.record("xxx"); thanks in adva