Re: Converting action configuration from 2.0 to 2.1 - how to convert parameters to actions

2008-04-21 Thread Toni Lyytikäinen
I'm using 2.1.1-SNAPSHOT from the people.apache.org maven snapshot repository. I noticed 2.1.2-SNAPSHOT is already out, maybe I should try it. I have scope="prototype" in the actions that I've defined in the Spring configuration file. The problem also affects actions that are not in the Spring con

RE: Converting action configuration from 2.0 to 2.1 - how to convert parameters to actions

2008-04-18 Thread Brad A Cupit
>> I'm wondering if this is related to the CGLIB issue. Hrm...he's using the redirectAction which has been immune to the CGLIB issue (assuming we're talking about the same issue). The 'chain' result is prone to the CGLIB problem. Having said that, I haven't used Struts 2.1.x at all. The exception

Re: Converting action configuration from 2.0 to 2.1 - how to convert parameters to actions

2008-04-18 Thread Dave Newton
--- Toni Lyytikäinen <[EMAIL PROTECTED]> wrote: > Well, as I already posted in the issue, it turned out that this is somehow > caused by the Spring plugin. If I disable the Spring plugin, it works fine > (apart from the fact that my DAOs won't get injected to the actions, of > course). I'm wonderi

Re: Converting action configuration from 2.0 to 2.1 - how to convert parameters to actions

2008-04-18 Thread Randy Burgess
:54:14 +0300 > To: Struts Users Mailing List > Subject: Re: Converting action configuration from 2.0 to 2.1 - how to convert > parameters to actions > > Well, as I already posted in the issue, it turned out that this is somehow > caused by the Spring plugin. If I disable the Spr

Re: Converting action configuration from 2.0 to 2.1 - how to convert parameters to actions

2008-04-18 Thread Toni Lyytikäinen
Well, as I already posted in the issue, it turned out that this is somehow caused by the Spring plugin. If I disable the Spring plugin, it works fine (apart from the fact that my DAOs won't get injected to the actions, of course).

Re: Converting action configuration from 2.0 to 2.1 - how to convert parameters to actions

2008-04-18 Thread Toni Lyytikäinen
--- Original Message - From: "Toni Lyytikäinen" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > Sent: Friday, April 18, 2008 2:28 PM > Subject: Re: Converting action configuration from 2.0 to 2.1 - how to > convert parameters to actions > > &g

Re: Converting action configuration from 2.0 to 2.1 - how to convert parameters to actions

2008-04-18 Thread Al Sutton
: Friday, April 18, 2008 2:28 PM Subject: Re: Converting action configuration from 2.0 to 2.1 - how to convert parameters to actions Yes I forgot to mention in the original post that I already changed the "redirect-action" to "redirectAction" as per the migration guide here:

Re: Converting action configuration from 2.0 to 2.1 - how to convert parameters to actions

2008-04-18 Thread Toni Lyytikäinen
Yes I forgot to mention in the original post that I already changed the "redirect-action" to "redirectAction" as per the migration guide here: http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html On Fri, Apr 18, 2008 at 4:26 PM, Dave Newton <[EMAIL PROTECT

Re: Converting action configuration from 2.0 to 2.1 - how to convert parameters to actions

2008-04-18 Thread Dave Newton
I'm confused; I didn't think "redirect-action" would even work; that result type isn't mapped in 2.1 and you should get an exception stating exactly that. Dave --- Jukka Välimaa <[EMAIL PROTECTED]> wrote: > For Struts 2.1.1, use type="redirectAction" instead of > type="redirect-action". I just h

Re: Converting action configuration from 2.0 to 2.1 - how to convert parameters to actions

2008-04-18 Thread Toni Lyytikäinen
oni, > > Try using redirectAction instead of redirect-action. > > Al. > > - Original Message - From: "Don Brown" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > Sent: Friday, April 18, 2008 2:12 PM > Subject: Re: Converting action

Re: Converting action configuration from 2.0 to 2.1 - how to convert parameters to actions

2008-04-18 Thread Al Sutton
Toni, Try using redirectAction instead of redirect-action. Al. - Original Message - From: "Don Brown" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Friday, April 18, 2008 2:12 PM Subject: Re: Converting action configuration from 2.0 to 2.1 - how

Re: Converting action configuration from 2.0 to 2.1 - how to convert parameters to actions

2008-04-18 Thread Jukka Välimaa
For Struts 2.1.1, use type="redirectAction" instead of type="redirect-action". I just had the pleasure of debugging some problems caused by it. On Fri, Apr 18, 2008 at 4:12 PM, Don Brown <[EMAIL PROTECTED]> wrote: > Hmm...what should happen is those exceptions should be logged as a > warn, but the

Re: Converting action configuration from 2.0 to 2.1 - how to convert parameters to actions

2008-04-18 Thread Don Brown
Hmm...what should happen is those exceptions should be logged as a warn, but the process should continue like normal. If that isn't the case, definitely file a bug and put it against 2.1.2 Don On Fri, Apr 18, 2008 at 11:11 PM, Toni Lyytikäinen <[EMAIL PROTECTED]> wrote: > Hello, > > I'm in the

Converting action configuration from 2.0 to 2.1 - how to convert parameters to actions

2008-04-18 Thread Toni Lyytikäinen
Hello, I'm in the process of converting a Struts 2.0.11 application to Struts 2.1.1, and ran into some trouble concerning the action result configuration in struts.xml. Basically this is what I had in 2.0.11: Users_edit true ${user.username} This resulted in an url like http://.../Users_