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

2008-05-13 Thread nicolas de loof
+1 2008/5/14 Musachy Barroso <[EMAIL PROTECTED]>: > With the addition of @IntereceptorRefs to the Convention plugin, it is > now possible to do most of the action mapping using annotations. Also > having 2 plugins to do the same thing is really confusing for users, > so we should deprecate Zero C

web-beans ?

2007-12-14 Thread nicolas de loof
Hello, I' just looked at jBoss Seam documentation. I wonder if anyone allready suggested to have similar features on Struts actions, that seems not so difficult to implement, by mixing an OpenSessionInView interceptor, some ModelDriven elements and injecting a JPA EntityManager in the action. As

[2.0.6] sources not available on maven repo...

2007-04-19 Thread nicolas de loof
Hello, could you please plublish sources.jar for struts 2.0.6 artifacts ? They should have been generated when releasing the version if -DperformRelease=true has been set. Nico.

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 &q

[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 f

Re: [Struts Wiki] Update of "StrutsAndSpring" by GarethEvans

2006-08-04 Thread Nicolas De Loof
As an excuse, I first have learned German at school (which I don't understand anymore) and latter English. Maybe I'll buy a "improve your english in 24h" CD ? Gareth Evans a écrit : Mines not great and it's my first language! Nicolas De Loof wrote: Oops, I&#x

Re: [Struts Wiki] Update of "StrutsAndSpring" by GarethEvans

2006-08-04 Thread Nicolas De Loof
Oops, I'll realy have to improve my english ;-) Apache Wiki a écrit : Dear Wiki user, You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification. The following page has been changed by GarethEvans: http://wiki.apache.org/struts/StrutsAndSpring

Stripes-like RequestProcessor

2006-04-11 Thread Nicolas De Loof
Hello all, First, please notice I'm glad with Struts and don't want to start a new "Is struts dead ?" thread. I've read Matt Raible's Java web framework sweet spot [1] and I noticed two points : - "modern" web framework use conventions to make new developer use the framework quickly and w

Re: Maven 2 repository containing Action 1.3?

2006-03-22 Thread Nicolas De Loof
Why use "org.apache.struts.action" and not just "org.apache.struts" ? AFAIK groupId is expected to gather artifacts from the same development team. For example, "org.apache.maven" groupId is used for all maven artifacts Using "org.apache.struts.action" means there will also be "org.apache.st

Re: bug in html-el

2006-01-30 Thread Nicolas De Loof
Will such "Javascript artifact" be downloadable using maven project.xml ? Niall Pemberton a écrit : On 1/27/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote: I must be mis-understaning something somewhere - this looks like your using this to cache on the server side only

Re: bug in html-el

2006-01-27 Thread Nicolas De Loof
I must be mis-understaning something somewhere - this looks like your using this to cache on the server side only - including the above in your page - rather than on the browser side? Niall I include a cache-control HTTP header so that the browser can cache the file. Having static javascri

Re: bug in html-el

2006-01-27 Thread Nicolas De Loof
Can I ask why you want this? You may be interested in a recent changeI made to Commons Validator - it now creates a copy of all the staticscripts in one file and also a "compressed" version of the same.Should be available when Validator 1.2.1 is released. Can you explain me this new func

Re: bug in html-el

2006-01-27 Thread Nicolas De Loof
Sorry, I didn't read my logs well ! EL and Non EL have same behaviour... I'd like Validator to generate the Static Javascript, without the

bug in html-el

2006-01-27 Thread Nicolas De Loof
I'm using to build the static javascript validation : <%@ page contentType="text/javascript" session="false" %> <% response.setHeader("Cache-Control","post-check=900,pre-check=3600"); %> <%@ taglib prefix="html" uri="http://struts.apache.org/tags-html"; %> If I use tags-html-el, The tag perf

Can a FormBeanConfig know it's ModuleConfig ?

2006-01-27 Thread Nicolas De Loof
Hello, I'm trying to setup a Spring - actionform integration, the same way DelegatingRequesprocessor can integration Spring with actions. I'm using a special FormBeanConfig that applies IoC after form-bean creation. It requires the current ModuleConfig . Is there a way to get it from a Form

Re: Validation Security Hole?

2006-01-23 Thread Nicolas De Loof
From what I've understood from your "mapping-declarated cancel parameter", it require every cancelable mapping to declare it's cancel param, so it is supposed that the action correctly handles canceled request. In this case, changing cancel key has no effect on security, as canceling is cor

Re: is there is anything replacing ActionErrors in struts; please replyas early as possible

2005-12-14 Thread Nicolas De Loof
+0100 12/14/05, Nicolas De Loof wrote: ActionErrors (with "s") is not deprecated, only ActionError is, and should be replaced by ActionMessage. ActionErrors would be deprecated if it were not part of the public API of ActionForm. If you are using resource-based messages anywhere but

Re: is there is anything replacing ActionErrors in struts; please replyas early as possible

2005-12-14 Thread Nicolas De Loof
ActionErrors (with "s") is not deprecated, only ActionError is, and should be replaced by ActionMessage. Sony Thomas a écrit : HI, Is there is anything replacing ActionErrors. ActionErrors is deprecated. sony - To unsubsc

saveErrors / getErrors

2005-12-14 Thread Nicolas De Loof
Hello, As Struts no automagically delete errors messages after beeing displayed even if put into session scope, why not ALWAYS put errors messages into this scope ? What use case makes saveErrors(request, ActionMessages) usefull compared to saveErrors(session, ActionMessages) ? saveErrors(s

Re: [VOTE] Struts 1.2.8 Quality

2005-11-16 Thread Nicolas De Loof
My webapp is working fine. [ ] Alpha [ ] Beta [X] General Availability (GA) Niall Pemberton a écrit : The Struts 1.2.8 test build has been available for a week now. Once you have had a chance to form an opinion on the quality of this build, please respond to the following vote. ---

Re: proposal : weekly / snapshot / milestone builds

2005-06-03 Thread Nicolas De Loof
ew Milestone ?" before setting a new milestone. Nico. Joe Germuska a écrit : At 9:49 AM +0200 6/3/05, Nicolas De Loof wrote: Hello, as a Struts user, I'd like to test Struts 1.3-dev. The current build process based on "nightly builds", but IMHO it is too "fine-graine

proposal : weekly / snapshot / milestone builds

2005-06-03 Thread Nicolas De Loof
Hello, as a Struts user, I'd like to test Struts 1.3-dev. The current build process based on "nightly builds", but IMHO it is too "fine-grained" for lot's of user. Eclipse uses "Milestones" to drop technology preview and get users feedback. It would be great to get such previews from struts

[issue 35187] invalid 'focus' javascript in XHTML mode

2005-06-02 Thread Nicolas De Loof
I've submited a new bug : http://issues.apache.org/bugzilla/show_bug.cgi?id=35187 When xhtml mode is used creates javascript from the focus attribute that is invalid as form has no name. A solution may be to produce javascript that uses document.getElementById() when xhtml mode is set, an

Re: RFC: Struts HTML Ajax-Aware Tags

2005-04-07 Thread Nicolas De Loof
I just tried your ajaxtags sample app I'd just suggest to use a validator like design (separate tag) : Advantages : 1. This may NOT require to change struts tags (and so not have to extend both EL and NON-EL tags) 2. can use staticJavascript="true" dynamicJavascript="true" as validat

Re: Struts-EL tags

2005-03-15 Thread Nicolas De Loof
Struts-el allow you to get a "preview" of struts tags used on a servlet 2.4 container (that handle EL itself) Using Struts-el will make the migration from servlet 2.3 to 2.4 easier (just update taglib URI). EL adds also power to tags and JSP can skip scriptlets. JSP code looks more XML complian

Re: Struts 1.1

2005-03-08 Thread Nicolas De Loof
If you only need Struts jars (not docs) you can get them on maven repository http://www.ibiblio.org/maven/struts/jars Nico Matthias Wessendorf a écrit : Hi, is there any location I can download Struts 1.1 ? On s.a.o there is only 1.2 downloadable. Thanks! Matthias --

Re: MessageResourcesFactory and servletContext

2005-01-04 Thread Nicolas De Loof
ss of MessageResourcesFactory into the ServletContext under the same key that Struts would otherwise use. Just a few ideas. Please don't take it as stonewalling! ;^) Joe At 8:56 AM +0100 1/4/05, Nicolas De Loof wrote: Hi all, What do you think about this enhancement request : + add a servletco

MessageResourcesFactory and servletContext

2005-01-03 Thread Nicolas De Loof
Hi all, What do you think about this enhancement request : + add a servletcontext attribute (+get/set) to MessageResourcesFactory and set it from ActionServlet.initModuleMessageResources() This would allow some MessageResourceFactory implementation to get config or resources from servletcontext

Re: [VOTE] Struts 1.2.4 Quality

2004-09-16 Thread Nicolas De Loof
> Based on its quality, the Struts 1.2.4 build should be classified as: > > [ ] Alpha > [ ] Beta > [X] General Availability (GA) > - Works for me with no troubles. Nico. This message contains information that may be privileged or confidential and is the property of the Capgemini Group. I

Re: URI in Struts-1.2.3 (was RE: Struts 1.2.2 Dead in the Water?)

2004-09-01 Thread Nicolas De Loof
( > > Sorry > > Niall > > - Original Message - > From: "Nicolas De Loof" <[EMAIL PROTECTED]> > To: "Struts Developers List" <[EMAIL PROTECTED]> > Sent: Wednesday, September 01, 2004 9:49 AM > Subject: Re: URI in Struts-1.2.3 (was R

Re: why has xhtml="true" only pageScope effect ?

2004-09-01 Thread Nicolas De Loof
> On Wed, 1 Sep 2004 09:41:08 +0200, Nicolas De Loof > <[EMAIL PROTECTED]> wrote: > > > > Hello all, > > > > 2 notes : > > > > - I'd like to test the 1.2.3 release on my app, what about bad jars in > > *1.2.3-lib.zip dist ? > > S

Re: URI in Struts-1.2.3 (was RE: Struts 1.2.2 Dead in the Water?)

2004-09-01 Thread Nicolas De Loof
Those URIs in taglibs are only used AFAIK to locate a taglib from a JSP <% taglib %> directive without having to set a element in web.xml. Notice I submited a ticket about tiles.dtd that uses jakarta.apache.org/struts. Nico. > Thanks for pointing this out (and also Kunal Parikh) - I've updat

why has xhtml="true" only pageScope effect ?

2004-09-01 Thread Nicolas De Loof
Hello all, 2 notes : - I'd like to test the 1.2.3 release on my app, what about bad jars in *1.2.3-lib.zip dist ? Should I download the full dist for those tests ? - I'm writing an app with xhtml format and use the xhtml attribute of tag Why isn't the Globals.XHTML_KEY flag put into request

Re: [VOTE] Move minimum to 2.3 (was Re: Changing how CommonsMultipartRequestHandler handles text parameters?)

2004-08-31 Thread Nicolas De Loof
-0 (not beeing commiter) on servlet 2.4 as it is not 'enough' available on production servers Lot's of the apps I maintain are running under websphere 5 (some of them use websphere 4). I agree JSP2.0 have interesting features, but can't we wait servlet 2.4 to be avaible on (almost) all current

Why not create all actions att startup ?

2004-07-09 Thread Nicolas De Loof
On default RequestProcessor implementation, actions are created at runtime when the associated path is requested. I remembre some thread on this list about performance issues about this caused by necessary synchronized block on actions map. AFAIK this implementation has been choosed to ensure q

Re: [VOTE] Struts 1.2.1 Alpha, Beta, or GA? (was Re: Struts 1.2.1 release)

2004-07-09 Thread Nicolas De Loof
+1 to promote to Beta. We do not use some 1.2.x added feature, but I didn't notice any trouble when upgrading to 1.2.1 jars. Nico. > The repository is tagged for STRUTS_1_2_1, and the release is available for review > at > > * http://www.apache.org/~husted/struts/v1.2.1 > > Once you have

Re: Tonight's Nightly Build Dependencies

2004-07-06 Thread Nicolas De Loof
Can't we use timestamp versions for validator ? It is used by some maven plugins that are build using SNAPSHOT dependecies. When a release is done, the snapshot is converted to a timestamp. Using this, no 'official' version of the dependency is needed (it only needs to be deployed on ibiblio).

Re: Tonight's Nightly Build Dependencies

2004-07-06 Thread Nicolas De Loof
Can't we use timestamp versions for validator ? It is used by some maven plugins that are build using SNAPSHOT dependecies. When a release is done, the snapshot is converted to a timestamp. Using this, no 'official' version of the dependency is needed (it only needs to be deployed on ibiblio).

Re: Splitting struts-config into multiple jar and read them as reso urce stream

2004-03-31 Thread nicolas De Loof
monly used" plugins. Nico. nicolas De Loof a écrit : This means that included module jar must be built with knowledge of the module on witch it will be associated. Not a big issue, as loading from jars should be great for big apps. Nico. Filippo Munafò a écrit : Yes, the patch has traspa

Re: Splitting struts-config into multiple jar and read them as reso urce stream

2004-03-31 Thread nicolas De Loof
-config.xml,META-INF/module1/struts-config.xml Or, for example, you can put module1 struts-config only in jar and the default only in WEB-INF: config /WEB-INF/struts-config.xml config/module1 META-INF/module1/struts-config.xml Filippo -Original Message- From: nicolas De

Re: Splitting struts-config into multiple jar and read them as reso urce stream

2004-03-31 Thread nicolas De Loof
As far as I understand your patch, config included in jars is added to default module config. Is they're any way to associate a jar (including config) to a struts module ? Nico. Filippo Munafò a écrit : Following your suggestion, I've just submitted a patch as bugzilla Enhancement (#28051). I'