gwt and struts 2

2010-01-30 Thread Michael Finney
Hi, I am curious if / how people are getting GWT and Struts2 to work together in the GWT development environment. If you did get it to work, did you just copy files from your existing struts 2 outputs to the war file so GWT can see it? ( war file mentioned at http://code.google.com/webtoolkit/d

RE: redirectAction not working

2010-01-30 Thread Robby Atchison
Thanks for the suggestion. The configbrowser plugin indicates there are no results for the action in question. The question is why. Thanks, Rob -Original Message- From: Paweł Wielgus [mailto:poulw...@gmail.com] Sent: Saturday, January 30, 2010 6:03 AM To: Struts Users Mailing List Sub

Re: interceptor is not being called for all action

2010-01-30 Thread Jake Vang
okay, to answer my own question, yes, if you configure everything correctly, then you can get a customized stack to work for all Actions. the only thing you really need to do is add this line to struts.xml with this defined, you can remove the @ParentPackage and @InterceptorRef from the classes

Re: interceptor is not being called for all action

2010-01-30 Thread Jake Vang
okay, after fiddling around for 2 hours, with the weak documentation out there, i think i have it figured out. at least empirically, it works now. just in case there are other users out there who are running into this problem, let me explain what in the world i did. i know A LOT of other people hav

Re: interceptor is not being called for all action

2010-01-30 Thread Jake Vang
i read that section on that page 10 times and i don't know how that relates to my problem. there's simply not enough information. i guess it's pointing me to something about namespaces, but, how do we get around this? on the other hand, the rest of that page was informative on annotations and the

Re: interceptor is not being called for all action

2010-01-30 Thread Jake Vang
what does that have to do with my problem? please enlighten. On Sat, Jan 30, 2010 at 4:37 PM, Dave Newton wrote: > > http://struts.apache.org/2.x/docs/convention-plugin.html#ConventionPlugin-XWorkpackages > > > - Original Message > > From: Jake Vang > > To: user@struts.apache.org > > S

Re: interceptor is not being called for all action

2010-01-30 Thread Dave Newton
http://struts.apache.org/2.x/docs/convention-plugin.html#ConventionPlugin-XWorkpackages - Original Message > From: Jake Vang > To: user@struts.apache.org > Sent: Sat, January 30, 2010 4:10:31 PM > Subject: interceptor is not being called for all action > > i have written an interceptor

interceptor is not being called for all action

2010-01-30 Thread Jake Vang
i have written an interceptor implementation, however, it seems i cannot get it to work. i have followed the instructions at http://struts.apache.org/2.x/docs/interceptors.html. i have also followed the instructions at http://struts.apache.org/2.x/docs/how-do-we-configure-an-interceptor-to-be-used-

Modifying action mapping per device type

2010-01-30 Thread Marcus Bond
Hi, I am wanting to implement a site such that some actions may have a different mapping depending upon the device used (e.g. regular browser / mobile device etc.) but what I don't want to do is have to litter my actions with this type of logic. It could be at the result mapping level (i.e. i

Re: Different results with spring

2010-01-30 Thread Miguel
On Fri, Jan 29, 2010 at 19:09, Miguel wrote: > Hi, > Thanks for answering!! > I'll post my relevant configurations. I'm using spring 2.5.6 and struts > 2.1.8.1. > I have the spring plugin in the struts.conf, and my actions are > correctly autowired by name. > I also have an include in struts.conf

Re: Boolean Type Conversion

2010-01-30 Thread Roger
On Friday 29 January 2010 22:30:34 Wes Wannemacher wrote: > I don't know if I'd go too far creating a TypeConverter... Can you > just do something like this - > > YN > > Really, you could probably create a .tag file out of it and reuse it > easier than creating a Type Converter. > > -Wes > I ca

Re: Modifying action mapping per device type

2010-01-30 Thread Marcus Bond
Hi Wes, thanks for the post. I like the idea of being able to decorate screens differently depending on device without changing much existing code and I can see a use to this for example for pages being given a different footer to provide device specific links or adding side menus for devices

Re: redirectAction not working

2010-01-30 Thread Paweł Wielgus
Hi Rob, you might try ConfigBrowserPlugin, see why here: http://poulwiel.blogspot.com/2009/09/config-browser-plugin-in-struts2.html Best greetings, Paweł Wielgus. 2010/1/30 Robby Atchison : > Hello, > > > > I have the following configuration in a Struts.xml file.  The > paramsPrepareParamsStack