Re: Testify Base class com.formos.tapestry.testify.testng.TapestryTest is not in a controlled package

2009-09-07 Thread Borut Bolčina
Thanks Paul, I will try this later at home, I was very busy racing alpine roads with my mini cooper this weekend :-) http://en.wikipedia.org/wiki/File:Stelvio.jpg Cheers, Borut 2009/9/6 Paul Field tapes...@cloudinthesky.co.uk A quick update... there's a small but important error in my

Re: Substitution for Switch/Case/Block to embed components really dynamic ?

2009-09-07 Thread Kristian Marinkovic
you have to wrap your components in a block... as done by the beaneditor and inject them as examplified by thiago. this way your target page does not have to know anything about the wrapped components. i did something similar by introducing an own block service. which i contribute blocks from

Re: Why does this fail???

2009-09-07 Thread Madtyn
I forgot I posted this problem. Yes, you're right and I solved the problem changing the switch and inserting and if-else if structure instead. I was really confused about the same variable causing an error being used in different ways of making the same thing (retrieve the value), but now with the

Re: Good news about Tapestry 5 in Google App Engine

2009-09-07 Thread Christian Köberl
Robert Zeigler wrote: There's an open issue for this (TAP5-713) and Christian Köberl has a working patch that seems to be about 98% there... By the way: I have put my code in a Github project: http://wiki.github.com/derkoe/tapestry-sax-parser You can use this to have Tapestry running

Problem with testify and @SessionState injection

2009-09-07 Thread Mats Henricson
Hi! I am really close to get my Testify machinery working for my first non-trivial page. The last hurdle (touch on wood) is that the @ForComponents annotation doesn't inject my mock object in fields annotated with @SessionState. I can't see any example doing this, so, does it work? Am I on the

Re: Problem with testify and @SessionState injection

2009-09-07 Thread Paul Field
Mats Henricson m...@henricson.se wrote on 07/09/2009 12:48:39: I am really close to get my Testify machinery working for my first non-trivial page. The last hurdle (touch on wood) is that the @ForComponents annotation doesn't inject my mock object in fields annotated with @SessionState. I

Re: auto java reloading depends on package?

2009-09-07 Thread Howard Lewis Ship
Only components, inside the designated packages, can be auto-reloaded. On Sun, Sep 6, 2009 at 10:06 PM, Alfonso Quiroga alfonsose...@gmail.comwrote: Hi! I have java classes in root.components... root.pages and root.base as usual. That works perfectly... but I was needing a new class to store

Re: auto java reloading depends on package?

2009-09-07 Thread Alfonso Quiroga
Thanks for the fast answer. I think is very common in a web-application to have own web-tier objects, my example are Wizard Beans that I store in sessions. It would be great in the future to auto-reload this beans, by now I will try javarebel and I'll tell you my experience. Thanks again On Mon,

RE: Problem with OptimizedSessionPersistedObject not working in Tomcat Jetty

2009-09-07 Thread Blower, Andy
I'm surprised that no one else is bothered by this, are we the only ones developing a Tapestry app for a clustered environment or something? Anyway, given zero votes I figured it's not likely to get fixed any time soon so we've implemented a solution which we're now using and I've attached the

Re: Problem with OptimizedSessionPersistedObject not working in Tomcat Jetty

2009-09-07 Thread Howard Lewis Ship
Thanks for the patch. On Mon, Sep 7, 2009 at 9:07 AM, Blower, Andy andy.blo...@proquest.co.ukwrote: I'm surprised that no one else is bothered by this, are we the only ones developing a Tapestry app for a clustered environment or something? Anyway, given zero votes I figured it's not likely

Re: auto java reloading depends on package?

2009-09-07 Thread Howard Lewis Ship
Doing auto-reloading right is very tricky. You have to have control over the lifecycle of objects, and the class loaders for those objects. For Tapestry components this is possible and is, in effect, a side-effect of the transforming technology that allows components to operate. To allow the

Re: Problem with testify and @SessionState injection

2009-09-07 Thread Mats Henricson
Paul Field wrote: Mats Henricson m...@henricson.se wrote on 07/09/2009 12:48:39: I am really close to get my Testify machinery working for my first non-trivial page. The last hurdle (touch on wood) is that the @ForComponents annotation doesn't inject my mock object in fields annotated with

How to .tml template access a class's static variable

2009-09-07 Thread Xuan Tran Le
I want to from B.tml access a static variable/method of A class but I don't know how to... Help me please

Re: How to .tml template access a class's static variable

2009-09-07 Thread DH
I think we can't and should delegate in B class DH http://www.gaonline.com.cn - Original Message - From: Xuan Tran Le To: Tapestry users users@tapestry.apache.org Sent: Tuesday, September 08, 2009 11:17 AM Subject: How to .tml template access a class's static variable I want to from

Re: How to .tml template access a class's static variable

2009-09-07 Thread Xuan Tran Le
I have a stable system, so I don't want to modify so much code. In addition, your suggestion can cause the code duplicated and very hard to maintain. I will make clear my idea: for example, I have A class - A.java -- public class A { private static String