Re: [s2] extras-lib (was JUEL plugin (was Roadmap for the core taglib))

2007-11-07 Thread Brian Pontarelli
Tom Schneider wrote: On 11/6/07, Don Brown [EMAIL PROTECTED] wrote: Type conversion isn't tied to OGNL in 2.1. XWork has a new API (copied from OGNL) to abstract type conversion. Of course not all EL's support type conversion in the same way, so there may be issues down the road. i18N

Re: Struts 2 Plugin for Grails?

2007-11-07 Thread Mark Menard
Hi Matt, I was actually thinking about this recently when I saw a mention of the Wicket plugin someplace. It got me thinking. I've done a lot of work on using Groovy with Struts 2, but it has a long way to go. If there was a way to integrate S2 with Grails that would be really interesting. What

Re: SmartURLs crud-example (was [PROPOSAL] Merge Able/Code Behind/Zero-Config/SmartURLs into view-behind specification)

2007-11-07 Thread Brian Pontarelli
Brian Pontarelli wrote: Okay, I reproduced this pretty easily. The environment differences didn't matter. The /missing rendering /index is due to the default handling of missing actions that is performed by Struts/XWork I think. I'll have to figure out exactly which interceptor does this,

Struts 2 Plugin for Grails?

2007-11-07 Thread Matt Raible
Has anyone thought about creating a Struts 2 Plugin for Grails? There's one for Wicket - which proves you don't have to use the default web framework (Spring MVC). http://grails.org/Wicket+Plugin IMO, Grails Controllers look a lot more like Struts Actions than they do Spring MVC. I really

Re: SmartURLs crud-example (was [PROPOSAL] Merge Able/Code Behind/Zero-Config/SmartURLs into view-behind specification)

2007-11-07 Thread Brian Pontarelli
Okay, I reproduced this pretty easily. The environment differences didn't matter. The /missing rendering /index is due to the default handling of missing actions that is performed by Struts/XWork I think. I'll have to figure out exactly which interceptor does this, but I'm not a big fan of

Re: SmartURLs crud-example (was [PROPOSAL] Merge Able/Code Behind/Zero-Config/SmartURLs into view-behind specification)

2007-11-07 Thread Brian Pontarelli
Inspecting the HTTP requests: update returns a 404 with an iframe referencing /missing the get of /missing returns a 302 containing the index page subsequent requests are successfully performed within the /missing namespace ie. http://localhost:8080//missing/edit?id=0 Note the double / as

Re: SmartURLs crud-example (was [PROPOSAL] Merge Able/Code Behind/Zero-Config/SmartURLs into view-behind specification)

2007-11-07 Thread Brian Pontarelli
Inspecting the HTTP requests: update returns a 404 with an iframe referencing /missing the get of /missing returns a 302 containing the index page subsequent requests are successfully performed within the /missing namespace ie. http://localhost:8080//missing/edit?id=0 Note the double / as

Re: [PROPOSAL] Merge Able/Code Behind/Zero-Config/SmartURLs into view-behind specification

2007-11-07 Thread Brian Pontarelli
Ted Husted wrote: On Nov 5, 2007 1:44 PM, Brian Pontarelli [EMAIL PROTECTED] wrote: Okay. The example is in the SmartURLs repository: http://smarturls-s2.googlecode.com/svn/trunk/apps/crud-example/ Are you using a modified TLD? When I tried to run it in Eclipse, Tomcat complained

Re: [s2] extras-lib (was JUEL plugin (was Roadmap for the core taglib))

2007-11-07 Thread Tom Schneider
Putting down my work would only motivate me more. :) That's exactly how this was started back in February--Chris Brock was bragging about how superior MVEL was and how slow OGNL was. Well, we'll show him! Tom On 11/7/07, Ian Roughley [EMAIL PROTECTED] wrote: It's great that Tom is doing this

Re: [s2] extras-lib (was JUEL plugin (was Roadmap for the core taglib))

2007-11-07 Thread Ian Roughley
It's great that Tom is doing this work, and it wasn't my intent to put down the effort. I guess I was just trying to preempt given some of the OGNL threads. /Ian Tom Schneider wrote: LOL, I didn't know my efforts were going to cause such a raucous. :) Ted is correct--I started this on

Tomcat 6.0 + struts 1.1 = are they compatible?

2007-11-07 Thread ojasrege
We have a web jsp project that we are upgrading to Tomcat 6.0. We have run into a few technical errors, and so I'm wondering whether or not there are any issues in moving a struts 1.1 project to Tomcat 6.0. Does anyone know if there is anything that I'll have to rework to move to tomcat 6.0? --

Re: Tomcat 6.0 + struts 1.1 = are they compatible?

2007-11-07 Thread Dave Newton
Please ask on struts-user, struts-dev is for the development of Struts itself. It might be quicker to just try it. d. --- ojasrege [EMAIL PROTECTED] wrote: We have a web jsp project that we are upgrading to Tomcat 6.0. We have run into a few technical errors, and so I'm wondering

Re: Struts 2 Plugin for Grails?

