Re: Feedback on application status page

2009-06-26 Thread Jason Lotz
that feel free to comment on the > above issue and we'll take the discussion from there. > > On Thu, Jun 25, 2009 at 23:45, Jason Lotz wrote: > > > I implemented this code as a component that could be used on any page (or > > in > > my case, at the bottom of Layout.t

Re: Feedback on application status page

2009-06-25 Thread Jason Lotz
I implemented this code as a component that could be used on any page (or in my case, at the bottom of Layout.tml). This component also checks the Tapestry mode to determine whether or not to show itself. The other primary change that I made is that I'm using in-line styles so that it is complete

Re: SPRING_SECURITY_CONTEXT still in session even after server restart

2009-06-17 Thread Jason Lotz
Ah, interesting. This sounds like the culprit. Thanks! Jason On Wed, Jun 17, 2009 at 12:17 AM, Kalle Korhonen wrote: > By default, Tomcat tries to store sessions on disk. Other than the > SPRING_SECURITY_CONTEXT object you didn't have serializable objects in > your application. On Windows, sa

SPRING_SECURITY_CONTEXT still in session even after server restart

2009-06-16 Thread Jason Lotz
Environment - Tomcat 5.5, Ubuntu 9.04, Tapestry 5.1, Spring Security Framework 2.0.4 Note that this does not seem to happen under Windows deployments. Everything in the application works fine under normal circumstances. When a user successfully logs in, the session has a few objects added to it,

Re: Hooks for code on every page request

2009-06-15 Thread Jason Lotz
Thanks, I think the request filter is what I was looking for. Jason On Sun, Jun 14, 2009 at 11:26 AM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Sun, 14 Jun 2009 02:12:34 -0300, Angelo Chen < > angelochen...@yahoo.com.hk> escreveu: > > maybe dispatcher? you can find a relat

Hooks for code on every page request

2009-06-13 Thread Jason Lotz
Are there any standard hooks in the Tapestry framework that I should use if I want to process some logic on each page request? The quick-and-dirty solution for my architecture would be to put this logic in the layout component as it is called on each page request. However, as this is my first Tap

Clearing field values after form validation

2009-04-23 Thread Jason Lotz
I have a simple form that does some server-side validation in the onValidate() method. When the form is invalid, I have confirmed that it correctly calls my onFailure() method which is defined as - void onFailure() { // Clear the previous password and captcha fields. passw