[s2] The death of the .action extension

2007-09-08 Thread Don Brown
A long time coming, it is now possible (and practical) to get rid of extensions altogether, hence the subject, the death of the .action extension. With WW-2163 [1], Struts can make the distinction between a setting that has Struts match all URL's, and one that only matches URLs with no extension,

RE: [s2] The death of the .action extension

2007-09-08 Thread James Holmes
Nice work! I've just started working on a Rails app to get more familiar with the Rails framework and I must say I like the Rails routing scheme a lot! The closer we can get to the way Rails does things, the better we are in my opinion. James -Original Message- From: Don Brown

Re: [s2] The death of the .action extension

2007-09-08 Thread Tom Schneider
What kind of strange new world will it be without .action? I've grown so used to it I can't imagine not using it. So you're saying you would have the same url without the .action part? Now that we have all these options for mapping url's to actions/parameters, is there a new recommended

Re: [s2] The death of the .action extension

2007-09-08 Thread Don Brown
On 9/8/07, Tom Schneider [EMAIL PROTECTED] wrote: What kind of strange new world will it be without .action? I've grown so used to it I can't imagine not using it. So you're saying you would have the same url without the .action part? Yes. Now that we have all these options for mapping

[s2] OGNL abstracted (was Struts 2 and OGNL findings)

2007-09-08 Thread Don Brown
Ok, so take that last bit I said about wanting to keep with OGNL tied throughout our code and scrap it. I've just finished the first step in a major refactoring of our OGNL usage, both in XWork and Struts, and have found a way to put all code that references OGNL in any way in its own package,

Re: [s2] The death of the .action extension

2007-09-08 Thread Tom Schneider
Don Brown wrote: Right, and that's why I didn't move to kill it off for 2.1. Give it some time, let the feature get some exercise, then if all agree, we could change the default later. As with any new feature, I'd put it in a sort of experimental category for at least one major release. So,

[OSS Bamboo] Struts 2 SVN - Main Build build 517 has FAILED (1 tests failed). Change made by phil

2007-09-08 Thread Atlassian Open Source Bamboo Integration Server
The project Struts 2 SVN - Main Build has the following 1 change by 1 author: *phil* made the following changes at Comment: Made some minimal changes to improve the JFreeChart Result: - chart getter can be specified - type (png/jpg) can be specified - throws NPEs if required fields are missing

[OSS Bamboo] Struts 2 SVN - Main Build (Java 6) build 171 has FAILED (0 tests failed). Change made by phil

2007-09-08 Thread Atlassian Open Source Bamboo Integration Server
The project Struts 2 SVN - Main Build (Java 6) has the following 1 change by 1 author: *phil* made the following changes at Comment: Made some minimal changes to improve the JFreeChart Result: - chart getter can be specified - type (png/jpg) can be specified - throws NPEs if required fields

[OSS Bamboo] Struts 2 SVN - Main Build build 518 has FAILED (1 tests failed). Change made by phil

2007-09-08 Thread Atlassian Open Source Bamboo Integration Server
The project Struts 2 SVN - Main Build has the following 1 change by 1 author: *phil* made the following changes at Comment: Missed JUnit test in last commit. Still having troubles to get the testcases to run normally. If this commit doesn't solve it, I might need some more time to fix this.

[OSS Bamboo] Struts 2 SVN - Main Build (Java 6) build 172 has FAILED (1 tests failed). Change made by phil

2007-09-08 Thread Atlassian Open Source Bamboo Integration Server
The project Struts 2 SVN - Main Build (Java 6) has the following 1 change by 1 author: *phil* made the following changes at Comment: Missed JUnit test in last commit. Still having troubles to get the testcases to run normally. If this commit doesn't solve it, I might need some more time to

[OSS Bamboo] Struts 2 SVN - Main Build build 519 was SUCCESSFUL (with 710 tests). Change made by phil

2007-09-08 Thread Atlassian Open Source Bamboo Integration Server
The project Struts 2 SVN - Main Build has the following 1 change by 1 author: *phil* made the following changes at Comment: Fixed class to pass unit test. Don't really like the solution, but for now it should work.

[OSS Bamboo] Struts 2 SVN - Main Build (Java 6) build 173 was SUCCESSFUL (with 710 tests). Change made by phil

2007-09-08 Thread Atlassian Open Source Bamboo Integration Server
The project Struts 2 SVN - Main Build (Java 6) has the following 1 change by 1 author: *phil* made the following changes at Comment: Fixed class to pass unit test. Don't really like the solution, but for now it should work.

Re: [s2] The death of the .action extension

2007-09-08 Thread Brian Pontarelli
Hehe. I actually did this same exercise for the SmartURLs plugin. It is running on a number of live sites we built and works well. I'm glad to see that this will be incorporated into core. One of the things I made sure to handle as well were the indexes for URLs like: 1.

Re: [s2] The death of the .action extension

2007-09-08 Thread Don Brown
Personally, I think we have a lot to learn from rails as they play very well off the strengths of the action-based Model2 architecture. Action-based frameworks strengths: * Simple workflow as in URL - Action - View * Intuitive (using conventions) URL - Action mappings * RESTful by being close