Problems with SwitchAction and Modules

2005-03-10 Thread Hauschel Fred
Hey all, I call the switch action in "module a" and tell him to switch to "module b". The switch Action does it's work, but the TilesRequestProcessor's moduleConfig is still the moduleConfig from "module a" and so the definitionFactory says: 10.03.2005 09:58:03.112 DEBUG [I18nFactorySet.parseX

RE: Problems with SwitchAction and Modules

2005-03-10 Thread hermod . opstvedt
Hi I am using this with out any problems. How have you set up your Struts module definitions ? Hermod -Original Message- From: Hauschel Fred [mailto:[EMAIL PROTECTED] Sent: Thursday, March 10, 2005 10:08 AM To: dev@struts.apache.org Subject: Problems with SwitchAction and Modules Hey a

AW: Problems with SwitchAction and Modules

2005-03-10 Thread Hauschel Fred
The Modules are registered in web.xml as init Param of the ActionServlet. config/plugins/giro /WEB-INF/plugins/giro/struts-config.xml And the "tiles-defs.xml" file is located in "/WEB-INF/plugins/giro/ tiles-defs.xml" Did you know where the logic is for switching the Reque

RE: Problems with SwitchAction and Modules

2005-03-10 Thread hermod . opstvedt
Hi What I was looking for, is how you have defined your tiles plugin in the various struts-config-xxx files (1 for each module) Hermod -Original Message- From: Hauschel Fred [mailto:[EMAIL PROTECTED] Sent: Thursday, March 10, 2005 10:17 AM To: Struts Developers List Subject: AW: Problems

AW: Problems with SwitchAction and Modules

2005-03-10 Thread Hauschel Fred
Hey, yes, each module has it's own tiles plugin definition in his struts-config. "Module B": "Modul A: Oh, i see that my colleague has extend the config from Modul B. The reason is we want to extend module b's definition form Base Definition. "Base":

RE: Problems with SwitchAction and Modules

2005-03-10 Thread hermod . opstvedt
Hi You need to list the tiles definition files you use in module A, and very important -->> Add a unique ID for each tiles plugin definition. i.e "Modul A: Hermod -Original Message- From: Hauschel Fred [mailto:[EMAIL PROTECTED] Sent: Thursday, March 10, 2005 10

AW: Problems with SwitchAction and Modules

2005-03-10 Thread Hauschel Fred
Hey, but "module a" didn't have a definition! instanceDefinitions_de.xml is the default definition that inserted by struts, if no definition.xml is configured! The RequestProcessor should use the /WEB-INF/plugins/giro/tiles-defs.xml from "modul b". Because I've switched to module b with the swit

RE: Problems with SwitchAction and Modules

2005-03-10 Thread hermod . opstvedt
Hi I guess that something is very wrong with your setup. I have 4 different modules in one of my applications, and the switch works as a charm. I have defined all the tiles-definitions, for the receiving modules in each struts-config : main module (struts-config.xml): mo

AW: Problems with SwitchAction and Modules

2005-03-10 Thread Hauschel Fred
Hey, I think i've found the Problem. You have to configure an tiles-defs.xml for each Module. If you need it or not. If not, it can be empty, but it must be there. If you don't configure one, tiles searches for a default one "instanceDefinitions_de.xml". If there is no default one and no user

DO NOT REPLY [Bug 33950] New: - removing RequestWrapper

2005-03-10 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 33950] - removing RequestWrapper

2005-03-10 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: setupItems posted to Bugzilla

2005-03-10 Thread Frank W. Zammetti
Ok. Well, I've obviously lost the debate, there probably wasn't much of one in the first place anyway, and my work was clearly for naught. Anyone that wants to can feel free to close the ticket, mark it as rejected, or whatever the appropriate status is. Frank Martin Cooper wrote: On Wed, 09 M

Re: Nightly build script

2005-03-10 Thread Sean Schofield
Thanks for the scripts. I noticed there was nothing about the file rotation in them (only keeping last 5 days or whatever.) Do you know if there is a chron script on the CVS server that takes care of that? sean On Wed, 9 Mar 2005 11:29:07 -0800, Martin Cooper <[EMAIL PROTECTED]> wrote: > OK, I

DO NOT REPLY [Bug 33672] - struts-faces is incompatible with myfaces

2005-03-10 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

[Apache Struts Wiki] Updated: StrutsBooks

2005-03-10 Thread dev
Date: 2005-03-10T09:27:36 Editor: BillSiggelkow Wiki: Apache Struts Wiki Page: StrutsBooks URL: http://wiki.apache.org/struts/StrutsBooks Updated notes on Jakarta Struts Cookbook since it is now available Change Log: -

Re: Nightly build script

2005-03-10 Thread Martin Cooper
On Thu, 10 Mar 2005 10:35:44 -0500, Sean Schofield <[EMAIL PROTECTED]> wrote: > Thanks for the scripts. I noticed there was nothing about the file > rotation in them (only keeping last 5 days or whatever.) Do you know > if there is a chron script on the CVS server that takes care of that? I don'

DO NOT REPLY [Bug 33672] - struts-faces is incompatible with myfaces

2005-03-10 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

[Apache Struts Wiki] Updated: StrutsUpload

2005-03-10 Thread dev
Date: 2005-03-10T15:26:05 Editor: DakotaJack Wiki: Apache Struts Wiki Page: StrutsUpload URL: http://wiki.apache.org/struts/StrutsUpload no comment Change Log: -- @@ -734,7 +734,7 @@ private int

[Apache Struts Wiki] Updated: StrutsUpload

2005-03-10 Thread dev
Date: 2005-03-10T16:09:41 Editor: DakotaJack Wiki: Apache Struts Wiki Page: StrutsUpload URL: http://wiki.apache.org/struts/StrutsUpload no comment Change Log: -- @@ -,7 +,7 @@ } retur

[Apache Struts Wiki] Updated: StrutsUpload

2005-03-10 Thread dev
Date: 2005-03-10T16:11:57 Editor: DakotaJack Wiki: Apache Struts Wiki Page: StrutsUpload URL: http://wiki.apache.org/struts/StrutsUpload no comment Change Log: -- @@ -985,9 +985,10 @@ if(maxFil

svn commit: r157025 - struts/build/trunk/project.properties struts/build/trunk/project.xml

2005-03-10 Thread jmitchell
Author: jmitchell Date: Thu Mar 10 17:49:36 2005 New Revision: 157025 URL: http://svn.apache.org/viewcvs?view=rev&rev=157025 Log: pom changes Modified: struts/build/trunk/project.properties struts/build/trunk/project.xml Modified: struts/build/trunk/project.properties URL: http://svn.ap

svn commit: r157026 - struts/sandbox/trunk/project.xml

2005-03-10 Thread jmitchell
Author: jmitchell Date: Thu Mar 10 17:51:59 2005 New Revision: 157026 URL: http://svn.apache.org/viewcvs?view=rev&rev=157026 Log: pom changes Modified: struts/sandbox/trunk/project.xml Modified: struts/sandbox/trunk/project.xml URL: http://svn.apache.org/viewcvs/struts/sandbox/trunk/project

svn commit: r157028 - struts/taglib/trunk/project.xml

2005-03-10 Thread jmitchell
Author: jmitchell Date: Thu Mar 10 18:01:41 2005 New Revision: 157028 URL: http://svn.apache.org/viewcvs?view=rev&rev=157028 Log: remove cactus ref, cactus build takes care of this Modified: struts/taglib/trunk/project.xml Modified: struts/taglib/trunk/project.xml URL: http://svn.apache.org

Storing current ActionContext in ThreadLocal

2005-03-10 Thread Joe Germuska
So, I was just about to add support for static access to the "current" ActionContext using ThreadLocal, and then I realized that this approach is more commonly used with classes than with interfaces. Since ActionContext is an interface, we'd have to do something like this: public static final Th

svn commit: r157033 - struts/taglib/trunk/conf/qa

2005-03-10 Thread jmitchell
Author: jmitchell Date: Thu Mar 10 18:40:21 2005 New Revision: 157033 URL: http://svn.apache.org/viewcvs?view=rev&rev=157033 Log: remove duplicate CheckStyle Removed: struts/taglib/trunk/conf/qa/ - To unsubscribe, e-mail: [

svn commit: r157039 - in struts/taglib/trunk/src: test/org/apache/struts/taglib/ test/org/apache/struts/taglib/TestTagUtils.java webapp/test/java/org/apache/struts/taglib/TestTagUtils.java

2005-03-10 Thread jmitchell
Author: jmitchell Date: Thu Mar 10 20:16:04 2005 New Revision: 157039 URL: http://svn.apache.org/viewcvs?view=rev&rev=157039 Log: move junit test over to standard test directory Added: struts/taglib/trunk/src/test/org/apache/struts/taglib/ struts/taglib/trunk/src/test/org/apache/struts/ta

svn commit: r157040 - in struts/taglib/trunk/src/webapp/test/java/org/apache/struts: action/ config/ upload/ util/ validator/

2005-03-10 Thread jmitchell
Author: jmitchell Date: Thu Mar 10 20:26:19 2005 New Revision: 157040 URL: http://svn.apache.org/viewcvs?view=rev&rev=157040 Log: remove duplicate tests (these are under core/src/test/...) Removed: struts/taglib/trunk/src/webapp/test/java/org/apache/struts/action/ struts/taglib/trunk/src/

svn commit: r157041 - in struts/taglib/trunk/src/conf: ./ merge/ merge/global-forwards.xml merge/servlet-mappings.xml merge/servlets.xml merge/struts-actions.xml merge/struts-forms.xml merge/struts-message-resources.xml

2005-03-10 Thread jmitchell
Author: jmitchell Date: Thu Mar 10 20:27:09 2005 New Revision: 157041 URL: http://svn.apache.org/viewcvs?view=rev&rev=157041 Log: add maven cactus stuff Added: struts/taglib/trunk/src/conf/ - copied from r157026, struts/taglib/trunk/conf/ struts/taglib/trunk/src/conf/merge/ stru

svn commit: r157042 - struts/taglib/trunk/conf

2005-03-10 Thread jmitchell
Author: jmitchell Date: Thu Mar 10 20:27:53 2005 New Revision: 157042 URL: http://svn.apache.org/viewcvs?view=rev&rev=157042 Log: remove abandoned folder Removed: struts/taglib/trunk/conf/ - To unsubscribe, e-mail: [EMAIL P

svn commit: r157043 - struts/taglib/trunk/project.xml

2005-03-10 Thread jmitchell
Author: jmitchell Date: Thu Mar 10 20:29:40 2005 New Revision: 157043 URL: http://svn.apache.org/viewcvs?view=rev&rev=157043 Log: add cactus report for taglib tests Modified: struts/taglib/trunk/project.xml Modified: struts/taglib/trunk/project.xml URL: http://svn.apache.org/viewcvs/struts/

svn commit: r157044 - in struts/taglib/trunk/src: test-cactus/ test-cactus/org/ webapp/test/java/org/

2005-03-10 Thread jmitchell
Author: jmitchell Date: Thu Mar 10 20:37:31 2005 New Revision: 157044 URL: http://svn.apache.org/viewcvs?view=rev&rev=157044 Log: move cactus tests out to test-cactus Added: struts/taglib/trunk/src/test-cactus/ struts/taglib/trunk/src/test-cactus/org/ - copied from r157041, struts/t

svn commit: r157045 - struts/taglib/trunk/src/webapp/test/java

2005-03-10 Thread jmitchell
Author: jmitchell Date: Thu Mar 10 20:43:31 2005 New Revision: 157045 URL: http://svn.apache.org/viewcvs?view=rev&rev=157045 Log: remove empty dir Removed: struts/taglib/trunk/src/webapp/test/java/ - To unsubscribe, e-mail:

Re: Storing current ActionContext in ThreadLocal

2005-03-10 Thread Martin Cooper
I would think we should just have the getter and setter in the interface, and leave the actual thread-local part to the implementation. Note that the getter and setter don't tie the impl to the use of thread-locals, so if someone came up with an alternative impl, that would be OK too. As far as th

[Apache Struts Wiki] Updated: StrutsUpload

2005-03-10 Thread dev
Date: 2005-03-10T21:20:10 Editor: DakotaJack Wiki: Apache Struts Wiki Page: StrutsUpload URL: http://wiki.apache.org/struts/StrutsUpload no comment Change Log: -- @@ -70,10 +70,13 @@ 3. !UploadFileIt

Re: Compiling STRUTS and STRUTS-FACES with servlet 2.4 and jsp 2.0

2005-03-10 Thread Martin Cooper
On Tue, 1 Mar 2005 09:11:28 -0800, Craig McClanahan <[EMAIL PROTECTED]> wrote: > Doing the simple version of a change like this will cause the wrapper > class to not be compilable against a 2.2 or 2.3 version of the servlet > API any longer, which is a particular problem for the standard Struts > r

Re: [Apache Struts Wiki] Updated: StrutsUpload

2005-03-10 Thread Frank W. Zammetti
Jack, one comment on this... I think it would be helpful to comment the code you've posted. Frank dev@struts.apache.org wrote: Date: 2005-03-10T21:20:10 Editor: DakotaJack Wiki: Apache Struts Wiki Page: StrutsUpload URL: http://wiki.apache.org/struts/StrutsUpload no comment Chan

http://struts.apache.org/faqs/kickstart.html

2005-03-10 Thread Rajaneesh
Hi Some bullet items are missing in the page http://struts.apache.org/faqs/kickstart.html source snapshot: Regards Rajaneesh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[Apache Struts Wiki] Updated: StrutsUpload

2005-03-10 Thread dev
Date: 2005-03-10T22:52:56 Editor: DakotaJack Wiki: Apache Struts Wiki Page: StrutsUpload URL: http://wiki.apache.org/struts/StrutsUpload no comment Change Log: -- @@ -739,7 +739,7 @@ private int

[Apache Struts Wiki] Updated: StrutsUpload

2005-03-10 Thread dev
Date: 2005-03-10T23:13:36 Editor: DakotaJack Wiki: Apache Struts Wiki Page: StrutsUpload URL: http://wiki.apache.org/struts/StrutsUpload no comment Change Log: -- @@ -973,9 +973,7 @@ } i

Re: [Apache Struts Wiki] Updated: StrutsUpload

2005-03-10 Thread Dakota Jack
Hello, Frank, If you don't mind, I would like to talk to you a bit about what you think is needed, so that I can be effective. Essentially the code is an attempt to do two things: 1. Show how a slight change which can be made consistent with past upload code in Struts can make life good for peo

[Apache Struts Wiki] Updated: StrutsUpload

2005-03-10 Thread dev
Date: 2005-03-10T23:27:15 Editor: DakotaJack Wiki: Apache Struts Wiki Page: StrutsUpload URL: http://wiki.apache.org/struts/StrutsUpload no comment Change Log: -- @@ -55,13 +55,13 @@ 1. !MultipartFile

Re: [Apache Struts Wiki] Updated: StrutsUpload

2005-03-10 Thread Dakota Jack
Frank, I probably should have said that the NAMES of the first three classes should be mapped to their present counterparts. Jack On Thu, 10 Mar 2005 23:26:57 -0800, Dakota Jack <[EMAIL PROTECTED]> wrote: > Hello, Frank, > > If you don't mind, I would like to talk to you a bit about what you >