Re: [T5] how to Eager Loading PERTHREAD_SCOPE service?

2007-08-18 Thread Davor Hrg
EagerLoad and PerThread just don't fit together, you should move the code that needs to be eager loaded to another service. and use it from your threaded service. provide some more insight into your use case so we can assist you concretely. Davor Hrg On 8/19/07, Ben Tomasini <[EMAIL PROTECTED]>

Re: [T5] how to Eager Loading PERTHREAD_SCOPE service?

2007-08-18 Thread Ben Tomasini
It seems to me that the normal eager load behavior would be irrelevant for a perthread service because a perthread service must be bound to a thread which is using the registry, and the registry cannot be used until it is built. On 8/18/07, Jun Tsai <[EMAIL PROTECTED]> wrote: > > I had a perthread

[T5] how to Eager Loading PERTHREAD_SCOPE service?

2007-08-18 Thread Jun Tsai
I had a perthread scope service ,I find the @EagerLoad can't let the service eager loading. how to do it? Thanks -- regards, Jun Tsai

Re: Recursion of components

2007-08-18 Thread Hans Jörg Hessmann
I couldn't believe it, so I made an example. And I had to discover that it is true: org.apache.tapestry.ioc.internal.util.TapestryException The template for component example.recursive.components.Node is recursive (contains another direct or indirect reference to component example.recursive.compon

Re: T5: real huge application with T5?!

2007-08-18 Thread Howard Lewis Ship
Yes, and I haven't even started optimizing the framework, beyond basic caching. There's a lot of more involved things that could happen to boost performance if that becomes necessary. On 8/17/07, Jonathan Glanz <[EMAIL PROTECTED]> wrote: > Matt, we've been doing some load testing for a t5 app tha

Re: [Announce] Acegi Security library for Tapestry 5

2007-08-18 Thread Robin Helgelin
On 8/18/07, Mark Helmstetter <[EMAIL PROTECTED]> wrote: > One more question, have you been able to get logout to work? I tried > creating a simple link to /j_acegi_logout and to /app/j_acegi_logout > which didn't seem to work. I get a 404 not found. > > It seems that the logout filter has not bee

Re: [Announce] Acegi Security library for Tapestry 5

2007-08-18 Thread Robin Helgelin
On 8/18/07, Mark Helmstetter <[EMAIL PROTECTED]> wrote: > There's still a lot that's going on here that I don't quite understand, > but most of that is due to my lack of understanding of how all of the T5 > IoC magic works. I'd really prefer to have a bit more control over how > the Acegi classes

Re: [Announce] Acegi Security library for Tapestry 5

2007-08-18 Thread Mark Helmstetter
One more question, have you been able to get logout to work? I tried creating a simple link to /j_acegi_logout and to /app/j_acegi_logout which didn't seem to work. I get a 404 not found. It seems that the logout filter has not been created/initialized? Thanks, Mark Robin Helgelin wrote: O

Re: Recursion of components

2007-08-18 Thread Todd Orr
I'm also trying to perform this type of recursive structure. I don't agree that this makes anything simpler. Recursion is a powerful and concise tool for these situations. I will say that it is often abused, but this is a perfect use case. A recursive solution to this problem is far simpler and may

Re: [Announce] Acegi Security library for Tapestry 5

2007-08-18 Thread Mark Helmstetter
Robin Helgelin wrote: On 8/18/07, Mark Helmstetter <[EMAIL PROTECTED]> wrote: Do you have any examples of how to implement the login form/page? I'd certainly much prefer to implement this as a Tapestry page rather than other approaches that use JSP. How will login errors be reported on the

Re: [Announce] Acegi Security library for Tapestry 5

2007-08-18 Thread Robin Helgelin
On 8/18/07, Mark Helmstetter <[EMAIL PROTECTED]> wrote: > Do you have any examples of how to implement the login form/page? I'd > certainly much prefer to implement this as a Tapestry page rather than > other approaches that use JSP. How will login errors be reported on the > login page? There i

Re: T5: a strategy for a multi-page/multi-form wizard

2007-08-18 Thread Chris Lewis
When thinking about such things like this, I tend to think in terms of 'classic' OO strategies like inheritance and polymorphism. T5 is really big on services and annotations, which may actually provide a more flexible solution for this problem. At first the obvious two solutions occurred to me

Re: [Announce] Acegi Security library for Tapestry 5

2007-08-18 Thread Mark Helmstetter
Do you have any examples of how to implement the login form/page? I'd certainly much prefer to implement this as a Tapestry page rather than other approaches that use JSP. How will login errors be reported on the login page? I think (hope) I can figure out how to adapt the example from the

T5: different translator behaviour for same component

2007-08-18 Thread Ted Steen
Hi, The date picker component im working on atm have a selectable date format which should be parsed and formatted by the translator. The date format is passed to the date picker via a parameter, problem is that the translator is defined in the app module and I dont know how to get the information