Re: Struts 2 Components

2012-01-31 Thread Jeromy Evans
://engineering.linkedin.com/frontend/leaving-jsps-dust-moving-linkedin-dustjs-client-side-templates Regards, Jeromy Evans On 28/01/2012, at 10:28 PM, Christian Grobmeier wrote: Great examples. I will look into it. May I ask you why you didn't develop this at the struts repos? With dojo tags going

S2.3 sitemesh uses both StrutsPrepareFilter and StrutsListener

2012-01-19 Thread Jeromy Evans
. Regards, Jeromy Evans

Re: Convention/XWork on GAE: unable to get members (SecurityException)

2009-08-25 Thread Jeromy Evans
On 25/08/2009, at 2:28 AM, Musachy Barroso wrote: would it help to have a maven archetype for S2 and GAE? musachy Yes, but not yet I think. The GAE team only support an ant build process and I'd like to see the maven-based build converge a little more. At the moment everyone rolls

Re: Build requires JDK 1.6 now - EmbeddedJSP plugin

2009-08-25 Thread Jeromy Evans
On 25/08/2009, at 2:59 AM, Musachy Barroso wrote: Everything should be included in the default build. We can add a profile to exclude the plugin from building, just like we did with assembly. musachy Just trying to summarize: - the default build should include everything (requires JDK 1.6

Re: Convention/XWork on GAE: unable to get members (SecurityException)

2009-08-24 Thread Jeromy Evans
On 24/08/2009, at 1:29 PM, Jeromy Evans wrote: As a work-around (guess), I changed it to cimpl.getDeclaredClasses() instead which is permitted (I don't know if this has the same effect on the ClassLoader). That got me past the issue above, but the same SecurityException occurs

Build requires JDK 1.6 now - EmbeddedJSP plugin

2009-08-23 Thread Jeromy Evans
that module (is that even possible?) regards, Jeromy Evans - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org

Convention/XWork on GAE: unable to get members (SecurityException)

2009-08-23 Thread Jeromy Evans
guess I need to approach the GAE forum now. Has anyone got any ideas about what to attempt next on the S2/Xwork side? Stack traces for the two cases are below. regards, Jeromy Evans Failed startup of context com .google.apphosting.utils.jetty.runtimeappenginewebappcont...@67fe80

Re: Seeking reflections on our tag library (as a framework)

2009-08-17 Thread Jeromy Evans
templates and duplication of templates for every new theme is necessary (theme inheritance doesn't work as one would expect). There's no easy fix to that. cheers, Jeromy Evans On 12/08/2009, at 12:19 AM, Don Brown wrote: At Atlassian, every application seems to have picked a different web

Re: Accessing properties set in struts.xml and/or struts.properties

2009-02-28 Thread Jeromy Evans
= dispatcher.getConfigurationManager().getConfiguration(); StrutsPrepareFilter will still need to chain to the next filter, so you'll also have to modify the StrutsExecuteFilter so it doesn't run but does chain to its next filter. Doesn't seem very elegant. Hope that gets you started. regards, Jeromy

Re: [OT] I nominate Musachy for the Got a bunch of stuff done award.

2009-01-14 Thread Jeromy Evans
Yes, thank you for taking on such a leadership and ownership role Musachy. At the very least, you've earned free accommodation in spare beds and on sofas across the globe when you next travel. On 14/01/2009, at 5:17 AM, Dave Newton wrote: Really, we owe him a lot for this release. What

Re: Struts 2.1.6 not working with Struts 2 JSON Plugin

2009-01-14 Thread Jeromy Evans
I've used it with 2.1. If I recall correctly, only the unit tests needed to be modified. There's a patch sitting on my machine jsonplugin4struts21.patch that's probably linked to one of the issues in the bug tracker. On 15/01/2009, at 7:54 AM, James Holmes wrote: Ok, thanks. I am

Re: [VOTE] Struts 2.1.6 Quality

2009-01-08 Thread Jeromy Evans
+1 GA Thanks Musachy. REMINDER: the struts-2.1 DTD should be published at http://struts.apache.org/dtds/struts-2.1.dtd Note: the wiki contains a page about migrating applications from 2.0.x to 2.1x. If anyone has any improvements please include them. It's referenced in the release

Re: 2.1.5 release quality

2009-01-03 Thread Jeromy Evans
On 04/01/2009, at 4:17 AM, Musachy Barroso wrote: 2. I am not sure about the camel case problem. I guess we could add another flag to search for camel-cased results, instead of the default. I am on the fence for this one, as actions names are built with - by default, and the idea behind the

Re: 2.1.5 release quality

2009-01-03 Thread Jeromy Evans
On 04/01/2009, at 6:48 AM, Musachy Barroso wrote: Ok, this is implemented in trunk and the doc was updated. I removed disableJarScanning and excludeJars and added includeJars. Only jars whose URL matches one of the regexes in struts.convention.action.includeJars will be scanned.

2.1.5 release quality

2009-01-02 Thread Jeromy Evans
instead of value attribute Update the constants in struts.xml to use setup convention+rest instead of codebehind+rest. Check web.xml (filters and params) Update CamelCase action results and references to match Convention Hope that's useful to someone. regards, Jeromy Evans

Re: Struts2 and production apps

2008-11-14 Thread Jeromy Evans
Koen Serry wrote: * 2.0.12: yes great GA, ah no it doesn't do static resources, so all client side validations won't work Just a tip, if you're releasing a production app, you shouldn't be serving static resources from the struts2 dispatcher. Extract them and the problem is avoided.

Re: 2.1.3 REST plugin issue/sanity check

2008-11-08 Thread Jeromy Evans
Dave Newton wrote: Removing the REST plugin restores regular S2 .action accessibility. So I guess my questions are: is this by design, and is there a way to combine both in the same app? No, you can't use both approaches in the same app. You can get most of the way by setting up the a

Re: Sanity check on REST plugin

2008-11-08 Thread Jeromy Evans
Al Sutton wrote: Is there a reason why using an ID of the form x.y blows out the REST plugin in 2.1.2? If I use the URL; http://localhost/AndroidPhoneApplications/packages/!veecheck?id=org.blah.com everything works, however if I use;

Re: XWork build failure

2008-11-08 Thread Jeromy Evans
Martin Cooper wrote: On Tue, Nov 4, 2008 at 7:16 PM, Wes Wannemacher [EMAIL PROTECTED] wrote: Just pulled and built with both Java 5 6 and didn't see it... Using Ubuntu Intrepid on AMD64 with Sun JDKs. Weird. I was using Java 6, but switched to Java 5 and now it builds. (This is

Re: Xalan Dependency missing from XWork pom?

2008-10-30 Thread Jeromy Evans
is provided, not xalan). I've never investigated any further than that. Yes, it's stupid and time-wasting. cheers, Jeromy Evans - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Concerned Strutszien: A Manifesto

2008-10-21 Thread Jeromy Evans
dusty wrote: How do we tackle all this? Do we have a meeting? Do we create a Chief who can make decisions for better or for worse? Clearly decisions need to be made. Do we start StrutsCon 2009 and lock everyone in a room until the decisions are made? I started to also write apps in Rails

Re: Concerned Strutszien: A Manifesto

2008-10-21 Thread Jeromy Evans
Wendy Smoak wrote: On Tue, Oct 21, 2008 at 6:01 PM, Bob Tiernay [EMAIL PROTECTED] wrote: I get the sense that CI + Maven is a like wrestling with a slinky. Is this problem endemic to s2? What do other open source projects do to alleviate this? The release process here could be *much*

Re: Enum type conversion

2008-09-18 Thread Jeromy Evans
Piotr Matkowski wrote: Maybe Enums should be handled by struts by default? Why they aren't handled? Enum conversion broken/unsupported in OGNL's default type converter. I can't recall where. I spent hours hunting it down and put it in the too hard basket... However, if you enable

Re: Enum type conversion

2008-09-18 Thread Jeromy Evans
Bob Tiernay wrote: I'm not 100% sure, but I though Musachy enabled this by default? Ah, yes, Don did for 2.1.0, https://issues.apache.org/struts/browse/WW-2162 But it's not back-ported to 2.0.x - To unsubscribe, e-mail:

Re: Client-side validation extensions

2008-09-17 Thread Jeromy Evans
Dave Newton wrote: Any more comments? The question has come up a few times on the user list in the last week or two. My proposal is an incremental improvement (if tiny); if we switch to commons-validator at least their JavaScript code could be re-used. Dave I still say go with the

more OSGI thoughts?

2008-09-11 Thread Jeromy Evans
Has anyone given any more thought to an OSGI container embedded within Struts2? I ask because I growing to hate having to build and deploy entire war files and regularly restart Containers. It seems far behind alternative technologies. Is it conceivable that: - the container provides the

Re: more OSGI thoughts?

2008-09-11 Thread Jeromy Evans
Atlassian, is a committer, I might start there. They use WebWork 2 right now, so it may involve a migration to Struts 2, we'll see... Don On Fri, Sep 12, 2008 at 10:33 AM, Jeromy Evans [EMAIL PROTECTED] wrote: Has anyone given any more thought to an OSGI container embedded within Struts2? I ask

Re: more OSGI thoughts?

2008-09-11 Thread Jeromy Evans
Don Brown wrote: The Atlassian plugin system has been in Atlassian products for years, allowing developers to add new features to Atlassian applications dynamically in some cases (Confluence). However, the two main problems with it were: Cool. I'm impressed you guys are allowed to be open

Re: more OSGI thoughts? brian?

2008-09-11 Thread Jeromy Evans
Are you still out there Brian? Did you put any thought into something like this for JCatapult modules within S2? Jeromy Evans wrote: Has anyone given any more thought to an OSGI container embedded within Struts2? I ask because I growing to hate having to build and deploy entire war files

Re: Client-side validation extensions

2008-09-09 Thread Jeromy Evans
Dave Newton wrote: --- On Tue, 9/9/08, Martin Cooper wrote: This smells like reinventing a subset of Commons Validator just for S2. Can you convince me otherwise? My initial motivation was to create a stop-gap, extensible mechanism for adding custom JavaScript validators without

Re: Struts 2.1.2(an previous releases) vs 2.1.3 in regards to actionMessages in a sitemesh decorator

2008-09-08 Thread Jeromy Evans
matt.payne wrote: There seem to be some type of regression that has happen with regards to actionMessage/actionErrors. In the current build snapshots of 2.1.3 actionErrors/message are no longer exposed my to the sitemesh decorator(I am using freemarker result types/decorators). However that

Re: dojo documentation update

2008-09-05 Thread Jeromy Evans
Musachy Barroso wrote: Ah, and I thought we were about to fix this one :). I think you are right on, wouldn't calling eval() on the generated script, instead of expecting the browser to execute it fix this problem? musachy It probably would work better in this case, but creating a script

Re: dojo documentation update

2008-09-05 Thread Jeromy Evans
Dave Newton wrote: --- On Fri, 9/5/08, Jeromy Evans wrote: Unfortunately with separateScripts=false case, I couldn't get an inline alert to work in FF. I'm not sure why... it created the script node and added it to the parent (a span) and then ...nothing... How does the Yahoo

dojo documentation update

2008-09-04 Thread Jeromy Evans
I've added some more information to the dojo tags documents and was hoping someone intimately familiar with the tags can do a sanity check for me. The objective is to emliminate some of the frequently asked questions: http://cwiki.apache.org/confluence/display/WW/Ajax+Tags Duplicated

Re: dojo documentation update

2008-09-04 Thread Jeromy Evans
Musachy Barroso wrote: ... Okay, that makes more sense for the case where separateScripts is false, but now I'm having second thoughts about my interpretation of executeScripts and WW-2501. bind and contentPane do this: if (this.executeScripts) { var parsed= this.parse(data)

Re: 2.1 builds

2008-09-03 Thread Jeromy Evans
Musachy Barroso wrote: From the ones scheduled for 2.1.3 there are still some minor ones in there, and other that are on hold for different reasons. I will start playing with the release process over the weekend. We also need an xwork release right? Looks like struts-annotations-1.0.4

Re: [VOTE] Release Struts 2 Starter Maven Archetype v2.0.11.2

2008-09-02 Thread Jeromy Evans
+1 [platform: clean XP install] Interesting note: struts 2.0.11.2 has never replicated to to http://mirrors.dotsrc.org/maven2 Wendy Smoak wrote: The Struts 2 Starter Maven Archetype v2.0.11.2 is available for review. Staging repository:

Re: 2.1 builds

2008-09-02 Thread Jeromy Evans
Musachy Barroso wrote: Do we have any pending blocking tickets for a 2.1 builds? or are we just missing free time from our build masters? It would be nice to get 2.1 rolling. I was looking at: http://struts.apache.org/2.x/docs/creating-and-signing-a-struts-21x-distribution.html and I have to

Re: S2 as JSR for Action Framework

2008-08-28 Thread Jeromy Evans
Ralf Fischer wrote: Well there is a thing like that where you can publish information to google or other search engines in one single file. You have to serve a file with a name like http://foo.com/site.xml.gz [1] which holds a description of your whole site. Sure it's no API, but it gets

Re: S2 as JSR for Action Framework

2008-08-26 Thread Jeromy Evans
Musachy Barroso wrote: What are the plans for the future of the REST plugin? Has anybody tried to make it more JSR-311 like? I am not a REST user myself, but I am kind of bored and could help if there was a clear understanding of what needs to be done. I haven't touched the REST plugin for

Re: S2 as JSR for Action Framework

2008-08-24 Thread Jeromy Evans
Don Brown wrote: On Mon, Aug 25, 2008 at 12:54 PM, Martin Cooper [EMAIL PROTECTED] wrote: Another option is a client-side component-based framework like Ext or Flex running directly against web services, RESTful or otherwise. No server-side web framework required. Of course, you could use

Re: Struts 2 archetypes

2008-08-23 Thread Jeromy Evans
? regards, Jeromy Evans Wendy Smoak wrote: Our user docs point to snapshots of the archetypes, which is not ideal. Especially since old snapshots were removed recently by infra to free up disk space, and the commands in the docs no longer work. I've branched the blank and starter archetypes [1

Re: adoption of s2 (was S2 as JSR for Action Framework)

2008-08-22 Thread Jeromy Evans
Just an interesting note: According to the Google keyword tool in English speaking countries and territories: - the number of searches containing the phrase struts (-cars) has been flat the last 12 months (approx 1,000,000 per month). I wish I could compare that to previous years. - this is

Re: S2 tags, which attributes evaled, and docs.

2008-08-18 Thread Jeromy Evans
Dave Newton wrote: I'm running into a weird difference between: [1] s:textfield name=foo.bar value=foo.bar/ and [2] s:textfield name=foo.bar value=%{foo.bar}/ Nutshell: when there's nothing submitted for foo.bar (at least if it's the only element on the page) [1] will print foo.bar as a

Re: ParameterFilterInterceptor security issue

2008-08-12 Thread Jeromy Evans
This relates to Musachy's recent proposal to remove OGNL entirely from the parameter-setting process. Which I think is a very good idea. If I've understood correctly, currently there is no way to filter the parameter names, using regex or otherwise, other than to verify them use a

Re: how to complie Action Class

2008-08-02 Thread Jeromy Evans
or the forums for your IDE. Please don't follow-up with questions here. regards, Jeromy Evans safewraju wrote: hi to all, i am working on Ubuntu OS. while compiling itz not giving any error, after compiling .class file also generating. but the main problem is for new .class files execute

Re: [PROPOSAL] Deprecate or remove Dojo plugin

2008-07-24 Thread Jeromy Evans
Ted Husted wrote: I'd suggest that we put a replacement together before pulling the Dojo plugin out of the distribution (I can help). We could at least deprecate Dojo in the meantime. -T. I can help too but I'm moving house today so may be offline for a while (it takes weeks to get a new

Re: [PROPOSAL] Deprecate or remove Dojo plugin

2008-07-23 Thread Jeromy Evans
Paul Benedict wrote: Dojo 0.4.3 is old :-) I didn't know that. No one wants to move it to 1.x or wherever they are now? Paul Many have tried. In general, the effort doesn't justify the result. ie. you put a lot of effort writing new templates and tags that predominately wrap and

Re: [PROPOSAL] Deprecate or remove Dojo plugin

2008-07-21 Thread Jeromy Evans
Musachy Barroso wrote: With all the problems/questions and time that the ajax tags have caused, and not having any takers on porting to the latest Dojo release. I would propose to deprecate, or even remove the Dojo plugin, or at least let users know that we will not be upgrading to a newer Dojo

Re: hacking OGNL and parameter binding

2008-07-18 Thread Jeromy Evans
Musachy Barroso wrote: I opened a code review here: http://fisheye6.atlassian.com/cru/CR-9 I added a new interface ClearableValueStack, which if implemented will make the OGNL parameter binding run in a clean context. I'm not sure how to get permission to make comments in crucible.

Re: CodeBehind and index action?

2008-07-13 Thread Jeromy Evans
Paul Benedict wrote: Anyway to accomplish this in 2.0? Have you ever did it? Just looking for a quick answer, even if that includes adding action mappings to the config. Paul A quick solution is to extend the DefaultActionMapper to set the actionName to index if it looks like a

Re: Enhancing stream type result

2008-07-07 Thread Jeromy Evans
-1 The params of StreamResult are already evaluated. Example: result name=stream type=stream param name=contentType${contentType}/param param name=inputNameinputStream/param param name=contentDispositionattachment; filename=${fileName}/param param

2.0.11.2 download page broken link

2008-07-02 Thread Jeromy Evans
Anyone know where is the download.cgi page is maintained/generated? (http://struts.apache.org/download.cgi) The links for Alternative Java 4 JARs are invalid: It is: http://*mirror*/struts/binaries/struts-2.0.11.2-j4.zip but should be:

Re: Classpath leading slash question (codebehind)

2008-07-01 Thread Jeromy Evans
Musachy Barroso wrote: I think that if the resource name starts with a /, then the class loader will use it as an absolute path (taking the web app root as root). If the resource name is relative, the classloader tries all the entries in the classpath(including jars), as roots, using the

for review - split content type handler manager in REST plugin

2008-06-30 Thread Jeromy Evans
. The ContentTypeHandlerManager also allows handlers to be registered by mime-type and/or extension. I'm happy with it but want to ensure it doesn't conflict with other plans. I've kept in mind that in the future the manager may check the accepts header for the response content-type. Thanks, Jeromy Evans https

Classpath leading slash question (codebehind)

2008-06-30 Thread Jeromy Evans
should test for both cases, or whether CodeBehind is broken and has always failed to find results in jars. [Environment: tomcat:5.5.25.0, jvm:1.5.0_13-b05, os: linux 2.6.22-14-generic] Thanks, Jeromy Evans - To unsubscribe, e

Re: [S2] trunk build broken since last fix (again)

2008-06-21 Thread Jeromy Evans
There's been updates to annotations, xwork and s2 today. It's building now on bamboo (10mins ago) so just find which one's not up-to-date locally. Dave Newton wrote: I'm still getting it; what do I need to do to get... um... the latest thing(s) that make it not broken? Dave

Re: [S2] trunk build broken since last fix (again)

2008-06-21 Thread Jeromy Evans
Dave Newton wrote: Are you using a local annotations? Yeah, I'm using a local struts-annotations snapshot that includes Don's fix to tag.ftl (rev 670136). That's available in struts-annotations-1.0.4-20080621.043234-3 (referenced in struts-parent pom.xml) if you can retrieve that

Re: Almost there... Re: [S2] trunk build broken since last fix (again)

2008-06-21 Thread Jeromy Evans
Dave Newton wrote: Nobody else is getting build errors in the codebehind plugin? No, s2 rev 670268 mvn clean install -Pall passes but xwork rev 1839: tests fail due to a date locale problem (I haven't looked at the code, but there must be a US dateFormat assumption in a validator test)

Re: RESTful form tags

2008-06-21 Thread Jeromy Evans
dusty wrote: I think this is what is holding me back from using the REST plugin. I have plenty of S2 RESTfully designed applications, but without the routing support I feel like I am fighting the framework to make it do things like URLs that people think RESTful systems should do. If

Re: RESTful form tags

2008-06-21 Thread Jeromy Evans
Jeromy Evans wrote: Those are the two biggest areas I've had to fight with in S2 to moving towards a restful design so far. I forgot, the other area that is a major pain is the absolute/non-hierarchical namespace implementation. For example, if all my resources support, say, Notes, then I

Tiles Conventions

2008-06-20 Thread Jeromy Evans
, but starts a useful convention) I get the impression that few users use TilesResult though (but do use Tiles within JSPs). Any thoughts? cheers, Jeromy Evans - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

RESTful form tags

2008-06-20 Thread Jeromy Evans
that knows which method to invoke based on the current context. I don't think these belong in the rest plugin as we eventually want to achieve independence of the tag implementation though. Any interest? If not I may just push them onto googlecode. cheers, Jeromy Evans

Re: [S2] trunk build broken since last fix (again)

2008-06-20 Thread Jeromy Evans
Anyone know how to work-around this? It's caused by the updated annotation processor: http://opensource.bamboo.atlassian.com/browse/STRUTS-MAIN-851 http://opensource.bamboo.atlassian.com/browse/STRUTS-MAIN-852 [INFO]

Re: RESTful form tags

2008-06-20 Thread Jeromy Evans
Don Brown wrote: Why not put them in the rest plugin? Well... I thought we planning on moving the S2 tag support out of core into a tags-plugin eventually. Including tags in the rest-plugin will complicate that issue further, won't it? UIBean does come with a lot of coupling baggage.

Re: Defaults for results

2008-06-12 Thread Jeromy Evans
Yeah, it is REST plugin related. At the moment a result is mandatory (enforced by xwork) even though many of the restful operations its meaningless to declare a result.. In those cases its also inappropriate to use to ServletRedirectResult so a NullResult can be used. However, you're

bind external object to xwork's inject

2008-06-11 Thread Jeromy Evans
exist? Thanks, Jeromy Evans - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [VOTE] Bring Convention plugin into trunk and deprecate Zero Config

2008-06-10 Thread Jeromy Evans
Musachy Barroso wrote: WW-2667 is fixed on trunk. Has anybody taken a look at the multiple unknown handlers proposal? I have the code ready to go but I am still waiting for some confirmation :) Hi Musachy, I think the proposal is fine. The use of multiple unknown handlers will be rare.

Re: [VOTE] Bring Convention plugin into trunk and deprecate Zero Config

2008-06-10 Thread Jeromy Evans
Musachy Barroso wrote: Yes, that option is totally viable now that they can co-exist(assuming that multiple unknown handlers are supported). One drawback it has, is that for new users of the plugin, it would be confusing to have 2 sets of similar annotations. The other problem would be the

Re: [VOTE] Bring Convention plugin into trunk and deprecate Zero Config

2008-06-06 Thread Jeromy Evans
, Jeromy Evans PS. rest howcase on trunk can't build as it uses @Results and now needs an explicit dependency on CodeBehind/Convention added to its pom. Musachy Barroso wrote: I created a proposal page on the wiki for this: http://cwiki.apache.org/confluence/display/S2WIKI/Convention%2CCodebehind

Re: convention plugin questions

2008-05-22 Thread Jeromy Evans
Musachy Barroso wrote: Convention now supports @Namespaces (class and package level) musachy Thanks Musachy! I'll definitely migrate one of my REST plugin apps to use Convention behind it.. - To unsubscribe, e-mail:

convention plugin questions

2008-05-21 Thread Jeromy Evans
packages are created/joined. eg. @Namespaces([EMAIL PROTECTED](/baseA), @Namespace(/baseB)) This is something I need but Codebehind can't easily be adapted for it. Thanks, Jeromy Evans - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [VOTE] Bring Convention plugin into trunk and deprecate Zero Config

2008-05-16 Thread Jeromy Evans
I wouldn't rush into this decision. Users of the REST plugin require @Namespace, @Result, etc annotations. Creating a duplicate set of annotations with the same purpose is not sensible. It's appropriate that the REST plugin has a dependency on the plugin that auto-populates the

Re: [VOTE] Bring Convention plugin into trunk and deprecate Zero Config

2008-05-16 Thread Jeromy Evans
Jeromy Evans wrote: I wouldn't rush into this decision. Users of the REST plugin require @Namespace, @Result, etc annotations. Creating a duplicate set of annotations with the same purpose is not sensible. It's appropriate that the REST plugin has a dependency on the plugin that auto

Re: [VOTE] Bring Convention plugin into trunk and deprecate Zero Config

2008-05-16 Thread Jeromy Evans
the problem with REST is easy to fix; one blocker down. Now, about supporting Codebehind from Convention, any other opinions (before pulling a vote on it)? musachy On Fri, May 16, 2008 at 2:30 AM, Jeromy Evans [EMAIL PROTECTED] wrote: Jeromy Evans wrote: I wouldn't rush into this decision

Re: [VOTE] Bring Convention plugin into trunk and deprecate Zero Config

2008-05-16 Thread Jeromy Evans
/controller definitions come from same Configuration instance). Musachy Barroso wrote: My head is spinning now :). Can you use REST with Xml Conf? musachy On Fri, May 16, 2008 at 2:30 AM, Jeromy Evans [EMAIL PROTECTED] wrote: Jeromy Evans wrote: I wouldn't rush into this decision. Users

