Re: [OS-webwork] Anyone working on Spring Framework Integration?

2003-10-31 Thread Tim Dwelle
Cameron, I played around with doing something similar to this with Bebop, which is my own spiffy cool component container. I think integration with Spring would be fairly comparable. Basically, the ActionProxy needs an ActionConfig. So, you can either: specify enough in your xwork.xml so that

Re: [OS-webwork] Exception handler proposal

2003-10-31 Thread Francisco Hernandez
I was thinking of doing something just like this, i've got alot of boiler plate exception handling code in all my actions that i could get rid of by using something like this. Fred Lamuette wrote: Is there an exception handler mechanism in xwork ? Something like : that could redirect exceptions

[OS-webwork] Various fixes

2003-10-31 Thread Hani Suleiman
I've started on the cleanup of webwork 1.3 sources. if anyone is vaguely upset by any of this then please do speak up! This is what I've done so far: Moved all jars into directories under lib. We have lib/optional, lib/view, lib/core, and lib/build. I've removed the jasper report compilation f

[OS-webwork] Anyone working on Spring Framework Integration?

2003-10-31 Thread Cameron Braid
Is anyone working on integration between Xwork and the Spring Framework. I have managed to create a webwork interceptor that allows a xwork action to make use of any spring bean by creating a simple mapping. However, I would like a better soloution that uses spring as the action facory.. And I

Re: [OS-webwork] Exception handler proposal

2003-10-31 Thread Hani Suleiman
Err, why on earth would you want this in webwork? What's wrong with the exception handlers you can specify in web.xml, which work exactly as described below? On Oct 31, 2003, at 10:18 PM, Jason Carreira wrote: Nope... Interesting idea... Post a Jira issue for it... -Original Message- F

RE: [OS-webwork] XWork release

2003-10-31 Thread Jason Carreira
We'll see what we get to ... Definitely before 1.0 final > -Original Message- > From: Fred Lamuette [mailto:[EMAIL PROTECTED] > Sent: Friday, October 31, 2003 2:53 PM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] XWork release > > > Jason, > Do you plan to get the patch (XW-105) in th

RE: [OS-webwork] Exception handler proposal

2003-10-31 Thread Jason Carreira
Nope... Interesting idea... Post a Jira issue for it... > -Original Message- > From: Fred Lamuette [mailto:[EMAIL PROTECTED] > Sent: Friday, October 31, 2003 3:00 PM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] Exception handler proposal > > > Is there an exception handler mechanism

RE: [OS-webwork] Any hope of validating empty input text?

2003-10-31 Thread Jason Carreira
Because the property setting should catch the exception and add a field error... > -Original Message- > From: James Cook [mailto:[EMAIL PROTECTED] > Sent: Friday, October 31, 2003 2:31 PM > To: [EMAIL PROTECTED] > Subject: RE: [OS-webwork] Any hope of validating empty input text? > > >

Re: [OS-webwork] webwork 1.3

2003-10-31 Thread boxed
Hani Suleiman wrote: Would anyone mind terribly if I had shuffled things around in ww 1.3? The directory structure is annoying, the changes I'd like to make are to bring it more inline with other os projects, including: Great! Please consider applying my changes for more efficient URLBean/URLT

[OS-webwork] Exception handler proposal

2003-10-31 Thread Fred Lamuette
Is there an exception handler mechanism in xwork ? Something like : that could redirect exceptions inherited from mypack.ApplicationException to the myExceptionHandlerAction action ? Cheers. Richard HALLIER Chef de projet [EMAIL PROTECTED] 01.40.12.41.52 www.uniclick.org UNICLICK

[OS-webwork] XWork release

2003-10-31 Thread Fred Lamuette
Jason, Do you plan to get the patch (XW-105) in the next beta WW2 release ? Cheers. Richard HALLIER Chef de projet [EMAIL PROTECTED] 01.40.12.41.52 www.uniclick.org UNICLICK --- This SF.net email is sponsored by: SF.net Giveback Program. Doe

RE: [OS-webwork] Xwork Parse variables at dispatchers

2003-10-31 Thread Samuel Mota
Hi, >I'm not sure where you're looking... I refactored the 3 Result classes to all extend Ouch! You did exactly what I did :) ... Sorry, I was using the Beta 1 code ... I was planning patch at home because there I'm with the last CVS head. thanks Samuel ---

RE: [OS-webwork] Any hope of validating empty input text?

2003-10-31 Thread James Cook
> -Original Message- > Behalf Of Jason Carreira > You also get number format messages for non int values? > That's a bug... It should just add a field error... Here is the exception for a non-numeric value. How can this ever be a field error if OGNL throws this before the calidation inter

FW: [OS-webwork] Xwork Parse variables at dispatchers

