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
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
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
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
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
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
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
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,
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
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
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
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
I want to from B.tml access a static variable/method of A class but I don't
know how to... Help me please
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
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
15 matches
Mail list logo