Re: [s2] Sping WebFlow Integration

2006-07-26 Thread Craig McClanahan
On 7/26/06, Alexandru Popescu <[EMAIL PROTECTED]> wrote: What is SWF? I might have missed this acro :-[. SWF == Spring Web Flow http://opensource.atlassian.com/confluence/spring/display/WEBFLOW/Home ./alex Craig

Re: [s2] Sping WebFlow Integration

2006-07-26 Thread Alexandru Popescu
Oke... stupid me... it was obvious. ./alex -- .w( the_mindstorm )p. On 7/27/06, Alexandru Popescu <[EMAIL PROTECTED]> wrote: What is SWF? I might have missed this acro :-[. ./alex -- .w( the_mindstorm )p. On 7/27/06, Ted Husted <[EMAIL PROTECTED]> wrote: > Eric Molitor wrote: > http://forum

Re: [s2] Sping WebFlow Integration

2006-07-26 Thread Alexandru Popescu
What is SWF? I might have missed this acro :-[. ./alex -- .w( the_mindstorm )p. On 7/27/06, Ted Husted <[EMAIL PROTECTED]> wrote: Eric Molitor wrote: http://forums.opensymphony.com/thread.jspa?threadID=14251&tstart=15A > At "The Spring Experience" in Miami Keith Donald, > Myself, and Matthew

[s2] Sping WebFlow Integration

2006-07-26 Thread Ted Husted
Eric Molitor wrote: http://forums.opensymphony.com/thread.jspa?threadID=14251&tstart=15A At "The Spring Experience" in Miami Keith Donald, Myself, and Matthew Porter worked out a way it could be done and it was pretty simple. Once SAF2 starts solidifying I'd like to start playing around wit

Re: [s2] Snippet Macro

2006-07-26 Thread Ted Husted
On 7/24/06, Patrick Lightbody <[EMAIL PROTECTED]> wrote: The snippet binary is attached with a comment indicating the source and date. Assuming the Java.net source is current, could we patch it for the latest (and hopefully) last changes - org.apache.struts.action2. + org.apache.struts2. - h

[s2] Whither the a tag? (was Request parameter weirdness)

2006-07-26 Thread Ted Husted
I'm curious as to why the a tag is targeted for the Ajax theme but not so much for XHTML. * http://confluence.twdata.org/display/WW/a Right now, the preferred idiom for a localized link with parameters seems to be: en Why is it that we don't roll more of

Re: [s2] Request parameter weirdness

2006-07-26 Thread Ted Husted
On 7/26/06, Don Brown <[EMAIL PROTECTED]> wrote: The URL tag isn't meant to be used with a query string. The best way to write this would be: Well, since "en" is a constant, and not a stack reference, it needs to be quoted or parametized itself. Here's three idioms that work: Language

Re: Simple patch to update to spring stable

2006-07-26 Thread Don Brown
Done. Eric Molitor wrote: I just created and attached a patch to WW-1394 to update SAF2 to use Spring 1.2.8. This should resolve some silly spring issues that exist in 1.2.6 (and 1.2.7). (I have a more complex patch to update some of the spring integration but that needs to wait for Spring 2.00

Simple patch to update to spring stable

2006-07-26 Thread Eric Molitor
I just created and attached a patch to WW-1394 to update SAF2 to use Spring 1.2.8. This should resolve some silly spring issues that exist in 1.2.6 (and 1.2.7). (I have a more complex patch to update some of the spring integration but that needs to wait for Spring 2.00) Someone should take a gan

Re: Returning Result directly (was Re: DefaultActionMapper compatablity swi

2006-07-26 Thread Don Brown
Another reason why returning Results directly would be nice is it would make it much easier to add zero-config Action scripting support. Here is a case where you would want to write Actions in a scripting language like Groovy or Javascript, but not want any external configuration. Conventions, co

Re: Returning Result directly (was Re: DefaultActionMapper compatablity

2006-07-26 Thread Patrick Lightbody
With the understanding that this is an issue that needs to be treated carefully to avoid confusion, I think we should really give some serious thought to this. As someone who _has_ actually done annotation-based result mapping (I have setups with no xwork.xml - I can explain more if requested),

Re: [s2] auto build

2006-07-26 Thread Don Brown
Cool, I added the version to the javadoc plugin. When I get time, I'll do the same for the other ones. Don Wendy Smoak wrote: On 7/26/06, Don Brown <[EMAIL PROTECTED]> wrote: Yep, that broke it. I wouldn't exactly consider it really broken, however, since a clean Maven install would still

Re: [s2] Request parameter weirdness

2006-07-26 Thread Patrick Lightbody
Correct, the includeParams attribute needs to be set to 'none'. > The URL tag isn't meant to be used with a query > string. The best way to write > this would be: > > > > s:url> > > The reason is the url tag has this "includeParams" > tag, which can automatically > include all the query s

Re: [s2] Application Array (was (WW-1388) Shopping Cart Example throws HTTP 500)

2006-07-26 Thread Patrick Lightbody
+1 > On 7/26/06, Don Brown (JIRA) <[EMAIL PROTECTED]> wrote: > > I noticed this as well. If no one steps up to > maintain it, I'm inclined to remove it > >competely. I'd like to minimize the number of > example applications > we maintain, and it > >seems like any advanced AJAX shopping cart coul

Re: [s2] auto build

2006-07-26 Thread Wendy Smoak
On 7/26/06, Don Brown <[EMAIL PROTECTED]> wrote: Yep, that broke it. I wouldn't exactly consider it really broken, however, since a clean Maven install would still work. I'm not sure what you mean. Someone new to Maven would download the latest javadoc plugin, now 2.0, and it wouldn't work.

Re: [s2] auto build

2006-07-26 Thread Don Brown
Yep, that broke it. I wouldn't exactly consider it really broken, however, since a clean Maven install would still work. Can't we require certain versions of plugins to avoid this problem? I'm really getting tired of all these plugin version inconsistencies. Don Wendy Smoak wrote: On 7/26

Re: [s2] Request parameter weirdness

2006-07-26 Thread tm jee
or would do as well. - Original Message From: Don Brown <[EMAIL PROTECTED]> To: Struts Developers List Sent: Thursday, 27 July, 2006 12:27:05 AM Subject: Re: [s2] Request parameter weirdness The URL tag isn't meant to be used with a query string. The best way to write this would be:

Re: [s2] auto build

2006-07-26 Thread Wendy Smoak
On 7/26/06, Don Brown <[EMAIL PROTECTED]> wrote: Yep: [EMAIL PROTECTED] struts2]$ mvn site [INFO] Scanning for projects... ... [INFO] BUILD SUCCESSFUL Hmmm... try this: 'mvn site -U' It fails for me with both maven-javadoc-plugin 2.0 and 2.1-SNAPSHOT built from source. I wonder if you're

Re: [s2] auto build

2006-07-26 Thread Don Brown
Yep: [EMAIL PROTECTED] struts2]$ mvn site [INFO] Scanning for projects... [INFO] snapshot org.apache.struts:struts-master:3-SNAPSHOT: checking for updates from snapshots-maven-codehaus [INFO] snapshot org.apache.struts:struts-master:3-SNAPSHOT: checking for updates from apache [INFO] snapshot o

Re: [s2] auto build

2006-07-26 Thread Wendy Smoak
On 7/26/06, Don Brown <[EMAIL PROTECTED]> wrote: Hmm...the build works for me. Perhaps you have a snapshot javadoc plugin somewhere that is causing the problem? Don, 'mvn site' works for you? I get the same thing as Ted. It's coming from the aggregate=true configuration for maven-javadoc-pl

Re: [s2] Application Array (was (WW-1388) Shopping Cart Example throws HTTP 500)

2006-07-26 Thread Don Brown
Ted Husted wrote: On 7/26/06, Don Brown (JIRA) <[EMAIL PROTECTED]> wrote: I noticed this as well. If no one steps up to maintain it, I'm inclined to remove it competely. I'd like to minimize the number of example applications we maintain, and it seems like any advanced AJAX shopping cart cou

Re: [s2] auto build

2006-07-26 Thread Don Brown
Hmm...the build works for me. Perhaps you have a snapshot javadoc plugin somewhere that is causing the problem? Don Ted Husted wrote: On 7/26/06, James Mitchell <[EMAIL PROTECTED]> wrote: Now that Continuum is (or was) up and running, I'd like to let Continuum publish the web site as well.

Re: Returning Result directly (was Re: DefaultActionMapper compatablity

2006-07-26 Thread Don Brown
I think that is a reasonable compromise, although it will take a rewrite of the wildcard processing. Any objections before I open an XWork ticket for this? Don tm jee wrote: What about this, if we an action of "invoice_submit_ajax" - invoice_{*}_{*} where {1} will gives "submit" and {2} w

Re: [s2] Request parameter weirdness

2006-07-26 Thread Don Brown
The URL tag isn't meant to be used with a query string. The best way to write this would be: The reason is the url tag has this "includeParams" tag, which can automatically include all the query string parameters in the URL. The default value is GET, meaning all the GET parameters will

Re: Returning Result directly (was Re: DefaultActionMapper compatablity

2006-07-26 Thread Bob Lee
On 7/26/06, Jason Carreira <[EMAIL PROTECTED]> wrote: I understand that there are different ways to skin the cat, but what if I want to reuse my actions in different contexts? What if I want to call my action from a JBPM workflow? Do I need to subclass it to override the result that's returned?

[s2] Request parameter weirdness

2006-07-26 Thread Ted Husted
So, in the MailReader app, we are changing the locale via a link like this: Language Options ">English ">Japanese ">Russian But, when the link is invoked, it starts rewriting the selected value back to all the links. (Try it and see.0 * http://planetstruts.org/struts2-mailreader/Welc

Re: Returning Result directly (was Re: DefaultActionMapper compatablity

2006-07-26 Thread Tim Fennell
On Jul 26, 2006, at 11:00 AM, Jason Carreira wrote: I understand that there are different ways to skin the cat, but what if I want to reuse my actions in different contexts? What if I want to call my action from a JBPM workflow? Do I need to subclass it to override the result that's returne

Re: Returning Result directly (was Re: DefaultActionMapper compatablity

2006-07-26 Thread Jason Carreira
> Being able to return Result instances from Actions > doesn't > necessarily mean the lack of reuse of Results. This > is equivalent to > saying that because it's Java code you can't reuse > it. I didn't > realize that XML was the solution to lack of reuse in > OO ;) > > Seriously though,

Re: Returning Result directly (was Re: DefaultActionMapper compatablity swi

2006-07-26 Thread Jason Carreira
> > Oh please no... please no abstract methods with > magic implementations. What happens when you go to > debug the class? > > The debugger would step from your action into the > result. You rave > about Hibernate and AOP; how do you debug those? > It's one of the biggest problems with them. We

Re: Returning Result directly (was Re: DefaultActionMapper compatablity

2006-07-26 Thread Ted Husted
See also * http://issues.apache.org/struts/browse/WW-1393 * http://forums.opensymphony.com/thread.jspa?messageID=45763닃 -Ted. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

New Struts Committer: Antonio Petrelli

2006-07-26 Thread Greg Reddin
Please join us in welcoming Antonio Petrelli as a Struts committer. Antonio has been an active contributor on the mailing lists for quite some time and has contributed patches and ideas to the development of Tiles. We look forward to Antonio's contributions and his ability to commit his o

[s2] Application Array (was (WW-1388) Shopping Cart Example throws HTTP 500)

2006-07-26 Thread Ted Husted
On 7/26/06, Don Brown (JIRA) <[EMAIL PROTECTED]> wrote: I noticed this as well. If no one steps up to maintain it, I'm inclined to remove it competely. I'd like to minimize the number of example applications we maintain, and it seems like any advanced AJAX shopping cart could just as easily

Re: Returning Result directly (was Re: DefaultActionMapper compatablity

2006-07-26 Thread Tim Fennell
Being able to return Result instances from Actions doesn't necessarily mean the lack of reuse of Results. This is equivalent to saying that because it's Java code you can't reuse it. I didn't realize that XML was the solution to lack of reuse in OO ;) Seriously though, it's not uncommon i

Re: [action2] Free HostedQA account available

2006-07-26 Thread Ted Husted
I'm finally ready to give this a try, Patrick. I usually use "husted" as an account name for ASF/Struts related stuff. -Ted. On 5/5/06, Patrick Lightbody <[EMAIL PROTECTED]> wrote: My company, Autoriginate (http://www.autoriginate.com), has donated a free HostedQA account to all Struts develo

Re: [s2] auto build

2006-07-26 Thread Ted Husted
On 7/26/06, James Mitchell <[EMAIL PROTECTED]> wrote: Now that Continuum is (or was) up and running, I'd like to let Continuum publish the web site as well. More on this later (and probably in a different thread). FWIW, the infrastructure group has indicated a preference that we check the web

Re: [jira] Updated: (SITE-13) Enable nightly and continuous integration builds

2006-07-26 Thread Ted Husted
I might be able to help more the infrastructure after August 20. Unfoturnately, most of the time I had set aside this month to work on s2, went into s1. Now, it will be all I can do to nail down the examples and documentation. There's still a ton of work to do on that front, and it also looks like

Re: Returning Result directly (was Re: DefaultActionMapper compatablity

2006-07-26 Thread tm jee
What about this, if we an action of "invoice_submit_ajax" - invoice_{*}_{*} where {1} will gives "submit" and {2} will gives "ajax" - invoice_{**} where {1} will gives "submit_ajax" - invoice_{method}_{way} where {method} will gives "submit" and {way} will gives "ajax" - invoice_{methodAndW