Re: NPE in prepareContinuation()

2006-12-18 Thread Tom Schneider
What version of xwork are you using? Can you debug into this code and tell us what's null? I looked at the latest xwork1 trunk (that method didn't exist in xwork2 trunk) and the only thing that would throw a nullpointerexception is if the stack or the context of the stack were null. Without

[1.3] Is there any init method for a Command based requestProcessor

2006-12-18 Thread nicolas de loof
Hello, I'm trying to create a custom CreateAction command to be plugged in the CoR RequestProcessor of Struts 1.3 This command will handle Spring autowiring of commands, but requires initiali acces to the servletContext to get the Spring WebApplicationContext. I can make this init from the

Re: OGNL performance detrimental to Struts 2

2006-12-18 Thread Jessek
I'm still not getting all of the hand wringing that is going on in this thread about ognl. There is what I think a perfectly reasonable solution that will help finish up those last remaining bits that ognl needs to really be production ready. Despite whatever we want to call it you could

Re: We need to clean up the Struts 2 AJAX tags (was Re: Additional UI tags)

2006-12-18 Thread Ian Roughley
Don Brown wrote: As much as I absolutely hate to say it, I think we need to resolve this ajax tag issue before 2.0 goes GA. The AJAX support of Struts 2 gets so much attention by the community that to have a brittle, poorly supported feature that we hope to remove in the next release will

Re: OGNL performance detrimental to Struts 2

2006-12-18 Thread Ted Husted
OGNL isn't a subproject of Struts, and so there's not anything we do about changing OGNL from here. AFAIK, everyone in the Struts and WebWork projects have been treating OGNL as black box. The place to start would be by posting to the OGNL developers forum. *

Re: We need to clean up the Struts 2 AJAX tags (was Re: Additional UI tags)

2006-12-18 Thread Ted Husted
On 12/18/06, Ian Roughley [EMAIL PROTECTED] wrote: On the other hand, ripping the ajax tags out would affect backwards compatibility. Are a lot of users out there using these tags? Could the migration be simple or would it involve too much effort? I have never gotten much of an answer

JIRA comment spam deletion tool

2006-12-18 Thread Don Brown
When removing SPAM from our Struts JIRA, please use this tool: https://issues.apache.org/struts/secure/admin/cleancommentspam.jsp This page is only available to JIRA administrators and if you are a Struts committer, you should have access. If not, let me know. Don

Re: We need to clean up the Struts 2 AJAX tags (was Re: Additional UI tags)

