Re: [s2] Enhancement to Zero Config: Default Success Result

2007-03-02 Thread mraible
: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Enhancement-to-Zero-Config%3A-Default-Success-Result-tf3324150.html#a9279662 Sent from the Struts - Dev mailing list archive at Nabble.com

Re: [s2] Enhancement to Zero Config: Default Success Result

2007-03-01 Thread Ted Husted
On 2/28/07, mraible [EMAIL PROTECTED] wrote: One change I'd like to see to the codebehind plugin is the ability to specify the default location of pages. For example WEB-INF/pages. Or is that what the struts.codebehind.defaultPackage constant is for? I'd like to see that for all results. We

Enhancement to Zero Config: Default Success Result

2007-02-28 Thread mraible
there as well. Does the actionPackages configuration belong in struts.xml instead of web.xml? Thanks, Matt -- View this message in context: http://www.nabble.com/Enhancement-to-Zero-Config%3A-Default-Success-Result-tf3324150.html#a9241471 Sent from the Struts - Dev mailing list archive at Nabble.com

Re: Enhancement to Zero Config: Default Success Result

2007-02-28 Thread Tom Schneider
See http://struts.apache.org/2.x/docs/codebehind-plugin.html The very first line from the docs are: * Default results* - The purpose of most Actions is to execute code to prepare the data for a specific page. The name of this page is often the same as the Action itself. Is this not what your

Re: [s2] Enhancement to Zero Config: Default Success Result

2007-02-28 Thread mraible
: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Enhancement-to-Zero-Config%3A-Default-Success-Result-tf3324150.html#a9242858 Sent from the Struts - Dev mailing list archive at Nabble.com

Re: [s2] Enhancement to Zero Config: Default Success Result

2007-02-28 Thread David H. DeWolf
mraible wrote: Yes, this is what I'm looking for, and I was able to use it successfully. Strangely enough, I couldn't get the @Result annotation to work with zero config. Is there anything special I need to do for that? I use it and don't recall anything special. Do you have errors that

Re: [s2] Enhancement to Zero Config: Default Success Result

2007-02-28 Thread Dave Newton
--- David H. DeWolf [EMAIL PROTECTED] wrote: I'd also like to expand support so that all result values can be used as post fixes. Instead of supporting just page-success.jsp and page-input.jsp, why not support page-whatevertheresultis.jsp. Thoughts? +1 (I actually thought that was what

Re: [s2] Enhancement to Zero Config: Default Success Result

2007-02-28 Thread Tom Schneider
Guys, I think the codebehind plugin already supports all this. (The codebehind plugin consists of 1 whole java file!!) The property for default location of jsp's is: struts.codebehind.pathPrefix The docs just need to be updated. Looking at the code, it looks like it also supports all