RE: [OS-webwork] Long running tasks

2004-03-03 Thread Ben Hall
Providing the time it took your action to complete didn't time out the request you could always have a hidden div tag that displays some sort of loading dialog/image over the top of everything else when the action is triggered. When the form is posted you set the hidden div style to be visible

RE: [OS-webwork] Changes to UI tags

2004-02-24 Thread Ben Hall
Ignore this sorry - the error I was seeing was caused by a different change :) -Original Message- From: Ben Hall [mailto:[EMAIL PROTECTED] Sent: 24 February 2004 12:16 To: '[EMAIL PROTECTED]' Subject: [OS-webwork] Changes to UI tags I've just updated to latest cvs sources - my last

RE: AW: [OS-webwork] action chaining fun

2003-12-05 Thread Ben Hall
be great. I'll flesh out any details that need to be added. -Original Message- From: Ben Hall [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 10:48 AM To: '[EMAIL PROTECTED]' Subject: RE: AW: [OS-webwork] action chaining fun Having spent some time wrestling

RE: AW: [OS-webwork] action chaining fun

2003-12-04 Thread Ben Hall
Having spent some time wrestling with this myself, this sort of info would be nice to be added to the Wiki somewhere :) What's the best place for it and i'll add it ? -Original Message- From: Jason Carreira [mailto:[EMAIL PROTECTED] Sent: 04 December 2003 15:46 To: [EMAIL PROTECTED]

[OS-webwork] Multiple submit buttons from forms

2003-11-14 Thread Ben Hall
I used to have this working but it doesn't seem to anymore. I had a look at: http://wiki.opensymphony.com/space/Multiple+Submit+Buttons http://wiki.opensymphony.com/space/Webwork+2+HTML+form+buttons+Howto I've followed all their instructions but everytime my boolean setter gets called, the value

[OS-webwork] Parametized tags question

2003-11-12 Thread Ben Hall
Hi, Is it possible at all to add additional parameters to a tag without using the nested #param directive within Velocity ? Currently, i'd do something like this: #bodytag (Component template=..) #param (extraField value) #end Is it posible to do it somehow like this: #tag (Component

[OS-webwork] Caching pages after invalidating session

2003-09-12 Thread Ben Hall
I'm trying to expire my pages after i've invalidated my session within webwork and i'm having problems. If I log out (invalidate) and the hit back on my browser then everything's still there. If I try and do something with that information, I get redirected to back to my sign on page as there's

RE: [OS-webwork] Caching pages after invalidating session

2003-09-12 Thread Ben Hall
); resp.setHeader(Cache-control, no-store); resp.setHeader(Pragma, no-cache); resp.setHeader(Expires, 0); } chain.doFilter(request, response); If anyone can think of a better way to handle this, let me know! -Original Message- From: Ben Hall [mailto:[EMAIL PROTECTED] Sent: 12

[OS-webwork] Ognl changes

2003-09-12 Thread Ben Hall
I updated to the latest CVS sources today, I hadn't done so in about a month and after I did I noticed that a feature of Ognl appears to have stopped working. Previously, you'd be able to put a map on the value stack and be able to access all the objects through the keys within velocity

[OS-webwork] RequiredFieldValidator

2003-08-19 Thread Ben Hall
I'm trying to make the required field validator work for me but i'm having a slight problem. The value that is returned by the call within the validator - getFieldValue(fieldName, object), seems to always return a non null value. My velocity template looks a little like this: table form

RE: [OS-webwork] RequiredFieldValidator

2003-08-19 Thread Ben Hall
for that action. Ben Hall wrote: I'm trying to make the required field validator work for me but i'm having a slight problem. The value that is returned by the call within the validator - getFieldValue(fieldName, object), seems to always return a non null value. My velocity template looks a little

RE: [OS-webwork] IoC and Components.xml

2003-08-14 Thread Ben Hall
-Original Message- From: Ben Hall [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 6:05 AM To: WebWork (E-mail) Subject: [OS-webwork] IoC and Components.xml Hi, I've just started using WebWork 2 (I skipped WebWork 1) and I'm having some problems getting IoC to work. I have

[OS-webwork] Velocity context questions

2003-08-14 Thread Ben Hall
I have a quick question and a long question about velocity context. 1. Is it possible to get a handle to the current action through something like $action ? 2. I'd like to run a method off my action. Normally i'd do something like this: List someInstanceVariable; (and have getters and setters

[OS-webwork] Forms with multiple submit buttons

2003-08-14 Thread Ben Hall
I had a read through the archives and saw that a question about multiple submit buttons was posted almost a month ago. Was it ever resolved how to do this ? I think it was possible in Webwork 1: http://wiki.opensymphony.com/space/Using+CommandDriven+Actions I found this on Webwork 2 but it

[OS-webwork] Session invalidation and exceptions

2003-08-14 Thread Ben Hall
Hi, I'm trying to get my session management working and i'm getting a few errors. I'm using Win2k / Java 1.4.1_02 / Tomcat 4.1.24. Apologies in advance for badly formatted stack traces. 1. I get the following exception when Tomcat starts and there are sessions persisted: IOException while