2006-12-18 Thread Ian Roughley
Personally, I have only WW2 apps with the ajax theme in production and there is no intention of upgrading anytime soon. I would also be surprised if any of the other committers have projects based on the ajax theme in production. /Ian Ted Husted wrote: On 12/18/06, Ian Roughley [EMAIL

Problems with Tiles 2 and WS 5

2006-12-18 Thread Stone, Sam
I got my entire app working on Websphere 5 (servlet 1.2, jsp 2.3, jdk 1.4.2) using the tiles-core-2.0-SNAPSHOT.jar from 9/14/2006 (filesize: 128880, CRC: 3F46E3BF). I did have to use jstl.jar and standard.jar (not the 1.1.2 versions) because of this WebSphere environment. I'd like to either: A)

Re: OGNL performance detrimental to Struts 2

2006-12-18 Thread Chris Brock
I think the problem is that the Tapestry solution is simply a property accessor package, which doesn't really meet the needs of the established WebWork community which relies on expressions in addition to properties to accomplish tasks. That being said, my project (MVEL) stands willing to step

Re: Problems with Tiles 2 and WS 5

2006-12-18 Thread David H. DeWolf
I'll try to hit both questions 1) The answer to your first question is easy: http://svn.apache.org/repos/asf/struts/sandbox/trunk/ 2) a) yes, a lot has changed. Tiles2 is a revolution, not an evolution b) yes, we now require 1.5, though the plan is to provide retro weaver distributions.

Re: OGNL performance detrimental to Struts 2

2006-12-18 Thread Jessek
I'm not sure what you mean by property accessor. The Tapestry community is just as tied down/used to using ognl expressions as much as any other. Tapestry-prop is a side project Howard created for very specific consulting engagements where the performance overhead of ognl was unacceptable for

Re: OGNL performance detrimental to Struts 2

2006-12-18 Thread Chris Brock
Why do you think it would be so terribly difficult? What does MVEL not support that is currently supported by OGNL that would not be fixable by a few tweaks to MVEL's syntax? Generally, MVEL's API architecture follows the same pattern as OGNL, supports type coercion, conversion, projections,

No mapping found for dependency

2006-12-18 Thread Ted Husted
On the ticket for generating ActionConfigs for all potential alias methods, the initial unit tests are passing, but when integrating the provider into the runtime code, an exception is being thrown that I don't understand. The exception crops up when integrating the code with the

Re: OGNL performance detrimental to Struts 2

2006-12-18 Thread Ted Husted
Me too. On 12/18/06, Don Brown [EMAIL PROTECTED] wrote: If you can find a way to completely replace OGNL by MVEL, I'd be very interested to see it. :) Don Chris Brock wrote: I think the problem is that the Tapestry solution is simply a property accessor package, which doesn't really meet

Re: No mapping found for dependency

2006-12-18 Thread Don Brown
The exception is thrown because, for some reason, the bean selector configuration provider isn't providing a factory for the default mapping of ActionMapper. Is your new configuration provider preempting it somehow? Don Ted Husted wrote: On the ticket for generating ActionConfigs for all

Re: OGNL performance detrimental to Struts 2

2006-12-18 Thread Don Brown
I'd like it to be possible for a Struts developer to swap in a new EL, perhaps MVEL, if they didn't like OGNL for some reason. If you can create a patch to make that happen, I would consider it my early Christmas present :) Don Chris Brock wrote: Why do you think it would be so terribly

Re: OGNL performance detrimental to Struts 2

2006-12-18 Thread Chris Brock
Don't dare me. I'm pretty ambitious. I wrote MVEL 1.0 in three days. Don Brown-2 wrote: I'd like it to be possible for a Struts developer to swap in a new EL, perhaps MVEL, if they didn't like OGNL for some reason. If you can create a patch to make that happen, I would consider it my

Re: OGNL performance detrimental to Struts 2

2006-12-18 Thread Don Brown
Well, I dare you then: http://issues.apache.org/struts/browse/WW-1566 :) Don Chris Brock wrote: Don't dare me. I'm pretty ambitious. I wrote MVEL 1.0 in three days. Don Brown-2 wrote: I'd like it to be possible for a Struts developer to swap in a new EL, perhaps MVEL, if they didn't

Re: OGNL performance detrimental to Struts 2

2006-12-18 Thread David H. DeWolf
I double dare you :) Don Brown wrote: Well, I dare you then: http://issues.apache.org/struts/browse/WW-1566 :) Don Chris Brock wrote: Don't dare me. I'm pretty ambitious. I wrote MVEL 1.0 in three days. Don Brown-2 wrote: I'd like it to be possible for a Struts developer to swap in a

Re: [1.3] Is there any init method for a Command based requestProcessor

2006-12-18 Thread nicolas de loof
This seems to be required anyway as Spring integration to struts uses a per (struts) module application context. 2006/12/18, Niall Pemberton [EMAIL PROTECTED]: On 12/18/06, nicolas de loof [EMAIL PROTECTED] wrote: Hello, I'm trying to create a custom CreateAction command to be plugged in

Re: Problems with Tiles 2 and WS 5

2006-12-18 Thread Antonio Petrelli
Stone, Sam ha scritto: 1) changed all my tiles-defs to use tiles-config_2_0.dtd instead of 1.1 I hope you validated the XML file, did you? 2) changed all my tiles:insert statements to tiles:insertDefinition That's wrong, you have to change tiles:insert in