Re: Tapestry 5.0.15 DateField localization problem

2008-10-01 Thread Doublel
That is right ,Thanks a lot. 2008/10/2 Jecki <[EMAIL PROTECTED]> > On Thu, Oct 2, 2008 at 7:20 AM, Doublel <[EMAIL PROTECTED]> wrote: > > Thank you for your fix, It can work by default. but When i user > > t:format="/mm/dd" for dateFIeld to format the

Re: Tapestry 5.0.15 DateField localization problem

2008-10-01 Thread Doublel
Thank you for your fix, It can work by default. but When i user t:format="/mm/dd" for dateFIeld to format the data ,it return '2008/00/26' too .the month is always "00". 2008/10/1 Konstantin <[EMAIL PROTECTED]> > > Ok. I've created a workaround. > > package myapphere.mixins; > > import or

Re: Tapestry 5.0.15 DateField localization problem

2008-09-29 Thread Doublel
I encounter the same problem. I use: In FF explorer I choose today It return "2008/00/13". In IE explorer I run into javascrip error 'style' is null or not an object. and when I second choose date It return "2008/00/13". too -- 得与失都是生活

Re: T5: Map and persistency

2007-12-02 Thread Doublel
pageLoaded() is only loaded when the page is request FIRST time, after compile put the class into page pool, next request, pageLoaded() method is reloaded from page pool directly.I thank pageLoaded() not execute after FIRST time. this is my opinon. 2007/12/3, Angelo Chen <[EMAIL PROTECTED]>:

Re: T5 How to difine dynamic path for image

2007-11-19 Thread Doublel
Thanks for your feeback; I did ,it can work with this code assetSource.findAsset(null, "context:images/weathePath/" + weatherPath", null) 2007/11/20, lasitha <[EMAIL PROTECTED]>: > > On Nov 20, 2007 7:21 AM, Doublel <[EMAIL PROTECTED]> wrote: >

Re: T5 How to difine dynamic path for image

2007-11-19 Thread Doublel
L PROTECTED]> wrote: > > > I've not seen AssetResource - what is the advantage to using it like > > this as opposed simply to injecting the asset? > > > > lasitha wrote: > > > On Nov 19, 2007 2:37 PM, Doublel <[EMAIL PROTECTED]> wrote: > > &

T5 How to difine dynamic path for image