Re: [VOTE] Bring Convention plugin into trunk and deprecate Zero Config

2008-05-14 Thread Jeromy Evans
I haven't tested the latest Convention plugin yet so I can't vote yet, but I'd probably give a [-1] because I don't like the options provided. I support moving Convention plugin from the sandbox to become the recommended convention for new users, replacing ZeroConfig and CodeBehind. However, I

Re: struts 2.1.2 action url fails (possible bug)

2008-05-12 Thread Jeromy Evans
Struts Two wrote: Websphere version: 6.1.0.13 (which includes the fix - the fix was included in 6.1.0.7). I have also set the following flag to 'true' in the server custom properties for filter-compatibility: com.ibm.ws.webcontainer.invokefilterscompatibility the blank.war for struts 2.0.11

Re: commercial: paying for work on features

2008-05-07 Thread Jeromy Evans
Martin Cooper wrote: I think involving the foundation in anything like this could open up a legal minefield. Indeed. I would encourage anyone who really wants to go down that path to engage with the prc@ and legal-discuss@ first, to gain a full understanding of what would be acceptable for the

Re: commercial: paying for work on features

2008-05-07 Thread Jeromy Evans
Al Sutton wrote: P.S. imho we should just spin-off (or kill off) the dojo plugin, if it needs paid-for time just to keep it up to date then I would say that it's not something we can support to a level that's acceptable to the users. I recently had a shot at updating it, but found it was

