Re: jetty and intellij

2009-03-14 Thread Angelo Chen
Hi, I have similar problem in 8.0, but when I upgraded to 8.1, it went away, my config is very simple, just add a Maven configuration, add jetty:run, that's all. I did not do this, but might worth trying: settings/compiler/resources patterns add ?*.tml; actually when I switch to Maven config

Re: Q : IF component in tapestry 5 ?

2009-03-14 Thread Luther Baker
I believe that setting your chart type Strings in a SUBMIT event handler without persisting them - effectively does nothing for you. They will be reset to null before the successive page sees them. Unless you set your chart type in a "PRE" event of the successive page (onActivate ...) - I believe

Re: Q : IF component in tapestry 5 ?

2009-03-14 Thread Ulrich Stärk
The test will be true if the provided test returns true or in case of an object return type that object is not null. Uli Alex Kotchnev schrieb: w/o looking at the docs, my impression is that the 'test' attribute of t:if expects a boolean value. Neither of daily,monthly,and yearly chart props a

Re: Q : IF component in tapestry 5 ?

2009-03-14 Thread Alex Kotchnev
w/o looking at the docs, my impression is that the 'test' attribute of t:if expects a boolean value. Neither of daily,monthly,and yearly chart props are boolean. On 3/14/09, dwi ardi irawan wrote: > guys, i'm so stress with "if" komponent. how to use it > here's my code > > > .tml > =

Re: jetty and intellij

2009-03-14 Thread Richard Clark
On Fri, Mar 13, 2009 at 2:28 PM, Luther Baker wrote: > In this specific case, I was just looking for the magic flag inside of > IntelliJ to push changes out ... not complaining about it. The wiki page also has the procedure to make reloading work with Jetty. It's a combination of running with an

Re: [T5] How to tackle memory leak problem (Perm Gem Out of Space)

2009-03-14 Thread Geoffrey Wiseman
On Sat, Mar 14, 2009 at 5:14 AM, CG wrote: > Hi all, I have used T5 to write an application , it works fine , > however, after using for a while , it will run into problem of > PermGem out of space (on Server) > > After doing some googling , i get to know that it may due to program > memory lea

Re: [T5] How to tackle memory leak problem (Perm Gem Out of Space)

2009-03-14 Thread Martin Strand
1. Get a heap dump, eg add the -XX:+HeapDumpOnOutOfMemoryError flag and wait for the permgen error 2. Install http://www.eclipse.org/mat/ 3. Follow this guide which explains how you can use MAT to analyze your heap dump: http://dev.eclipse.org/blogs/memoryanalyzer/2008/05/17/the-unknown-generatio

Re: IF component in tapestry 5 ?

2009-03-14 Thread ningdh
Hi, Refer here: http://tapestry.formos.com/nightly/tapestry5/guide/persist.html Flash field would live in the session not a long time, and will be removed from session after next request (the one after post). DH - Original Message - From: "dwi ardi irawan" To: "Tapestry users" Sent:

Re: t5 How to use renderInformals together with t:body

2009-03-14 Thread ningdh
Hi, If you don't write the root element of component in class file, why you need render the informal parameters? I can't figure out your usecase. In my opinion, they should be together. DH - Original Message - From: "luna_guo" To: Sent: Saturday, March 14, 2009 8:41 PM Subject: Re: t

Re: IF component in tapestry 5 ?

2009-03-14 Thread dwi ardi irawan
@Persist("flash") what does "flash" mean ??

Re: IF component in tapestry 5 ?

2009-03-14 Thread dwi ardi irawan
It Works.Thnx you -- http://www.dwiardiirawan.com "cos everyone could be extraordinary...lighten up !"

Re: t5 How to use renderInformals together with t:body

2009-03-14 Thread luna_guo
Yes,thank you,DH.It works.The only mater is you need write the root element of your component in class file.Otherwise the informal parameters will render some where else.For example: void beginRender(MarkupWriter writer){resouces.renderInformalParameters(writer);…… tempalte: when i use the co

[T5] How to tackle memory leak problem (Perm Gem Out of Space)

2009-03-14 Thread CG
Hi all, I have used T5 to write an application , it works fine , however, after using for a while , it will run into problem of PermGem out of space (on Server) After doing some googling , i get to know that it may due to program memory leak problem. I would like to trace in to code to but I ha

Re: IF component in tapestry 5 ?

2009-03-14 Thread ningdh
This is not an issueof If component, but due to redirect after post. In your case, because private String dailyChart, monthlyChart, yearlyChart are not persisted and not in the activation context, they will be set to default value null. Solution: add flash persistent strategy like following and

Q : IF component in tapestry 5 ?

2009-03-14 Thread dwi ardi irawan
guys, i'm so stress with "if" komponent. how to use it here's my code .tml === AAA BBB CCC = .java = @Persist p

Re: jetty and intellij

2009-03-14 Thread Otho
Just make a second run config with only "compile" as maven goal. 2009/3/13 Luther Baker > Hey Howard, > > > I know I must be missing a setting in IntelliJ - thoughts? > > Who's complaining? My original post asked for thoughts ... > > The majority of my second post was was in brackets. Don't tak

Re: [T5.1] generator meta screws up xml response

2009-03-14 Thread Howard Lewis Ship
Seems like a reasonable patch. On Fri, Mar 13, 2009 at 8:35 PM, Joost Schouten (mailing lists) wrote: > I see your point. Maybe you should check if the root element is > or not. If not, don't add the and . If you agree, I could > build a patch for this. > > Cheers, Joost > > On Fri, Mar 13, 200