2007-11-19 Thread Doublel
Hi: I have a problem I get a value from DB into private String weatherPath=""; then the code is : public void onActivate(String id){ if (lw.hnSunny.equals(bc.getLogWeather())){ this.weatherPath="logweath.gif"; } } @Inject @Path("context:/images/"+ we

T5 How to difine dynamic path for image

2007-11-19 Thread Doublel
-- 得与失都是生活

Re: [ANN] Tapestry 5 book is available for pre-order

2007-11-14 Thread Doublel
Chinese user how to buy it?? 2007/11/15, Doublel <[EMAIL PROTECTED]>: > > That is great > > > 2007/11/15, Kolesnikov, Alexander GNI <[EMAIL PROTECTED]>: > > > > Yeah, I know... I thought they will have PDF version too. > > > > -Original Mess

Re: [ANN] Tapestry 5 book is available for pre-order

2007-11-14 Thread Doublel
That is great 2007/11/15, Kolesnikov, Alexander GNI <[EMAIL PROTECTED]>: > > Yeah, I know... I thought they will have PDF version too. > > -Original Message- > From: Peter Stavrinides [mailto:[EMAIL PROTECTED] > Sent: 14 November 2007 16:00 > To: Tapestry users > Subject: Re: [ANN] Tapest

Re: Using PageTester with tapestry-spring

2007-09-27 Thread Doublel
2007/9/27, Joel Wiegman <[EMAIL PROTECTED]>: > > Without seeing any source, I can only guess that you're injecting > WebApplicationContext somewhere in your application and your SpringModule > isn't loading that service correctly? Tough to say without source. > > --

Re: Using PageTester with tapestry-spring

2007-09-26 Thread Doublel
", assuming > the class is named "SpringModule" and that it exists in your .services > package. > > Hope that helps. > > -Original Message- > From: Doublel [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 25, 2007 8:06 PM > To: Tapestry users > Su

Re: Using PageTester with tapestry-spring

2007-09-25 Thread Doublel
gman <[EMAIL PROTECTED]>: > > Sure... what questions do you have? > > I'd rather not write 8 paragraphs and still not answer your questions... > > -Original Message- > From: Doublel [mailto:[EMAIL PROTECTED] > Sent: Monday, September 24, 2007 7:59 PM > To:

Re: Using PageTester with tapestry-spring

2007-09-24 Thread Doublel
I run into the same problem I use http://wiki.apache.org/tapestry/Tapestry5SpringIntegrationAlternative2 Can you explain more detail?? 2007/9/24, Joel Wiegman <[EMAIL PROTECTED]>: > > Ivan, > > I'm using PageTester with Spring integration, but you'll have to jump > through a few small hoops to ac

In T4.1.2 How to LinkTo NonTapestry URIs(link to my jsp page)

2007-09-16 Thread Doublel
Hello In t5 can redirect login and logouts to Acegi's special URIs.In t 4.1.2. I want to Redirect to my some old jsp pages?How to do it ?? -- 得与失都是生活

Re: Problem about T4.0.4---->T4.1.2

2007-09-13 Thread Doublel
I have found the mistake, I use Sotacs<http://sotacs.sourceforge.net/home/index.html>( 0.91)in my project , I should update to 0.92 .Now it works well. 2007/9/14, Doublel <[EMAIL PROTECTED]>: > > Thanks I got it, I am careful about my source file. > > Thank you very much!

Re: T4:tapestry-TimeTracker-4.1.3.war does work in IE6 can work in FireFox

2007-09-13 Thread Doublel
I find the wrong where I made, My IE has Errors ,I have correct it. 在07-9-14,Doublel <[EMAIL PROTECTED]> 写道: > > I downLoad tapestry-TimeTracker-4.1.3.war but it does work in IE6 can > work in FireFox > Is anybody has this problom?? how to deal with it?? > > > -- > 得与失都是生活 -- 得与失都是生活

T4:tapestry-TimeTracker-4.1.3.war does work in IE6 can work in FireFox

2007-09-13 Thread Doublel
I downLoad tapestry-TimeTracker-4.1.3.war but it does work in IE6 can work in FireFox Is anybody has this problom?? how to deal with it?? -- 得与失都是生活

Re: Problem about T4.0.4---->T4.1.2

2007-09-13 Thread Doublel
Thanks I got it, I am careful about my source file. Thank you very much!! 2007/9/13, Andreas Andreou <[EMAIL PROTECTED]>: > > It's related to defaultStyleAsset > Can you show the .page and the .java files? Is it possible that you > define the asset in both files? > >

Problem about T4.0.4---->T4.1.2

2007-09-13 Thread Doublel
hi in my T4.0.2 project I write a custom Border component .the code is: and very page use this componet,In T4.0.2 it work well .but in T4.1.2 I got an exception: Where is the possible wrong? anybody can give some tips??? thnks a lot or

Re: T5: MarkupWriter.element() can not display correctly in my custom component page

2007-09-10 Thread Doublel
t;[EMAIL PROTECTED]>: > > I belive writer only writes elements > it doesn't handle template syntax > t:id and t:type belong to the template > > Davor Hrg > > On 9/10/07, Doublel <[EMAIL PROTECTED]> wrote: > > > > I write a custom componnet page ,i

T5: MarkupWriter.element() can not display correctly in my custom component page

2007-09-10 Thread Doublel
I write a custom componnet page ,in beginRender method I want to get a image link ,so the code is : writer.element("a", "t:type","ActionLink" ,"context",totalPage,"t:id","splitPage"); writer.element("img", "src",this.getLast02());

Re: Unit Test Cannot run correctly!

2007-09-02 Thread Doublel
Thanks Korben Zhang I didn't write DAO Service,I directly inject DAO into t5 page like this: @Inject @SpringBean("IPublicDAO") private IPublicDAO pdao; it can work well in tomcat.but when I want to user Unit Test,I got the exception。 I must write DAO service ?? my code is learned from your tfan

Re: How to define InitialValue for TextField?

2007-09-02 Thread Doublel
here: > > http://tapestry.apache.org/tapestry5/tapestry-core/guide/component-classes.html > > If you need more complicated initializations do them in onActivate. > > Cheers, > Nick. > > > Doublel wrote: > > How to define InitialValu

How to define InitialValue for TextField?

2007-09-01 Thread Doublel
How to define InitialValue for TextField? in T4 use @InitialValue in T5 how to do?? for help. -- 得与失都是生活