Re: How to build Struts 2.0.11.1?

2008-05-07 Thread Jeromy Evans
Ensure you're following these instuctions: http://struts.apache.org/2.x/docs/building-the-framework-from-source.html and running a clean with the all profile: mvn clean install -Pall As a last resort, clear your maven repository/use an alternate empty one. All tests have to pass for a

Re: ActionValidatorManagerFactory

2008-05-02 Thread Jeromy Evans
Hi Jay, This question about the use of Struts 2 should be asked in the struts-users forum. The quick answer is that XWork provides a DI mechanism. The ValidatorFactory can be injected into a property or constructor using the @Inject annotation in objects created by the framework. See the

Re: [VOTE] Struts 2.1.2 test build

2008-05-02 Thread Jeromy Evans
+1 [X] Beta - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: FilterDispatcher and static resources

2008-04-30 Thread Jeromy Evans
Musachy Barroso wrote: I am refactoring that out of FilterDispatcher so it becomes another extension point. musachy +1 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: mvn assembly struts-2.1+

2008-04-30 Thread Jeromy Evans
Jay Bose wrote: Thanks Antonio, that solved it. Just wondering, how does one know that before attempting mvn assembly:assembly, they must run the release,all,alljars,j4 and pre-assembly profiles? Is it just a matter of digging through the pom until you find the right profiles? (It's

Re: Fundamental flaw in Model-Driven?

2008-04-25 Thread Jeromy Evans
issues in JIRA in the near future and this one is the list. regards, Jeromy Evans . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [s2] A thought - next generation OSGi-based?

2008-04-25 Thread Jeromy Evans
Putting aside the technology for a moment: - ability to deploy new actions/replace actions and pages without a container restart: highly desirable - ability to deploy new/replace business-layer services without a container restart: highly desirable - ability to evolve Struts2 without fear of

Re: [OT] Sanity-check trunk pom version num

2008-04-24 Thread Jeromy Evans
Dave Newton wrote: Can someone tell me if I'm nuts and/or my Eclipse/Maven thing is going crazy? What should I get as a plugin snapshot version number in trunk, 2.1.1 or 2.1.2, when building via Maven? Thanks, and *agh*, Dave Right now, at rev 651477: 2.1.2-SNAPSHOT

s:action tag major issues: threadlocals

2008-04-22 Thread Jeromy Evans
. I don't want to pass more flags in from the action tag. Has anyone got some suggestions on a tidy way to resolve this? Removing the ThreadLocals would be nice. cheers, Jeromy Evans - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: s:action tag major issues: threadlocals

2008-04-22 Thread Jeromy Evans
Dave Newton wrote: My naïve reaction would be to put it on a stack, since we're talking nested contexts, and set the thread local from it. But I can't even find that code right now :/ Dave Yeah, that seems a major change to xwork. By use of threadlocals it appears it was not intended to

Re: xwork and DI

2008-04-21 Thread Jeromy Evans
actionMapper) {... It only gets complicated when you need to mix injection with beans created outside the container, as described by Wes. cheers, Jeromy Evans PS. this is far inferior to the current functionality of Guice

Re: codebehind problem

2008-04-20 Thread Jeromy Evans
Wes Wannemacher wrote: Can anyone else confirm this for me before I put it in JIRA? Hi Wes, I just did a quick test in a non-blank application that's running off the current snapshot and it had no such problem. Potential differences: - do you have the mandatory actionPackages

Re: codebehind problem

2008-04-20 Thread Jeromy Evans
Wes Wannemacher wrote: Thanks for taking a look Jeromy, but I don't have a struts.xml in my test-case app. On my bigger project, I am using action scanning and it is working fine. I noticed it when I tried to hit an action that should have gotten automatically mapped (i.e. /index.action where

Re: [s2] Test build of 2.1.1 available (test result)

2008-04-19 Thread Jeromy Evans
I spent several hours migrating applications to Struts2.1.1 today. I've applied a significant overhaul to the migration guide [1]. Summary of results: core: no new issues encountered after following the migration guide tiles 2 plugin: no new issues encountered after following migration guide

Re: [S2] Adding configuration for Maven License Plugin

2008-04-18 Thread Jeromy Evans
Antonio Petrelli wrote: Hi all Since the license headers are an annoying problem, I wish to add the Maven License plugin: http://code.google.com/p/maven-license-plugin/ This plugin can *add* license headers on top of files *automatically* Thoughts? I may be guilty of forgetting to add the

Re: [s2] Test build of 2.1.1 available

2008-04-18 Thread Jeromy Evans
Don Brown wrote: The test build of Struts 2.1.1 is available. Release notes: * http://struts.apache.org/2.0.11.1/docs/version-notes-211.html Any idea why this published Version 6 of the release notes dated 19 Feb 08 instead of Version 11 that was current at 17 Apr 08? Note the incorrect

Re: 2.1 build

2008-04-17 Thread Jeromy Evans
Thanks Don! Looks like you had another late night. I'll migrate a large 2.0.9 application to 2.1.1 this weekend, updating the migration guide as I go. James Mitchell wrote: Don, I'm checking out the tag now and will be giving it a thorough test drive today and tomorrow. Thanks On Thu, Apr

Re: i18n/TextProvider issues

2008-04-11 Thread Jeromy Evans
Don Brown wrote: Sounds good. Are there any performance implications? Don According to https://issues.apache.org/struts/browse/WW-1681 the performance implications are very significant (significantly improved). getText(String) invoked via OGNL and and getText(key, defaultValues, args)

stack fundamentals

2008-04-11 Thread Jeromy Evans
, but stack manipulation is permitted within the tag. Any better thoughts on this issue? cheers, Jeromy Evans - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: 2.1 build - Possible problem

2008-04-10 Thread Jeromy Evans
S2.1.1 isn't without bugs. I want it tagged and released (non GA) so more people can try it and so we can get some momentum again. Al Sutton wrote: So would this mean that the S1 plugin for S2.1.1 wont work if the developer uses the S1.3.8 libraries instead of the S1.3.5 the plugin is being

  1   2   >