2003-10-31 Thread Jason Carreira
-Original Message- From: Jason Carreira Sent: Friday, October 31, 2003 1:20 PM To: '[EMAIL PROTECTED]' Subject: RE: [OS-webwork] Xwork Parse variables at dispatchers I'm not sure where you're looking... I refactored the 3 Result classes to all extend com.opensymphony.webwork.dispatche

RE: [OS-webwork] Any hope of validating empty input text?

2003-10-31 Thread Jason Carreira
The problem with the empty field value is the Ognl 2.6.3 bug we've been waiting for a fix to for a while now... You also get number format messages for non int values? That's a bug... It should just add a field error... > -Original Message- > From: James Cook [mailto:[EMAIL PROTECTED] >

[OS-webwork] Re: Accessing errors using JSTL

2003-10-31 Thread Chris Nokleberg
James Cook wrote: > Does anyone have any good ideas for determining the presence of field or > action errors using only JSTL? > > > > Doesn't work, because a new HashMap is created on the fly. > > > > Doesn't work, because it would expect a getSize() function on the Map, > when the function i

[OS-webwork] Any hope of validating empty input text?

2003-10-31 Thread James Cook
I have the following field in my Action: Integer _personIDNumber; And the following input field in my JSP: My validation requirements are: You must enter a value for person ID number. When the code executes and I supply no value in the input

RE: [OS-webwork] Xwork Parse variables at dispatchers

2003-10-31 Thread Jason Carreira
I'm not sure where you're looking... I refactored the 3 Result classes to all extend com.opensymphony.webwork.dispatcher.WebWorkResultSupport, which delegates to subclasses after parsing the location parameter. > -Original Message- > From: Samuel Mota [mailto:[EMAIL PROTECTED] > Sent:

[OS-webwork] Accessing errors using JSTL

2003-10-31 Thread James Cook
Does anyone have any good ideas for determining the presence of field or action errors using only JSTL? Doesn't work, because a new HashMap is created on the fly. Doesn't work, because it would expect a getSize() function on the Map, when the function is size(). So, I have to resort to som

[OS-webwork] Xwork Parse variables at dispatchers

2003-10-31 Thread Samuel Mota
Hi, I was trying to use variables (${variable}) within results at xwork.xml with Dispatcher result type. So I noticed that this feature is not consistent through the 3 main result types (dispatcher, redirect and velocity). At (com.opensymphony.webwork.dispatcher): ServletRedirectResult.java:

Re: [OS-webwork] webwork 1.3

2003-10-31 Thread Hani Suleiman
Scott Farquhar wrote: Hani Suleiman <[EMAIL PROTECTED]> wrote .. Fine by me. If possible - leaving the source in the current directory (even if it is main) would be best, so as to preserve the file's history. Yeah definitely, source won't move. I don't think that there are many testcases for 1

Re: [OS-webwork] webwork 1.3

2003-10-31 Thread Hani Suleiman
Sebastiano Pilla wrote: At 14.57 31/10/2003, Hani Suleiman wrote: I don't mind, of course... but now that you mention it, what's the status of WW 1.3.1? The OS Jira shows that 22 of 56 issues have been fixed for the 1.3.1 version, and several OS committers are currently much more focused on WW

Re: [OS-webwork] webwork 1.3

2003-10-31 Thread Joseph Ottinger
Wouldn't it be a better use of your time to work on WW2? On Fri, 31 Oct 2003, Hani Suleiman wrote: > Would anyone mind terribly if I had shuffled things around in ww 1.3? > > The directory structure is annoying, the changes I'd like to make are > to bring it more inline with other os projects, in

Re: [OS-webwork] webwork 1.3

2003-10-31 Thread Sebastiano Pilla
At 14.57 31/10/2003, Hani Suleiman wrote: Would anyone mind terribly if I had shuffled things around in ww 1.3? The directory structure is annoying, the changes I'd like to make are to bring it more inline with other os projects, including: top level build.xml Moving all lib jars into one of lib

Re: [OS-webwork] webwork 1.3

2003-10-31 Thread Scott Farquhar
Hani Suleiman <[EMAIL PROTECTED]> wrote .. > Would anyone mind terribly if I had shuffled things around in ww 1.3? > > The directory structure is annoying, the changes I'd like to make are > to bring it more inline with other os projects, including: > > top level build.xml > Moving all lib jars

Re: [OS-webwork] webwork 1.3

2003-10-31 Thread Dick Zetterberg
That sounds great, please go ahead! While you're at it, please consider fixing so the build.xml file will be included in release builds (and working of course). Best regards, Dick Zetterberg [EMAIL PROTECTED] - Original Message - From: "Hani Suleiman" <[EMAIL PROTECTED]> To: <[EMAIL PR

[OS-webwork] webwork 1.3

2003-10-31 Thread Hani Suleiman
Would anyone mind terribly if I had shuffled things around in ww 1.3? The directory structure is annoying, the changes I'd like to make are to bring it more inline with other os projects, including: top level build.xml Moving all lib jars into one of lib/core, lib/optional, or lib/build Moving t