DO NOT REPLY [Bug 36643] - [shale] Problem with the processing of clay templates.

2005-09-16 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 36661] - [shale] Clay template reloading problem.

2005-09-16 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

svn commit: r289709 - in /struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/config/beans: ComponentConfigBean.java ConfigBean.java ConfigBeanFactory.java ConfigDefinitionsWatchdogFilter.ja

2005-09-16 Thread gvanmatre
Author: gvanmatre Date: Fri Sep 16 23:30:58 2005 New Revision: 289709 URL: http://svn.apache.org/viewcvs?rev=289709&view=rev Log: Fix for Bug#: 36661 - Clay template reloading problem Modified: struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/config/beans/ComponentConfigBean.jav

svn commit: r289708 [4/4] - in /struts/apps/trunk/cookbook: ./ src/ src/java/ src/java/examples/ src/java/examples/bean/ src/java/examples/dyna/ src/java/examples/links/ src/java/examples/localization

2005-09-16 Thread sraeburn
Added: struts/apps/trunk/cookbook/src/webapp/jsp/token/TokenResults.jsp URL: http://svn.apache.org/viewcvs/struts/apps/trunk/cookbook/src/webapp/jsp/token/TokenResults.jsp?rev=289708&view=auto == --- struts/apps/trunk/cook

svn commit: r289707 - in /struts/shale/trunk/build: README.txt core-test/maven.xml core-test/project.xml maven.xml project.properties use-cases/maven.xml

2005-09-16 Thread wsmoak
Author: wsmoak Date: Fri Sep 16 22:50:07 2005 New Revision: 289707 URL: http://svn.apache.org/viewcvs?rev=289707&view=rev Log: Updated Maven build files - Pick up new .properties files for core-library tests - Fix problem with empty source distributions when running from 'build' - Check ibiblio

Re: svn commit: r289706 - /struts/shale/trunk/core-library/src/test/org/apache/shale/util/TokenProcessorTestCase.java

2005-09-16 Thread Wendy Smoak
Author: craigmcc Date: Fri Sep 16 21:54:25 2005 New Revision: 289706 URL: http://svn.apache.org/viewcvs?rev=289706&view=rev Log: Add new test case for TokenProcessor. Craig, this one is failing under Maven [haven't tried it with Ant]: Testcase: testMultiple(org.apache.shale.util.TokenProcessor

DO NOT REPLY [Bug 36521] - [shale] TilesViewHandler should not assume ServletResponse and ServletContext

2005-09-16 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 36439] - [shale] Allow user to supply their own Dialog DTD

2005-09-16 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

svn commit: r289706 - /struts/shale/trunk/core-library/src/test/org/apache/shale/util/TokenProcessorTestCase.java

2005-09-16 Thread craigmcc
Author: craigmcc Date: Fri Sep 16 21:54:25 2005 New Revision: 289706 URL: http://svn.apache.org/viewcvs?rev=289706&view=rev Log: Add new test case for TokenProcessor. Added: struts/shale/trunk/core-library/src/test/org/apache/shale/util/TokenProcessorTestCase.java Added: struts/shale/trunk

svn commit: r289705 - /struts/shale/trunk/test-framework/src/java/org/apache/shale/test/mock/MockHttpSession.java

2005-09-16 Thread craigmcc
Author: craigmcc Date: Fri Sep 16 21:53:57 2005 New Revision: 289705 URL: http://svn.apache.org/viewcvs?rev=289705&view=rev Log: Make MockHttpSession support getId() and convenience setId() methods. Modified: struts/shale/trunk/test-framework/src/java/org/apache/shale/test/mock/MockHttpSessi

svn commit: r289702 - in /struts/shale/trunk/core-library/src/java/org/apache/shale/util: LoadBundle.java Messages.java

2005-09-16 Thread craigmcc
Author: craigmcc Date: Fri Sep 16 21:14:28 2005 New Revision: 289702 URL: http://svn.apache.org/viewcvs?rev=289702&view=rev Log: Someday I'll remember the difference between "pre" and "code". Modified: struts/shale/trunk/core-library/src/java/org/apache/shale/util/LoadBundle.java struts/

svn commit: r289697 - in /struts/shale/trunk/core-library/src: java/org/apache/shale/util/Messages.java test/org/apache/shale/util/LoadBundleTestCase.java test/org/apache/shale/util/MessagesTestCase.j

2005-09-16 Thread craigmcc
Author: craigmcc Date: Fri Sep 16 20:46:50 2005 New Revision: 289697 URL: http://svn.apache.org/viewcvs?rev=289697&view=rev Log: Make the Messages class a proper JavaBean so that it can be initialized as a managed bean if desired. Also, add a test case for it. Added: struts/shale/trunk/core

svn commit: r289695 - in /struts/apps/trunk/examples/src: java/org/apache/struts/webapp/validator/ webapp/WEB-INF/validator/ webapp/validator/

