Re: Access to HttpSessions

2008-10-18 Thread Jecki
You can try to create an HttpSessionListener (http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpSessionListener.html) and upon creation of the HttpSession instance you can store inside a 'registry' (can be in the servlet context) and then later on you can get the session from tha

Access to HttpSessions

2008-10-18 Thread Christoph Jäger
Hi, I have a Tapestry5 application. On an administrator page, I want to show all active sessions (people have to log in to use the application), and make it possible to terminate sessions / view user details and session details (login time, idle time, ...). How can I get access to these s

T5 - Can't get the tapestry 5 quickstart maven archetype to resolve

2008-10-18 Thread BarryDev
I was able to get the tapestry 5 quickstart archetype to download successfully a few days ago but now when I run the command I'm getting the following output: $ mvn archetype:create -DarchetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=quickstart -DgroupId=org.apache.tapestry -Dartifa

Re: How to integrate spring with tapestry (How to inject a service in to tapestry page)

2008-10-18 Thread Thiago H. de Paula Figueiredo
Em Sat, 18 Oct 2008 11:26:01 -0300, Sonu bhavsar <[EMAIL PROTECTED]> escreveu: I had created a service class and I need to inject it into the tapestry page Please tell me the steps. They're here: http://tapestry.apache.org/tapestry5/tapestry-spring/. -- Thiago H. de Paula Figueiredo Indep

Re: [T5] Page naigation using submit

2008-10-18 Thread Ville Virtanen
Always nice to re-invent the wheel eh? :D My implementation uses zero javascript. Does the Equanda component use js to submit? Also my component works with the normal T5 form, so no other components are required. (Noticed the "This component only works when embedded in a "equanda/FormSupport" com

Re: [T5] Page naigation using submit

2008-10-18 Thread Joachim Van der Auwera (PROGS bvba)
equanda-tapestry5 includes a link component which submits the page to assure the entered state is not lost. http://equanda.org/equanda-tapestry5 Kind regards, Joachim Ville Virtanen wrote: Hi, This must be discussed before, but I could not find anything using search and I seem to be having t

How to integrate spring with tapestry (How to inject a service in to tapestry page)

2008-10-18 Thread Sonu bhavsar
I had created a service class and I need to inject it into the tapestry page Please tell me the steps. I had used @Inject @Service("userManager") IUserManager usermanager; -- View this message in context: http://www.nabble.com/How-to-integrate-spring-with-tapestry-%28How-to-inject-a-service-in-t

[HOWTO] Context and page navigation aware submit button

2008-10-18 Thread Ville Virtanen
Dear list, I got fed up trying to find solution how to redirect after post, but couldn't find satisfying solution. (Use case wasn't the easiest..) So I extended the context submit button to enable the event handler method to return any of the page navigational objects listed here: http://tapestr

Re: [T5] Page naigation using submit

2008-10-18 Thread Ville Virtanen
Yes, but if you think the Tapestry 5 provided component TextField, you have exactly the same situation. The component does _not_ rely on any code on the page, only requirement is that it is enclosed in a form. I want that same thing, but I just need to do a redirect after submit if user presses a

Re: t5: using jetty

2008-10-18 Thread Angelo Chen
This works very well, thanks!!! Lutz Hühnken wrote: > > In your pom.xml, add a context handler to the jetty plugin: > > > org.mortbay.jetty > jetty-maven-plugin > > / > >