Re: [S2] Validation aliases seem broken

2007-04-23 Thread Dave Newton
Oops, sorry; meant to not send this. --- Dave Newton <[EMAIL PROTECTED]> wrote: > --- Brian Pontarelli <[EMAIL PROTECTED]> wrote: > > And finally, I have a single validation file > named: > > > > NewsPersist-validation.xml > > > > What I figured would work was an XML file named: > > > > NewsPe

Re: [S2] Validation aliases seem broken

2007-04-23 Thread Dave Newton
--- Brian Pontarelli <[EMAIL PROTECTED]> wrote: > And finally, I have a single validation file named: > > NewsPersist-validation.xml > > What I figured would work was an XML file named: > > NewsPersist-save-validation.xml > > This doesn't seem to work however. Any ideas? Check the archives for

[S2] Validation aliases seem broken

2007-04-23 Thread Brian Pontarelli
I'm trying to put together a form that uses the bang notation for action methods and for whatever reason I can't seem to get the aliased validation XML files to work and have to resort to some fairly nasty @SkipValidation hacks. Anyone see this also or is there a patch for it in a version later

Re: ApacheCon

2007-04-23 Thread Dave Newton
--- Mark Menard <[EMAIL PROTECTED]> wrote: > On 4/23/07 1:03 PM, "Dave Newton" wrote: > Hey, is that a back handed compliment? ;) Sorta :) Part of the problem is that I find most of S2 fairly intuitive (a very good thing) but that makes it harder to know what people might want to know. You know?

Re: ApacheCon

2007-04-23 Thread Ian Roughley
I would be up for a collaboration, if there are others that are interested. /Ian Mark Menard wrote: On 4/23/07 1:03 PM, "Dave Newton" <[EMAIL PROTECTED]> wrote: --- Ian Roughley <[EMAIL PROTECTED]> wrote: Is anyone considering submitting a speaking proposal on s2 for ApacheCon this y

Re: ApacheCon

2007-04-23 Thread Mark Menard
On 4/23/07 1:03 PM, "Dave Newton" <[EMAIL PROTECTED]> wrote: > --- Ian Roughley <[EMAIL PROTECTED]> wrote: >> Is anyone considering submitting a speaking proposal >> on s2 for ApacheCon this year? > > I was going to, but I couldn't think of a good topic, > and Mark already took the only one I had

Re: ApacheCon

2007-04-23 Thread Dave Newton
--- Ian Roughley <[EMAIL PROTECTED]> wrote: > Is anyone considering submitting a speaking proposal > on s2 for ApacheCon this year? I was going to, but I couldn't think of a good topic, and Mark already took the only one I had thought of :) I'm open to suggestions, though. Dave ___

Re: PROPOSAL: S2 ajax validation

2007-04-23 Thread Musachy Barroso
That would be the function I mentioned before. With that in mind, I think it would be better to have the interceptor and the generic function in core, so it can be used with other js libraries. I was going to put it in the Dojo plugin as we are moving all the ajax stuff there, but it isn't specifi

Re: PROPOSAL: S2 ajax validation

2007-04-23 Thread Brian Pontarelli
Excellent. Well, then really all that is lacking is a generic JS script to handle the response and add errors to the form/labels/some div. It would be excellent to have a JS plugin model where developers can select the JS framework they want to use and then they can plugin to the Struts handlin

Re: PROPOSAL: S2 ajax validation

2007-04-23 Thread Musachy Barroso
By the way, should we ever bring the JSON plugin in? musachy On 4/23/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: Thanks for the code. Mine is very similar with some JSON encoding added. The resulting JSON is a little bit different: /* { "errors": [ "Error0", "Error1" ], "fi

Re: PROPOSAL: S2 ajax validation

2007-04-23 Thread Musachy Barroso
Thanks for the code. Mine is very similar with some JSON encoding added. The resulting JSON is a little bit different: /* { "errors": [ "Error0", "Error1" ], "fieldErrors": { "field1" : ["Error0", "Error1"], "field2": ["Error0", "Error1"], } } */ musachy On 4/23/07, Br

Re: PROPOSAL: S2 ajax validation

2007-04-23 Thread Brian Pontarelli
I've also done this exercise twice in the past and both times I used other JS libraries including prototype. My first solution was specifically for WebWork and I don't recall any changes I had to make when moving it over to Struts2. Perhaps it makes sense to ensure that this will be completely

ApacheCon

2007-04-23 Thread Ian Roughley
Is anyone considering submitting a speaking proposal on s2 for ApacheCon this year? /Ian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ApacheCon

2007-04-23 Thread Mark Menard
On 4/23/07 10:08 AM, "Ian Roughley" <[EMAIL PROTECTED]> wrote: > Is anyone considering submitting a speaking proposal on s2 for ApacheCon > this year? I have submitted three, one on Struts 2 interceptors, the other two on Struts 2 w/ Groovy, one a one hour intro, the other a half day training ses

Re: PROPOSAL: S2 ajax validation

2007-04-23 Thread Musachy Barroso
This would be for 2.1, and it would be in Bind.js. It is actually only one function, which will be calling the functions in validation.js(addError/clearErrors...). I'm planning to do some cleanup after that as we have some javascript/css files hanging around, which are not used. musachy On 4/23/

Re: PROPOSAL: S2 ajax validation

2007-04-23 Thread Ian Roughley
Is the Ajax code all in a module now (2.1.x)? Would this change be checked into the 2.0.x branch or just the trunk under the Ajax module, and then some cleanup/removal of existing code in the trunk? /Ian Musachy Barroso wrote: I have this working, but I want to give it a little more time to

Re: PROPOSAL: s1 modules module

2007-04-23 Thread James Mitchell
Ted, I'm willing to do s2 releases. However, even with the documentation on the wiki, the process still seems very complicated. As far as building and pushing bits around, I'm ok with it, but when it comes to the release notes and open/close jira issues, it's not totally clear (to me) wha

Re: PROPOSAL: s1 modules module

2007-04-23 Thread Antonio Petrelli
2007/4/23, Ted Husted <[EMAIL PROTECTED]>: On 4/23/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > Probably because making releases is (or better "was") a painful > operation. What if with 2 mere commands you created a release? The Struts 2 process is documented here: * http://struts.apache.o

Re: PROPOSAL: s1 modules module

2007-04-23 Thread Ted Husted
On 4/23/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote: Probably because making releases is (or better "was") a painful operation. What if with 2 mere commands you created a release? The Struts 2 process is documented here: * http://struts.apache.org/2.0.6/docs/creating-and-signing-a-distribut

Re: PROPOSAL: s1 modules module

2007-04-23 Thread Ted Husted
On 4/23/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote: What I don't want is to see another case of snapshot dependency. In the case of Struts 2 probably it was due to the lack of knowledge of integration package status: not all people knew, for example, that the dependency to Tiles 2 was to 2.0-

Re: PROPOSAL: s1 modules module

2007-04-23 Thread Antonio Petrelli
2007/4/23, Paul Benedict <[EMAIL PROTECTED]>: I totally agree, even to this day, that breaking out Struts 1 modules into independent releases is a bad idea. Why? Because it's essentially the framework spread across separate jars, and those truly have tight cohesion. Isn't it a problem of assem