2007-11-07 Thread Matt Raible
What I'd like is to use Grails to develop my application, but have it use Struts 2 under-the-covers instead of Spring MVC. As far as code differences between writing a Spring MVC Grails Controller and a Struts 2 Grails Controller - I don't think there needs to be any. The problem I'm

Re: Struts 2 Plugin for Grails?

2007-11-07 Thread Tom Schneider
Interesting idea! Another plug-in idea would be to see if there was a way to integrate grails flow: http://www.jcatalog.com/oss/grailsflow/whygrailsflow.html I've been considering ways to make the Spring Webflow Plugin easier. (We all know how much you like that plugin, Matt) There's just too

Re: [PROPOSAL] Merge Able/Code Behind/Zero-Config/SmartURLs into view-behind specification

2007-11-07 Thread Ted Husted
On Nov 7, 2007 11:02 AM, Brian Pontarelli [EMAIL PROTECTED] wrote: Nov 6, 2007 5:40:25 AM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet default threw exception org.apache.jasper.JasperException: /WEB-INF/content/index.jsp(32,12) According to TLD

Re: Struts 2 Plugin for Grails?

2007-11-07 Thread Tom Schneider
How are http://code.google.com/p/s2ss/ and http://code.google.com/p/groovyworks/ different? Looking at the code they look very similar. I've been trying to make sure the Plugin Registry is up to date and has all the plugins that are available, so I'm wondering if these are 2 separate entries, or

Re: [s2] extras-lib (was JUEL plugin (was Roadmap for the core taglib))

2007-11-07 Thread Tom Schneider
I agree, there's many failure modes that aren't being handle well in the value stack. Hopefully having more than one implementation will point to areas that need improvement. Another issue I ran into with regard to the ParametersInterceptor is that we are currently filtering anything that has a

Re: Struts 2 Plugin for Grails?

2007-11-07 Thread Mark Menard
On 11/7/07 1:38 PM, Matt Raible [EMAIL PROTECTED] wrote: What I'd like is to use Grails to develop my application, but have it use Struts 2 under-the-covers instead of Spring MVC. As far as code differences between writing a Spring MVC Grails Controller and a Struts 2 Grails Controller - I

Re: Struts 2 Plugin for Grails?

2007-11-07 Thread Mark Menard
On 11/7/07 2:58 PM, Tom Schneider [EMAIL PROTECTED] wrote: How are http://code.google.com/p/s2ss/ and http://code.google.com/p/groovyworks/ different? Looking at the code they look very similar. I've been trying to make sure the Plugin Registry is up to date and has all the plugins that are

Re: [s2] extras-lib (was JUEL plugin (was Roadmap for the core taglib))

2007-11-07 Thread Chris Brock
For the record, I still maintain that it's better :) Tom Schneider wrote: Putting down my work would only motivate me more. :) That's exactly how this was started back in February--Chris Brock was bragging about how superior MVEL was and how slow OGNL was. Well, we'll show him! Tom

Re: [PROPOSAL] Merge Able/Code Behind/Zero-Config/SmartURLs into view-behind specification

2007-11-07 Thread Brian Pontarelli
Ted Husted wrote: On Nov 6, 2007 6:58 AM, Ted Husted [EMAIL PROTECTED] wrote: Of course, for SmartURLs today, in order to use action validation we have to use the thin approach. The validation annotations for multiple methods are glommed together in 2.0, and SmartURLs doesn't seem to pickup

Re: SmartURLs crud-example (was [PROPOSAL] Merge Able/Code Behind/Zero-Config/SmartURLs into view-behind specification)

2007-11-07 Thread Jeromy Evans
Brian Pontarelli wrote: Brian Pontarelli wrote: Okay. That should be finished. It was somewhat tricky because the XWork runtime configuration returns a valid ActionConfig for any URL that ends in a / if you have a index action at the root. This is the default handling that I'm not very fond

Re: [s2] extras-lib (was JUEL plugin (was Roadmap for the core taglib))

2007-11-07 Thread Tom Schneider
Well, Richard Burton is supposed to be working on an MVEL value stack, so hopefully we'll be able to pit them all against each other. :) Tom On 11/7/07, Chris Brock [EMAIL PROTECTED] wrote: For the record, I still maintain that it's better :) Tom Schneider wrote: Putting down my work

Re: SmartURLs crud-example (was [PROPOSAL] Merge Able/Code Behind/Zero-Config/SmartURLs into view-behind specification)

2007-11-07 Thread Brian Pontarelli
Sorry, forgot to commit those changes. They are in now. -bp Jeromy Evans wrote: Brian Pontarelli wrote: Brian Pontarelli wrote: Okay. That should be finished. It was somewhat tricky because the XWork runtime configuration returns a valid ActionConfig for any URL that ends in a / if you

Re: Struts 2 Plugin for Grails?

2007-11-07 Thread Don Brown
On 11/8/07, Matt Raible [EMAIL PROTECTED] wrote: What I'd like is to use Grails to develop my application, but have it use Struts 2 under-the-covers instead of Spring MVC. As far as code differences between writing a Spring MVC Grails Controller and a Struts 2 Grails Controller - I don't think