How to manage complex content for zones

2010-05-05 Thread anujith
Hi everyone, I am trying to figure out the cleanest solution to managing a zone which will be updated with numerous complex page fragments depending on the state of the user. There is one page with a zone which gets periodically updated depending on the state of the user, the content is large en

t5 Inject service to HttpSessionListener

2008-02-28 Thread anujith amaratunga
Hi, I am trying to inject a service into a class which implements HttpSessionListener, which is instantiated by the web container (jetty). So I cant use the constructor or the on call methods sessionCreated() or sessionDestroyed() to pass in a service, nor can I use the @Inject annotation because

Re: t5 Inject service to HttpSessionListener

2008-02-28 Thread anujith amaratunga
Thanks Mark. I've tried this approach, but as you say it builds you a new Registry. The problem is if you need a stateful service, i.e. a service which handles persistence. Depending on your configuration this might give you undesired results. The solution suggested by Ted, http://www.nabble.com

Tap5 - integrate several templates

2007-08-01 Thread Anujith Amaratunga
Hi, How do I integrate several templates into one page? i.e I have a header and a footer which needs to go into all the pages, but I don't want to duplicate code in all pages. I've looked at the element and embedded components but not sure if that's the way to go. Any help is much appreciated.

Re: T5: cleaning up persisted objects during user logout

2007-11-28 Thread anujith amaratunga
es/Session.html#line.65 Mind you, the problem you mentioned will only apply if both users are on the same browser instance. cheers Anujith -- View this message in context: http://www.nabble.com/T5%3A-cleaning-up-persisted-objects-during-user-log