2005-09-16 Thread niallp
Author: niallp Date: Fri Sep 16 20:39:56 2005 New Revision: 289695 URL: http://svn.apache.org/viewcvs?rev=289695&view=rev Log: Update the struts-examples webapp with pages demonstrating use localized variables with Commons Validator. Added: struts/apps/trunk/examples/src/java/org/apache/str

svn commit: r289694 - in /struts: core/trunk/src/java/org/apache/struts/validator/ core/trunk/src/java/org/apache/struts/validator/validwhen/ taglib/trunk/src/java/org/apache/struts/taglib/html/

2005-09-16 Thread niallp
Author: niallp Date: Fri Sep 16 20:34:41 2005 New Revision: 289694 URL: http://svn.apache.org/viewcvs?rev=289694&view=rev Log: Add support the new 'resource' and 'bundle' attributes for Variables in Commons Validator 1.2.0 (see Bug #32522). Variables can now be localized - for example the format

Re: Wrapping Struts tags in tag files

2005-09-16 Thread Laurie Harper
Laurie Harper wrote: Ted Husted wrote: On 9/14/05, Laurie Harper <[EMAIL PROTECTED]> wrote: James Mitchell setup some automatic tests for the taglib, though a lot of the behavior is still tested through the tag-exercises application. Niall is correct. When I've applied taglib patches, the bullw

DO NOT REPLY [Bug 36659] - [shale] Clay LoadBundle and useValueLateBinding

2005-09-16 Thread bugzilla
|FIXED --- Additional Comments From [EMAIL PROTECTED] 2005-09-17 04:52 --- The patch for bug# 35935 submitted by Manfred Klug resolves this issue. It will be in the 20050916 nightly build. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receivin

DO NOT REPLY [Bug 35935] - [shale] loadBundle component for clay HTML templates

2005-09-16 Thread bugzilla
|FIXED --- Additional Comments From [EMAIL PROTECTED] 2005-09-17 04:45 --- This patch will be in the 20050916 nightly build. Thanks Manfred! -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assign

svn commit: r289689 - in /struts/shale/trunk/core-library/src: java/org/apache/shale/util/ test/org/apache/shale/util/

2005-09-16 Thread craigmcc
Author: craigmcc Date: Fri Sep 16 19:42:29 2005 New Revision: 289689 URL: http://svn.apache.org/viewcvs?rev=289689&view=rev Log: Add a utility class (and corresonding unit tests) that supports programmatic access to a Map representation of a localized resource bundle, similar to the kind of resour

svn commit: r289688 - in /struts/shale/trunk: clay-plugin/src/conf/ clay-plugin/src/java/org/apache/shale/clay/component/ clay-plugin/src/java/org/apache/shale/clay/config/beans/ use-cases/src/java/or

2005-09-16 Thread gvanmatre
Author: gvanmatre Date: Fri Sep 16 19:37:18 2005 New Revision: 289688 URL: http://svn.apache.org/viewcvs?rev=289688&view=rev Log: Bug#: 35935 loadBundle component for clay HTML templates Modified: struts/shale/trunk/clay-plugin/src/conf/view-config.xml struts/shale/trunk/clay-plugin/src/

Re: Multiple Struts Config / Multiple Validator Config

2005-09-16 Thread Hubert Rabago
I haven't used multiple validations.xml files, but the behavior you described with multiple struts-config matches what I would expect. I don't know exactly what would be needed to make validator work the way you're expecting to, but it would likely require some cooperation from ValidatorResources.

Re: Best version of Struts Cookbook source (was Fwd: Blank build broken?)

2005-09-16 Thread Steve Raeburn
Yes that was the latest version. I've just updated it for 1.3. I still need to update the license and make it build with Maven. If there are no objections, I'll check it in as /apps/cookbook later this evening. As long as it doesn't jeopardize my emeritus status ;-) Steve Ted Husted wrote:

svn commit: r289668 - /struts/core/trunk/build-site.xml

2005-09-16 Thread wsmoak
Author: wsmoak Date: Fri Sep 16 15:28:15 2005 New Revision: 289668 URL: http://svn.apache.org/viewcvs?rev=289668&view=rev Log: Removed the Ant build file previously used to build the Struts website. To preview the Maven-generated website for a sub-project, execute 'maven site' and view the resu

svn commit: r289664 - in /struts/core/trunk/xdocs/faqs: navigation.xml netbeans.xml

2005-09-16 Thread wsmoak
Author: wsmoak Date: Fri Sep 16 15:18:44 2005 New Revision: 289664 URL: http://svn.apache.org/viewcvs?rev=289664&view=rev Log: Removed NetBeans 3.4 instructions and renamed 4.0 to 4.x at Craig's request. Removed: struts/core/trunk/xdocs/faqs/netbeans.xml Modified: struts/core/trunk/xdocs/

