Re: Session lost when cookies disabled?

2009-07-26 Thread Sergey Didenko
I have the same bug. I tried to catch it. It seems that ApplicationStateManager does not trigger url based session tracking when setting a session object from a service. But it works ok if there a "write" to session from a component. I will create a JIRA if there is no objections. Regards, Serg

Re: Standalone IOC: integrating javassist Translator and using @Inject

2009-07-26 Thread Adriaan Joubert
So, I have been trying a number of approaches with varying success. Using a service in a standalone implementation and retrieving the service with a call to getService() on the registry works as expected. Any @Inject annotations on fields work great. I have had less joy with the class factory. I'

How to use JavaScript for dependent selects?

2009-07-26 Thread sparqle
All, I know Java and have been using pure Java frameworks like ZK and Echo2 to develop web applications. I don't know anything about JavaScript, and have been trying to learn T5 in the hope of creating a real application. However, it appears that with T5 I am not completely shielded from JavaScri

Re: [T5] Problems with commitAfter

2009-07-26 Thread Marcus Veloso
Hi Jose, What we usualy do is create a new method (to do the persistence) and use @CommitAfter there. @OnEvent(component="addCustomer",value="success") Object onSuccess() { this.persistData(); ... } @CommitAfter public void persistData() { ... }

Re: Howards last commit: 28th of april?

2009-07-26 Thread Sergey Didenko
Thanks for details, Howard. Happy refreshing the batteries! On Sun, Jul 26, 2009 at 12:07 AM, Howard Lewis Ship wrote: > No worries. > > I've been gearing up for the No Fluff Just Stuff symposium, learning > Clojure and Cappuccino (both fun!). > > I've been extending my workshop, improving existi

Testify injection only works once per test

2009-07-26 Thread rolfst
Hi I am using Testify to inject a fake repository into my testng test but I come op to a problem. when i first access the fake repository it gets injected however the second time i access the repository I get a null pointer exception. Now comes another strange thing when i debug everything works