Multiple Struts Config / Multiple Validator Config

2005-09-16 Thread Niall Pemberton
I had always assumed that (within the same module) I could break up my validations.xml with my form definitions, for the same locale split accross several files. But the way it works is that subsequent formsets just overwite the ones already loaded. Validator and Constant definitions work fine - th

Re: Wrapping Struts tags in tag files

2005-09-16 Thread Laurie Harper
Ted Husted wrote: On 9/14/05, Laurie Harper <[EMAIL PROTECTED]> wrote: James Mitchell setup some automatic tests for the taglib, though a lot of the behavior is still tested through the tag-exercises application. Niall is correct. When I've applied taglib patches, the bullwork is always setting u

Re: Wrapping Struts tags in tag files

2005-09-16 Thread Laurie Harper
Ted Husted wrote: I'll take a more detailed look if/when such a change is approved in principle by the committers. +1 In general, we work by lazy consensus. If no one squawks, we sally forth. Yep, just thought I'd offer the opportunity for squaking up front ;-) L. -

Re: How to use simple servlet as a view with Struts ?

2005-09-16 Thread Frank W. Zammetti
On Fri, September 16, 2005 12:41 pm, Joe Germuska said: > One common use case for this is using the VelocityServlet. If one > doesn't use JSPs, odds are at least decent that your alternative view > technology is packaged as some kind of servlet. This may also come > up once StandAlone Tiles is se

Re: How to use simple servlet as a view with Struts ?

2005-09-16 Thread Craig McClanahan
On 9/16/05, Stas Ostapenko <[EMAIL PROTECTED]> wrote: > > Hi ! > I'm trying to resolve how to use servlet as a view with Struts. It's > very diffcult to find how to do it. I have asked at struts user > mailing list but nobody answered. Under the covers, Struts is just doing a RequestDispatcher.f

Re: How to use simple servlet as a view with Struts ?

2005-09-16 Thread Joe Germuska
I would start by asking *why* you'd want to do this? I'd be willing to bet that whatever the requirement is that there are ways to accomplish it without resorting to this. One common use case for this is using the VelocityServlet. If one doesn't use JSPs, odds are at least decent that your al

Re: How to use simple servlet as a view with Struts ?

2005-09-16 Thread Frank W. Zammetti
I would start by asking *why* you'd want to do this? I'd be willing to bet that whatever the requirement is that there are ways to accomplish it without resorting to this. That being said, if you really want to go down that path, all the objects you are looking for are in the request object as at

How to use simple servlet as a view with Struts ?

2005-09-16 Thread Stas Ostapenko
Hi ! I'm trying to resolve how to use servlet as a view with Struts. It's very diffcult to find how to do it. I have asked at struts user mailing list but nobody answered. How to get ActionMessages and form bean objects when simple sevlet is used as a view ? How to get particular error message stri

DO NOT REPLY [Bug 36659] - [shale] Clay LoadBundle and useValueLateBinding

2005-09-16 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 36687] New: - Struts not populating form values when maxFileSize exceeded during file upload

2005-09-16 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

svn commit: r289535 - /struts/taglib/trunk/src/java/org/apache/struts/taglib/bean/MessageTag.java

2005-09-16 Thread niallp
Author: niallp Date: Fri Sep 16 06:38:33 2005 New Revision: 289535 URL: http://svn.apache.org/viewcvs?rev=289535&view=rev Log: Change error message to show the actual Locale rather than the key for the locale in the Session when a message is not found. Modified: struts/taglib/trunk/src/java/

DO NOT REPLY [Bug 32584] - MessageResources - 'escape' function blocks possiblity of escaping quotes and parameters

2005-09-16 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: Wrapping Struts tags in tag files

2005-09-16 Thread Ted Husted
On 9/14/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > Sure; maybe some of the testing burden can be mitigated through unit > tesst (not sure if Struts has the infrastructure in place to unit test > custom tags?) James Mitchell setup some automatic tests for the taglib, though a lot of the behavio

Re: Wrapping Struts tags in tag files

2005-09-16 Thread Ted Husted
On 9/14/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > Not that interested in doing the work or not that keen on seeing the > changes made? ;-) If the former, I'll be happy to put together patches > for each taglib to keep things consistent. > > > The way to do it would be to attach a patch to the

svn commit: r289497 - in /struts/core/trunk/xdocs/userGuide: building_controller.xml building_model.xml building_view.xml

2005-09-16 Thread husted
Author: husted Date: Fri Sep 16 04:54:18 2005 New Revision: 289497 URL: http://svn.apache.org/viewcvs?rev=289497&view=rev Log: Update Building View Components page for Struts Core. The extracted sections can be utilized in the Struts Taglib docs (when we get to them). Modified: struts/core/t

DO NOT REPLY [Bug 36659] - [shale] Clay LoadBundle and useValueLateBinding

2005-09-16 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