DO NOT REPLY [Bug 35839] - [shale] Clay processes components inside HTML comments

2005-08-21 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_bug.cgi?id=35839


[EMAIL PROTECTED] changed:

   What|Removed |Added

  Attachment #16029|0   |1
is obsolete||




--- Additional Comments From [EMAIL PROTECTED]  2005-08-21 09:50 ---
Created an attachment (id=16133)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=16133&action=view)
Proposed new parser

This patch contains the following changes to the last one:

- removed use-cases/build.xml from the patch.
- moved the Location class into the utils package.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED]: Project struts-core (in module struts) failed

2005-08-21 Thread Stefan Bodewig
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project struts-core has an issue affecting its community integration.
This issue affects 5 projects,
 and has been outstanding for 28 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- fulcrum-quartz :  Services Framework
- jakarta-turbine-jcs :  Cache
- quartz :  Job Scheduler
- struts-core :  Model 2 Model-View-Controller framework for Servlets and 
JSP
- struts-tiles :  Model 2 Model-View-Controller framework for Servlets and 
JSP


Full details are available at:
http://vmgump.apache.org/gump/public/struts/struts-core/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [struts.jar] identifier set to project name
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
xerces.jar.
 -INFO- Failed with reason build failed
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/struts/struts-core/gump_work/build_struts_struts-core.html
Work Name: build_struts_struts-core (Type: Build)
Work ended in a state of : Failed
Elapsed: 6 secs
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xalan/java/build/serializer.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/xalan-unbundled.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar
 org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only 
-Dcommons-beanutils.jar=/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar
 
-Djakarta-oro.jar=/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-21082005.jar
 
-Dcommons-chain.jar=/usr/local/gump/public/workspace/jakarta-commons/chain/target/commons-chain-21082005.jar
 -Dantlr.jar=/usr/local/gump/packages/antlr-2.7.3/antlr.jar 
-Djdbc20ext.jar=/usr/local/gump/packages/jdbc2_0/jdbc2_0-stdext.jar 
-Dcommons-lang.jar=/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-21082005.jar
 
-Dcommons-logging.jar=/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-21082005.jar
 -Djdk.version=1.4 
-Dservlet.jar=/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar
 
-Dcommons-validator.jar=/usr/local/gump/public/workspace/jakarta-commons/validator/dist/commons-validator.jar
 
-Dcommons-digester-rss.jar=/usr/local/gump/public/workspace/jakarta-commons/digester/src/examples/rss/dist/commons-digester-rss.jar
 
-Dxerces.jar=/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar
 
-Dcommons-collections.jar=/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-21082005.jar
 
-Dcommons-fileupload.jar=/usr/local/gump/public/workspace/jakarta-commons/fileupload/target/commons-fileupload-21082005.jar
 
-Dcommons-digester.jar=/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar
 dist 
[Working Directory: /usr/local/gump/public/workspace/struts/core]
CLASSPATH: 
/opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/struts/core/target/library/classes:/usr/local/gump/public/workspace/struts/core/target/tiles/library/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/packages/jdbc2_0/jdbc2_0-stdext.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/packages/antlr-2.7.3/antlr.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/digester/src/examples/rss/dist/commons-digester-rss.jar:/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-21082005.jar:/usr/local/gump/public/workspace/jakarta-commons/fileupload/target/commons-fileupload-21082005.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons

[EMAIL PROTECTED]: Project struts-core (in module struts) failed

2005-08-21 Thread Stefan Bodewig
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project struts-core has an issue affecting its community integration.
This issue affects 5 projects,
 and has been outstanding for 28 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- fulcrum-quartz :  Services Framework
- jakarta-turbine-jcs :  Cache
- quartz :  Job Scheduler
- struts-core :  Model 2 Model-View-Controller framework for Servlets and 
JSP
- struts-tiles :  Model 2 Model-View-Controller framework for Servlets and 
JSP


Full details are available at:
http://vmgump.apache.org/gump/public/struts/struts-core/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [struts.jar] identifier set to project name
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
xerces.jar.
 -INFO- Failed with reason build failed
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/struts/struts-core/gump_work/build_struts_struts-core.html
Work Name: build_struts_struts-core (Type: Build)
Work ended in a state of : Failed
Elapsed: 6 secs
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xalan/java/build/serializer.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/xalan-unbundled.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar
 org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only 
-Dcommons-beanutils.jar=/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar
 
-Djakarta-oro.jar=/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-21082005.jar
 
-Dcommons-chain.jar=/usr/local/gump/public/workspace/jakarta-commons/chain/target/commons-chain-21082005.jar
 -Dantlr.jar=/usr/local/gump/packages/antlr-2.7.3/antlr.jar 
-Djdbc20ext.jar=/usr/local/gump/packages/jdbc2_0/jdbc2_0-stdext.jar 
-Dcommons-lang.jar=/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-21082005.jar
 
-Dcommons-logging.jar=/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-21082005.jar
 -Djdk.version=1.4 
-Dservlet.jar=/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar
 
-Dcommons-validator.jar=/usr/local/gump/public/workspace/jakarta-commons/validator/dist/commons-validator.jar
 
-Dcommons-digester-rss.jar=/usr/local/gump/public/workspace/jakarta-commons/digester/src/examples/rss/dist/commons-digester-rss.jar
 
-Dxerces.jar=/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar
 
-Dcommons-collections.jar=/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-21082005.jar
 
-Dcommons-fileupload.jar=/usr/local/gump/public/workspace/jakarta-commons/fileupload/target/commons-fileupload-21082005.jar
 
-Dcommons-digester.jar=/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar
 dist 
[Working Directory: /usr/local/gump/public/workspace/struts/core]
CLASSPATH: 
/opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/struts/core/target/library/classes:/usr/local/gump/public/workspace/struts/core/target/tiles/library/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/packages/jdbc2_0/jdbc2_0-stdext.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/packages/antlr-2.7.3/antlr.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/digester/src/examples/rss/dist/commons-digester-rss.jar:/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-21082005.jar:/usr/local/gump/public/workspace/jakarta-commons/fileupload/target/commons-fileupload-21082005.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons

[Struts Wiki] Trivial Update of "StrutsFileDownload" by FrankZammetti

2005-08-21 Thread Apache Wiki
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 FrankZammetti:
http://wiki.apache.org/struts/StrutsFileDownload

--
  
  [[TableOfContents]]
  
- (!) Here is the sample webapp... attachment:downloadapp.zip Please note that 
this is my first ever attempt at editing a Wiki entry, so if I screwed anything 
up, I apologize in advance!  Lastly, I skimmed through the content of this 
entry and didn't see anything blatantly wrong.  I will try and proof it more 
thoroughly as time allows, but for now, in addition to the sample app, it 
should get anyone going in the right direction.
+ (!) FrankZ: Here is the sample webapp... attachment:downloadapp.zip Please 
note that this is my first ever attempt at editing a Wiki entry, so if I 
screwed anything up, I apologize in advance!  Lastly, I skimmed through the 
content of this entry and didn't see anything blatantly wrong.  I will try and 
proof it more thoroughly as time allows, but for now, in addition to the sample 
app, it should get anyone going in the right direction.
  
   niallp: Since I haven't actually used this class myself, I'm hoping that 
Martin, Frank or anyone else involved in the discussion/creation of this would 
take a look here to see if its OK.
  
- (!) Details from this thread: [http://www.mail-archive.com/[EMAIL 
PROTECTED]/msg04600.html Mail Archive]
+ (!) Details from this thread: [http://www.mail-archive.com/[EMAIL 
PROTECTED]/msg04600.html Mail Archive] - Note that the link to the sample app 
at omnytex.com referenced in this thread is no longer valid.  The sample app is 
attached to this Wiki page only, so download it from here 
attachment:downloadapp.zip
  
  == Implementing a DownloadAction ==
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234223 - in /struts/site/trunk/xdocs/faqs: kickstart.xml newbie.xml ssl.xml struts-el.xml

2005-08-21 Thread wsmoak
Author: wsmoak
Date: Sun Aug 21 07:57:40 2005
New Revision: 234223

URL: http://svn.apache.org/viewcvs?rev=234223&view=rev
Log:
Removed href attributes from section tags and added anchors to conform with the 
Jakarta site2 format

Modified:
struts/site/trunk/xdocs/faqs/kickstart.xml
struts/site/trunk/xdocs/faqs/newbie.xml
struts/site/trunk/xdocs/faqs/ssl.xml
struts/site/trunk/xdocs/faqs/struts-el.xml

Modified: struts/site/trunk/xdocs/faqs/kickstart.xml
URL: 
http://svn.apache.org/viewcvs/struts/site/trunk/xdocs/faqs/kickstart.xml?rev=234223&r1=234222&r2=234223&view=diff
==
--- struts/site/trunk/xdocs/faqs/kickstart.xml (original)
+++ struts/site/trunk/xdocs/faqs/kickstart.xml Sun Aug 21 07:57:40 2005
@@ -242,12 +242,12 @@
 
 
 
-
+
 For a listing of some Java and Struts ISPs, visit the http://struts.sf.net/community/index.html";>Struts Community Resources 
area on SourceForge.
 
 
 
-
+
 
 If you are starting from scratch, packages like
 http://jakarta.apache.org/turbine";>Turbine and

Modified: struts/site/trunk/xdocs/faqs/newbie.xml
URL: 
http://svn.apache.org/viewcvs/struts/site/trunk/xdocs/faqs/newbie.xml?rev=234223&r1=234222&r2=234223&view=diff
==
--- struts/site/trunk/xdocs/faqs/newbie.xml (original)
+++ struts/site/trunk/xdocs/faqs/newbie.xml Sun Aug 21 07:57:40 2005
@@ -6,7 +6,8 @@
 
 
 
-
+
+
 
 
 Here are answers to the most common questions people ask when using
@@ -157,7 +158,8 @@
 
 
 
-
+
+
 
 
 The problem with ReloadAction was that Struts was trying to act like a
@@ -209,7 +211,8 @@
 
 
 
-
+
+
 
 
 Since Struts 1.1, the framework supports multiple application modules. All 
applications have at
@@ -243,7 +246,8 @@
 
 
 
-
+
+
 
 The framework grew in the telling and, as it evolved, some of the names
 drifted.
@@ -255,8 +259,8 @@
 
 
 
-
-
+
+
 
 http://www.mail-archive.com/[EMAIL 
PROTECTED]/msg19281.html">http://www.mail-archive.com/[EMAIL 
PROTECTED]/msg19281.html
 http://www.mail-archive.com/[EMAIL 
PROTECTED]/msg19338.html">http://www.mail-archive.com/[EMAIL 
PROTECTED]/msg19338.html
@@ -264,8 +268,8 @@
 
 
 
-
-
+ 
+
 
 The MVC design pattern is very simple to understand but much more difficult
 to live with.  You just need this little bit of Business Logic in the View
@@ -297,7 +301,8 @@
 
 
 
-
+
+
 
 The utilities that Struts uses (Commons-BeanUtils since 1.1) require that 
ActionForm properties follow
 the JavaBean patterns for mutators and accessors (get*,set*,is*). Since Struts 
uses the Introspection API
@@ -312,8 +317,8 @@
 
 
 
-
-
+
+
 
 Yes. Define the element as an array and Struts will autopopulate it like any 
other.
 
@@ -329,8 +334,8 @@
 
 
 
-
-
+
+
 
 Yes.  The issue is that only one action class can be
 associated with a single form. So the real issue is how do I decode
@@ -355,8 +360,8 @@
 your action form if you choose this route.
 
 
-
-
+
+
 
 Unfortunately, there is some disagreement between the various browsers, and 
different versions of the same browser, as to how the focus can be set.
 The  tag provides a quick and easy JavaScript that will set the 
focus on a form
@@ -368,8 +373,8 @@
 
 
 
-
-
+
+
 
 A problem with a checkbox is that the browser will only include it in the 
request
 when it is checked. If it is not checked, the HTML specification suggests that 
it
@@ -395,7 +400,8 @@
 
 
 
-
+
+
 
 You can submit a form with a link as below.
 BTW, the examples below assume you are in an  block and 
'myForm'
@@ -455,7 +461,8 @@
 
 
 
-
+
+
 
 
 Struts is mainly a server-side technology.
@@ -488,7 +495,8 @@
 
 
 
-
+
+
 
 No.
 You need to set checkbox properties to false if the ActionForm is being 
retained in session scope.
@@ -500,8 +508,8 @@
 
 
 
-
-
+
+
 
 Struts is designed to encourage a
 http://www.javaworld.com/javaworld/jw-12-1999/jw-12-ssj-jspmvc.html";>
@@ -527,8 +535,8 @@
 
 
 
-
-
+
+
 
 Yes. There are several ways that you can use other beans or hashmaps with 
ActionForms.
 
@@ -601,8 +609,8 @@
 
 
 
-
-
+
+
 
 The Struts tags seem to provide only the most rudimentary functionality.
 Why is there not better support for date formatting and advanced string 
handling?
@@ -624,7 +632,8 @@
 
 
 
-
+
+
 
 Since the Struts tags are open source, you can extend them to provide whatever 
additional formatting you may need.
 If you are interested in a pre-written taglib that offers more layout options, 
see the
@@ -636,7 +645,8 @@
 
 
 
-
+
+
 
 The  tag is not intended for use with client-side references 
like those used to launch Javascripts or email clients.
 The purpose of link tag is to interject the context (or module) path into the 
URI so that your server-side links are not dependent on your context (or 
module) name.
@@ -646,20 +656,22 @@
 
 
 
-
+
+
 
 http://www.mail-archive.com/[EMAIL 
PROTECTED]/msg24504.

Test JSPs

2005-08-21 Thread Hubert Rabago
There are test JSPs in
/taglib/trunk/src/webapp/org/apache/struts/taglib/html.  How are these
being used?  I remember running Maven builds on taglib and not seeing
tests that use these (not that I knew what I was looking for).  There
are deprecated tags that I'm removing that are being referenced by
some of these tags.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234242 - /struts/core/trunk/src/share/org/apache/struts/chain/commands/AbstractAuthorizeAction.java

2005-08-21 Thread germuska
Author: germuska
Date: Sun Aug 21 08:23:25 2005
New Revision: 234242

URL: http://svn.apache.org/viewcvs?rev=234242&view=rev
Log:
Extract test for whether authorization is required into a protected method, so
that subclasses can cause isAuthorized to be called as a default condition,
or based on other rules rather than the explicit presence of roles.

Modified:

struts/core/trunk/src/share/org/apache/struts/chain/commands/AbstractAuthorizeAction.java

Modified: 
struts/core/trunk/src/share/org/apache/struts/chain/commands/AbstractAuthorizeAction.java
URL: 
http://svn.apache.org/viewcvs/struts/core/trunk/src/share/org/apache/struts/chain/commands/AbstractAuthorizeAction.java?rev=234242&r1=234241&r2=234242&view=diff
==
--- 
struts/core/trunk/src/share/org/apache/struts/chain/commands/AbstractAuthorizeAction.java
 (original)
+++ 
struts/core/trunk/src/share/org/apache/struts/chain/commands/AbstractAuthorizeAction.java
 Sun Aug 21 08:23:25 2005
@@ -58,14 +58,13 @@
 ActionConfig actionConfig = actionCtx.getActionConfig();
 
 // Is this action protected by role requirements?
-String roles[] = actionConfig.getRoleNames();
-if ((roles == null) || (roles.length < 1)) {
+if (!isAuthorizationRequired(actionConfig)) {
 return (false);
 }
 
 boolean throwEx = false;
 try {
-throwEx = !(isAuthorized(actionCtx, roles, actionConfig));
+throwEx = !(isAuthorized(actionCtx, actionConfig.getRoleNames(), 
actionConfig));
 }
 catch (Exception ex) {
 throwEx = true;
@@ -80,6 +79,19 @@
 return (false);
 }
 
+}
+
+/**
+ * Must authorization rules be consulted?  The base implementation 
returns
+ * true if the given ActionConfig has one or 
more 
+ * roles defined.
+ * 
+ * @param actionConfig the current ActionConfig object
+ * @return true if the isAuthorized method should be 
consulted.
+ */
+protected boolean isAuthorizationRequired(ActionConfig actionConfig) {
+String[] roles = actionConfig.getRoleNames();
+return (roles != null) && (roles.length > 0);
 }
 
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

2005-08-21 Thread wsmoak
Author: wsmoak
Date: Sun Aug 21 08:41:28 2005
New Revision: 234250

URL: http://svn.apache.org/viewcvs?rev=234250&view=rev
Log:
Added missing reports back to taglib. (The list of reports in 
taglib/project.xml overrides the list in the common build file.)

Modified:
struts/taglib/trunk/project.xml

Modified: struts/taglib/trunk/project.xml
URL: 
http://svn.apache.org/viewcvs/struts/taglib/trunk/project.xml?rev=234250&r1=234249&r2=234250&view=diff
==
--- struts/taglib/trunk/project.xml (original)
+++ struts/taglib/trunk/project.xml Sun Aug 21 08:41:28 2005
@@ -143,6 +143,23 @@


 taglib
+
+maven-checkstyle-plugin
+maven-changelog-plugin
+maven-changes-plugin
+maven-developer-activity-plugin
+maven-faq-plugin
+maven-file-activity-plugin
+maven-javadoc-plugin
+maven-jdepend-plugin
+maven-junit-report-plugin
+maven-jxr-plugin
+
+maven-pmd-plugin
+maven-simian-plugin
+maven-tasklist-plugin
+maven-jcoverage-plugin
+

   
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Test JSPs

2005-08-21 Thread James Mitchell
Those tests were originally part of the suite of Cactus tests that  
someone created and I added to.  They almost completely cover the  
entire set of tags, however, they are pretty dated.


Are you wanting to fix the tests to align with recent changes?



--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeTech, Inc.
http://www.edgetechservices.net/
678.910.8017
AIM:   jmitchtx
Yahoo: jmitchtx
MSN:   [EMAIL PROTECTED]
Skype: jmitchtx



On Aug 21, 2005, at 11:09 AM, Hubert Rabago wrote:


There are test JSPs in
/taglib/trunk/src/webapp/org/apache/struts/taglib/html.  How are these
being used?  I remember running Maven builds on taglib and not seeing
tests that use these (not that I knew what I was looking for).  There
are deprecated tags that I'm removing that are being referenced by
some of these tags.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234269 - /struts/site/trunk/xdocs/javadoc.xml

2005-08-21 Thread wsmoak
Author: wsmoak
Date: Sun Aug 21 09:59:06 2005
New Revision: 234269

URL: http://svn.apache.org/viewcvs?rev=234269&view=rev
Log:
Added page with links to Javadoc for most of the projects.

Added:
struts/site/trunk/xdocs/javadoc.xml

Added: struts/site/trunk/xdocs/javadoc.xml
URL: 
http://svn.apache.org/viewcvs/struts/site/trunk/xdocs/javadoc.xml?rev=234269&view=auto
==
--- struts/site/trunk/xdocs/javadoc.xml (added)
+++ struts/site/trunk/xdocs/javadoc.xml Sun Aug 21 09:59:06 2005
@@ -0,0 +1,81 @@
+
+
+
+
+  
+Javadoc
+  
+
+
+
+
+  
+
+  Struts Core
+
+
+  Struts Taglibs
+
+
+
+  Struts BSF
+
+
+  Struts Tiles
+
+
+  Struts EL
+
+
+  Struts JSF Integration 
Library
+
+
+  Struts Flow
+
+
+  
+  
+  
+
+  http://people.apache.org/~craigmcc/shale-core-javadocs/";>
+  Shale Core Library
+
+  http://people.apache.org/~craigmcc/shale-clay-javadocs/";>
+  Shale Clay Plug-In
+
+  http://people.apache.org/~craigmcc/shale-test-javadocs/";>
+  Shale Test Framework
+
+  http://people.apache.org/~craigmcc/shale-usecases-javadocs/";>
+  Shale Use Cases Sample App
+
+  
+
+
+
+
+



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Test JSPs

2005-08-21 Thread Hubert Rabago
I'm removing some deprecated tags and am trying to find references to
them.  Since they're not being run now, can I check in my changes to
the tags?

Hubert

On 8/21/05, James Mitchell <[EMAIL PROTECTED]> wrote:
> Those tests were originally part of the suite of Cactus tests that
> someone created and I added to.  They almost completely cover the
> entire set of tags, however, they are pretty dated.
> 
> Are you wanting to fix the tests to align with recent changes?
> 
> 
> 
> --
> James Mitchell
> Software Engineer / Open Source Evangelist
> Consulting / Mentoring / Freelance
> EdgeTech, Inc.
> http://www.edgetechservices.net/
> 678.910.8017
> AIM:   jmitchtx
> Yahoo: jmitchtx
> MSN:   [EMAIL PROTECTED]
> Skype: jmitchtx
> 
> 
> 
> On Aug 21, 2005, at 11:09 AM, Hubert Rabago wrote:
> 
> > There are test JSPs in
> > /taglib/trunk/src/webapp/org/apache/struts/taglib/html.  How are these
> > being used?  I remember running Maven builds on taglib and not seeing
> > tests that use these (not that I knew what I was looking for).  There
> > are deprecated tags that I'm removing that are being referenced by
> > some of these tags.
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234318 - in /struts/tiles/trunk: src/java/org/apache/struts/tiles/taglib/util/TagUtils.java tiles-documentation/src/java/org/apache/struts/webapp/tiles/channel/ChannelFactorySet.java

2005-08-21 Thread hrabago
Author: hrabago
Date: Sun Aug 21 11:57:47 2005
New Revision: 234318

URL: http://svn.apache.org/viewcvs?rev=234318&view=rev
Log:
Remove deprecated items:
TagUtils' getProperty()
ChannelFactorySet's debug

Modified:

struts/tiles/trunk/src/java/org/apache/struts/tiles/taglib/util/TagUtils.java

struts/tiles/trunk/tiles-documentation/src/java/org/apache/struts/webapp/tiles/channel/ChannelFactorySet.java

Modified: 
struts/tiles/trunk/src/java/org/apache/struts/tiles/taglib/util/TagUtils.java
URL: 
http://svn.apache.org/viewcvs/struts/tiles/trunk/src/java/org/apache/struts/tiles/taglib/util/TagUtils.java?rev=234318&r1=234317&r2=234318&view=diff
==
--- 
struts/tiles/trunk/src/java/org/apache/struts/tiles/taglib/util/TagUtils.java 
(original)
+++ 
struts/tiles/trunk/src/java/org/apache/struts/tiles/taglib/util/TagUtils.java 
Sun Aug 21 11:57:47 2005
@@ -110,34 +110,6 @@
 }
 
 
-
-/**
- * Return the value of the specified property of the specified bean,
- * no matter which property reference format is used, with no
- * type conversions.
- *
- * @param bean Bean whose property is to be extracted.
- * @param name Possibly indexed and/or nested name of the property
- *  to be extracted.
- *
- * @exception IllegalAccessException if the caller does not have
- *  access to the property accessor method
- * @exception InvocationTargetException if the property accessor method
- *  throws an exception
- * @exception NoSuchMethodException if an accessor method for this
- *  propety cannot be found.
- * @deprecated Use PropertyUtils.getProperty() directly.  This will be 
removed
- * after Struts 1.2.
- */
-   public static Object getProperty(Object bean, String name)
-   throws
-   IllegalAccessException,
-   InvocationTargetException,
-   NoSuchMethodException {
-
-   return PropertyUtils.getProperty(bean, name);
-   }
-
 /**
  * Retrieve bean from page context, using specified scope.
  * If scope is not set, use findAttribute().

Modified: 
struts/tiles/trunk/tiles-documentation/src/java/org/apache/struts/webapp/tiles/channel/ChannelFactorySet.java
URL: 
http://svn.apache.org/viewcvs/struts/tiles/trunk/tiles-documentation/src/java/org/apache/struts/webapp/tiles/channel/ChannelFactorySet.java?rev=234318&r1=234317&r2=234318&view=diff
==
--- 
struts/tiles/trunk/tiles-documentation/src/java/org/apache/struts/webapp/tiles/channel/ChannelFactorySet.java
 (original)
+++ 
struts/tiles/trunk/tiles-documentation/src/java/org/apache/struts/webapp/tiles/channel/ChannelFactorySet.java
 Sun Aug 21 11:57:47 2005
@@ -52,12 +52,6 @@
 private static final Log log = LogFactory.getLog(ChannelFactorySet.class);
 
 /** 
- * Debug flag. 
- * @deprecated This will be removed in a release after Struts 1.2.
- */
-public static final boolean debug = false;
-
-/** 
  * Default name.
  */
 public static final String DEFAULT_DEFINITIONS_FILE_NAME =



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JSF vs. Struts

2005-08-21 Thread netsql

Ted Husted wrote:



Once upon a time, people were saying the same sort of things about
custom tags that people now say about JSF. It's too new, it's too fat,
scriplets are faster.


I've started coming arround, due to Faclets and some other minor 
improvments (if I was ever to do an HTML site again, doubtfull). But 
Faclets look ok to me.

https://facelets.dev.java.net/source/browse/facelets/src/test/com/sun/facelets/greeting.xhtml?rev=1.1&view=markup




Like two flowers planted in the same bed, Classic and Shale can be
healthier together than apart. Synergistically, roots can intertwine
and reinforce each other, making two together stronger than either
apart.



And pick each others brain and cross polinate for a superior gene.

.V


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234306 - in /struts/bsf/trunk/src/struts-example: changePassword.jsp index.jsp logon.jsp

2005-08-21 Thread hrabago
Author: hrabago
Date: Sun Aug 21 11:33:59 2005
New Revision: 234306

URL: http://svn.apache.org/viewcvs?rev=234306&view=rev
Log:
Remove references to deprecated (and soon to be removed) attributes.

Modified:
struts/bsf/trunk/src/struts-example/changePassword.jsp
struts/bsf/trunk/src/struts-example/index.jsp
struts/bsf/trunk/src/struts-example/logon.jsp

Modified: struts/bsf/trunk/src/struts-example/changePassword.jsp
URL: 
http://svn.apache.org/viewcvs/struts/bsf/trunk/src/struts-example/changePassword.jsp?rev=234306&r1=234305&r2=234306&view=diff
==
--- struts/bsf/trunk/src/struts-example/changePassword.jsp (original)
+++ struts/bsf/trunk/src/struts-example/changePassword.jsp Sun Aug 21 11:33:59 
2005
@@ -2,7 +2,7 @@
 <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
 <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
 
-
+
 
 
 

Modified: struts/bsf/trunk/src/struts-example/index.jsp
URL: 
http://svn.apache.org/viewcvs/struts/bsf/trunk/src/struts-example/index.jsp?rev=234306&r1=234305&r2=234306&view=diff
==
--- struts/bsf/trunk/src/struts-example/index.jsp (original)
+++ struts/bsf/trunk/src/struts-example/index.jsp Sun Aug 21 11:33:59 2005
@@ -3,7 +3,7 @@
 <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
 <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
 
-
+
 
 
 

Modified: struts/bsf/trunk/src/struts-example/logon.jsp
URL: 
http://svn.apache.org/viewcvs/struts/bsf/trunk/src/struts-example/logon.jsp?rev=234306&r1=234305&r2=234306&view=diff
==
--- struts/bsf/trunk/src/struts-example/logon.jsp (original)
+++ struts/bsf/trunk/src/struts-example/logon.jsp Sun Aug 21 11:33:59 2005
@@ -2,7 +2,7 @@
 <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
 <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
 
-
+
 
 
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JSF vs. Struts

2005-08-21 Thread Ted Husted
On 8/15/05, Rich Feit <[EMAIL PROTECTED]> wrote:
> In general, I agree with the sentiment that there's a lot of hype in
> this arena, and not all of it is easily backed up.  But the Struts
> community has always been a bit hype-adverse, no?

Once upon a time, people were saying the same sort of things about
custom tags that people now say about JSF. It's too new, it's too fat,
scriplets are faster. We already know how to use scriptlets, why fuss
with tags?

And, all of those statements were true. In the beginning, custom tags
were slower than scriplets. Five years ago, custom tag compilers were
naive and generated sad, bloated code. But, many of us saw the
potential in custom tags, and we bit the bullet and took the hit.
Sure, the code was sad, but in the greater scheme of things, the tags
are lost in the rounding, and such things are easily fixed by
improving the compiler. The long-term architectural gains custom tags
provided, many of us believed, were worth the short-term code bloat.
Compilers did improve, and all the work we did with custom tag
suddenly became more valuable.

Custom tags were a pardigm shift for many teams then, and components
are a paradigm shift for many teams today. From experience, many of us
know that custom tags provide many benefits in terms of fast
deployment and easy maintenance. And, from experience, many of us
already know that components provide benefits in terms of fast
deployment.

Over time, will components also provide the benefits of easy
maintenance? Hmmm, probably. Check back in 2010, and then we'll know
for sure :)

In the meantime, those of us interested in Struts Classic will
continue to work on Struts Classic, and those of us interested in
Struts Shale can spend our volunteer hours there.

Like two flowers planted in the same bed, Classic and Shale can be
healthier together than apart. Synergistically, roots can intertwine
and reinforce each other, making two together stronger than either
apart.

-Ted.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234312 - /struts/core/trunk/src/share/org/apache/struts/util/ResponseUtils.java

2005-08-21 Thread hrabago
Author: hrabago
Date: Sun Aug 21 11:46:28 2005
New Revision: 234312

URL: http://svn.apache.org/viewcvs?rev=234312&view=rev
Log:
Remove the deprecated tag on a method that's not.

Modified:
struts/core/trunk/src/share/org/apache/struts/util/ResponseUtils.java

Modified: struts/core/trunk/src/share/org/apache/struts/util/ResponseUtils.java
URL: 
http://svn.apache.org/viewcvs/struts/core/trunk/src/share/org/apache/struts/util/ResponseUtils.java?rev=234312&r1=234311&r2=234312&view=diff
==
--- struts/core/trunk/src/share/org/apache/struts/util/ResponseUtils.java 
(original)
+++ struts/core/trunk/src/share/org/apache/struts/util/ResponseUtils.java Sun 
Aug 21 11:46:28 2005
@@ -82,7 +82,6 @@
  * by the corresponding character entities.
  *
  * @param value The string to be filtered and returned
- * @deprecated  Why
  */
 public static String filter(String value) {
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234305 - in /struts/apps/trunk: blank/src/webapp/pages/Welcome.jsp examples/src/webapp/WEB-INF/exercise/struts-config.xml examples/src/webapp/exercise/html-img.jsp examples/src/webapp/val

2005-08-21 Thread hrabago
Author: hrabago
Date: Sun Aug 21 11:33:34 2005
New Revision: 234305

URL: http://svn.apache.org/viewcvs?rev=234305&view=rev
Log:
Remove references to deprecated (and soon to be removed) attributes.

Modified:
struts/apps/trunk/blank/src/webapp/pages/Welcome.jsp
struts/apps/trunk/examples/src/webapp/WEB-INF/exercise/struts-config.xml
struts/apps/trunk/examples/src/webapp/exercise/html-img.jsp
struts/apps/trunk/examples/src/webapp/validator/index.jsp
struts/apps/trunk/shared/src/webapp/changePassword.jsp

Modified: struts/apps/trunk/blank/src/webapp/pages/Welcome.jsp
URL: 
http://svn.apache.org/viewcvs/struts/apps/trunk/blank/src/webapp/pages/Welcome.jsp?rev=234305&r1=234304&r2=234305&view=diff
==
--- struts/apps/trunk/blank/src/webapp/pages/Welcome.jsp (original)
+++ struts/apps/trunk/blank/src/webapp/pages/Welcome.jsp Sun Aug 21 11:33:34 
2005
@@ -2,7 +2,7 @@
 <%@ taglib uri="http://struts.apache.org/tags-html"; prefix="html" %>
 <%@ taglib uri="http://struts.apache.org/tags-logic"; prefix="logic" %>
 
-
+
 
 
 

Modified: 
struts/apps/trunk/examples/src/webapp/WEB-INF/exercise/struts-config.xml
URL: 
http://svn.apache.org/viewcvs/struts/apps/trunk/examples/src/webapp/WEB-INF/exercise/struts-config.xml?rev=234305&r1=234304&r2=234305&view=diff
==
--- struts/apps/trunk/examples/src/webapp/WEB-INF/exercise/struts-config.xml 
(original)
+++ struts/apps/trunk/examples/src/webapp/WEB-INF/exercise/struts-config.xml 
Sun Aug 21 11:33:34 2005
@@ -14,7 +14,7 @@
   
   
 http://jakarta.apache.org/struts"; />
-
+
 
 
 
@@ -51,7 +51,7 @@
 
 
 
-
+
 
 
 

Modified: struts/apps/trunk/examples/src/webapp/exercise/html-img.jsp
URL: 
http://svn.apache.org/viewcvs/struts/apps/trunk/examples/src/webapp/exercise/html-img.jsp?rev=234305&r1=234304&r2=234305&view=diff
==
--- struts/apps/trunk/examples/src/webapp/exercise/html-img.jsp (original)
+++ struts/apps/trunk/examples/src/webapp/exercise/html-img.jsp Sun Aug 21 
11:33:34 2005
@@ -34,14 +34,6 @@
 
 
 
-Struts img tag via page attribute, context relative
-
-
-
-
-
-
-
 Struts img tag via page attribute, default module
 
 

Modified: struts/apps/trunk/examples/src/webapp/validator/index.jsp
URL: 
http://svn.apache.org/viewcvs/struts/apps/trunk/examples/src/webapp/validator/index.jsp?rev=234305&r1=234304&r2=234305&view=diff
==
--- struts/apps/trunk/examples/src/webapp/validator/index.jsp (original)
+++ struts/apps/trunk/examples/src/webapp/validator/index.jsp Sun Aug 21 
11:33:34 2005
@@ -5,7 +5,7 @@
 <%@ taglib uri="http://struts.apache.org/tags-html"; prefix="html" %>
 <%@ taglib uri="http://struts.apache.org/tags-logic"; prefix="logic" %>
 
-
+
 
 
 

Modified: struts/apps/trunk/shared/src/webapp/changePassword.jsp
URL: 
http://svn.apache.org/viewcvs/struts/apps/trunk/shared/src/webapp/changePassword.jsp?rev=234305&r1=234304&r2=234305&view=diff
==
--- struts/apps/trunk/shared/src/webapp/changePassword.jsp (original)
+++ struts/apps/trunk/shared/src/webapp/changePassword.jsp Sun Aug 21 11:33:34 
2005
@@ -2,7 +2,7 @@
 <%@ taglib uri="http://struts.apache.org/tags-bean"; prefix="bean" %>
 <%@ taglib uri="http://struts.apache.org/tags-html"; prefix="html" %>
 
-
+
 
 
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234310 - /struts/site/trunk/xdocs/userGuide/configuration.xml

2005-08-21 Thread hrabago
Author: hrabago
Date: Sun Aug 21 11:44:47 2005
New Revision: 234310

URL: http://svn.apache.org/viewcvs?rev=234310&view=rev
Log:
Remove references to deprecated (and soon to be removed) attributes.

Modified:
struts/site/trunk/xdocs/userGuide/configuration.xml

Modified: struts/site/trunk/xdocs/userGuide/configuration.xml
URL: 
http://svn.apache.org/viewcvs/struts/site/trunk/xdocs/userGuide/configuration.xml?rev=234310&r1=234309&r2=234310&view=diff
==
--- struts/site/trunk/xdocs/userGuide/configuration.xml (original)
+++ struts/site/trunk/xdocs/userGuide/configuration.xml Sun Aug 21 11:44:47 2005
@@ -94,8 +94,7 @@
 
 forwardPattern - Replacement pattern defining how the 
"path"
 attribute of a  element is mapped to a
-context-relative URL when it starts with a slash (and when the
-contextRelative property is false).
+context-relative URL when it starts with a slash.
 This value may consist of any combination of the following:
 
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234316 - in /struts/el/trunk: doc/userGuide/ src/share/org/apache/strutsel/taglib/bean/ src/share/org/apache/strutsel/taglib/html/ web/exercise-taglib/

2005-08-21 Thread hrabago
Author: hrabago
Date: Sun Aug 21 11:54:18 2005
New Revision: 234316

URL: http://svn.apache.org/viewcvs?rev=234316&view=rev
Log:
Remove deprecated attributes and references to them:
bean:include's name
html:html's locale
html:img's contextRelative

Modified:
struts/el/trunk/doc/userGuide/struts-bean-el.xml
struts/el/trunk/doc/userGuide/struts-html-el.xml
struts/el/trunk/src/share/org/apache/strutsel/taglib/bean/ELIncludeTag.java

struts/el/trunk/src/share/org/apache/strutsel/taglib/bean/ELIncludeTagBeanInfo.java
struts/el/trunk/src/share/org/apache/strutsel/taglib/html/ELHtmlTag.java

struts/el/trunk/src/share/org/apache/strutsel/taglib/html/ELHtmlTagBeanInfo.java
struts/el/trunk/src/share/org/apache/strutsel/taglib/html/ELImgTag.java

struts/el/trunk/src/share/org/apache/strutsel/taglib/html/ELImgTagBeanInfo.java
struts/el/trunk/web/exercise-taglib/html-link.jsp

Modified: struts/el/trunk/doc/userGuide/struts-bean-el.xml
URL: 
http://svn.apache.org/viewcvs/struts/el/trunk/doc/userGuide/struts-bean-el.xml?rev=234316&r1=234315&r2=234316&view=diff
==
--- struts/el/trunk/doc/userGuide/struts-bean-el.xml (original)
+++ struts/el/trunk/doc/userGuide/struts-bean-el.xml Sun Aug 21 11:54:18 2005
@@ -128,20 +128,6 @@
 
 
 
-  name
-  false
-  true
-  
-  Module-relative name (starting with a '/') of the web application
-  resource to be dispatched, and whose response data is to be made
-  available as a bean.
-  
-  
-  Use the "page" attribute instead.
-  
-
-
-
   page
   false
   true

Modified: struts/el/trunk/doc/userGuide/struts-html-el.xml
URL: 
http://svn.apache.org/viewcvs/struts/el/trunk/doc/userGuide/struts-html-el.xml?rev=234316&r1=234315&r2=234316&view=diff
==
--- struts/el/trunk/doc/userGuide/struts-html-el.xml (original)
+++ struts/el/trunk/doc/userGuide/struts-html-el.xml Sun Aug 21 11:54:18 2005
@@ -2552,23 +2552,6 @@
 
 
   
-locale
-false
-true
-
-  Set to true in order to store a Locale in the 
session based on
-  the current request's Accept-Language header (if
-  any) if none has currently been set.  This attribute will create 
a session
-  if one does not already exist.  The lang attribute is rendered 
with the
-  appropriate language code.
-
-
-Creating a session is undesirable for apps that don't support 
them.  Use the lang
-attribute to achieve the same functionality without creating a 
session.
-
-  
-
-  
 xhtml
 false
 true
@@ -3113,18 +3096,6 @@
   instance to use.  If not specified, defaults to the
   application resources configured for our action servlet.
   
-
-
-
-contextRelative
-false
-true
-Use module attribute instead; will be removed 
in a release afer 1.2.0.
- 
- If set to "true", this 
"anchors" the image src at the
- application context rather 
than the module context when the
- 'page' attribute is used to 
specify an image path.
- 
 
 
 

Modified: 
struts/el/trunk/src/share/org/apache/strutsel/taglib/bean/ELIncludeTag.java
URL: 
http://svn.apache.org/viewcvs/struts/el/trunk/src/share/org/apache/strutsel/taglib/bean/ELIncludeTag.java?rev=234316&r1=234315&r2=234316&view=diff
==
--- struts/el/trunk/src/share/org/apache/strutsel/taglib/bean/ELIncludeTag.java 
(original)
+++ struts/el/trunk/src/share/org/apache/strutsel/taglib/bean/ELIncludeTag.java 
Sun Aug 21 11:54:18 2005
@@ -56,11 +56,6 @@
  */
 private String idExpr;
 /**
- * Instance variable mapped to "name" tag attribute.
- * (Mapping set in associated BeanInfo class.)
- */
-private String nameExpr;
-/**
  * Instance variable mapped to "page" tag attribute.
  * (Mapping set in associated BeanInfo class.)
  */
@@ -92,11 +87,6 @@
  */
 public String getIdExpr() { return (idExpr); }
 /**
- * Getter method for "name" tag attribute.
- * (Mapping set in associated BeanInfo class.)
- */
-public String getNameExpr() { return (nameExpr); }
-/**
  * Getter method for "page" tag attribute.
  * (Mapping set in associated BeanInfo class.)
  */
@@ -128

svn commit: r234311 - /struts/core/trunk/src/share/org/apache/struts/util/ModuleUtils.java

2005-08-21 Thread hrabago
Author: hrabago
Date: Sun Aug 21 11:45:50 2005
New Revision: 234311

URL: http://svn.apache.org/viewcvs?rev=234311&view=rev
Log:
Update incorrect reference in javadoc.

Modified:
struts/core/trunk/src/share/org/apache/struts/util/ModuleUtils.java

Modified: struts/core/trunk/src/share/org/apache/struts/util/ModuleUtils.java
URL: 
http://svn.apache.org/viewcvs/struts/core/trunk/src/share/org/apache/struts/util/ModuleUtils.java?rev=234311&r1=234310&r2=234311&view=diff
==
--- struts/core/trunk/src/share/org/apache/struts/util/ModuleUtils.java 
(original)
+++ struts/core/trunk/src/share/org/apache/struts/util/ModuleUtils.java Sun Aug 
21 11:45:50 2005
@@ -67,7 +67,7 @@
  * object. If no moduleConfig is found, this means that the request haven't
  * hit the server throught the struts servlet. The appropriate module 
config
  * can be set and found with
- * [EMAIL PROTECTED] RequestUtils#selectModule(HttpServletRequest, 
ServletContext)} .
+ * [EMAIL PROTECTED] ModuleUtils#selectModule(HttpServletRequest, 
ServletContext)} .
  * @param request The servlet request we are processing
  * @return the ModuleConfig object from request, or null if none is set in
  * the request.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234336 - in /struts/taglib/trunk: project.xml src/tld/struts-html.tld

2005-08-21 Thread wsmoak
Author: wsmoak
Date: Sun Aug 21 13:19:46 2005
New Revision: 234336

URL: http://svn.apache.org/viewcvs?rev=234336&view=rev
Log:
Fix invalid xml, change to version 1.4 of the taglib plugin.

Thanks to Maven Taglib Plugin author Fabrizio Giustina for fixing a problem 
with the tagreference pages (markup from CDATA sections was displaying on the 
page) and releasing a new version of the plugin.

Modified:
struts/taglib/trunk/project.xml
struts/taglib/trunk/src/tld/struts-html.tld

Modified: struts/taglib/trunk/project.xml
URL: 
http://svn.apache.org/viewcvs/struts/taglib/trunk/project.xml?rev=234336&r1=234335&r2=234336&view=diff
==
--- struts/taglib/trunk/project.xml (original)
+++ struts/taglib/trunk/project.xml Sun Aug 21 13:19:46 2005
@@ -112,7 +112,7 @@
 
   maven-taglib
   maven-taglib-plugin
-  1.3
+  1.4
   plugin
   http://maven-taglib.sourceforge.net
 

Modified: struts/taglib/trunk/src/tld/struts-html.tld
URL: 
http://svn.apache.org/viewcvs/struts/taglib/trunk/src/tld/struts-html.tld?rev=234336&r1=234335&r2=234336&view=diff
==
--- struts/taglib/trunk/src/tld/struts-html.tld (original)
+++ struts/taglib/trunk/src/tld/struts-html.tld Sun Aug 21 13:19:46 2005
@@ -30,7 +30,7 @@
 empty
 
 

Bug report for Struts [2005/08/21]

2005-08-21 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=CriticalMAJ=Major |
| |   |   MIN=Minor   NOR=Normal  ENH=Enhancement   |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
| 5739|Opn|Enh|2002-01-08|Struts fails silently in too many places  |
| 5937|New|Enh|2002-01-21|[taglib] html:form trims all extensions   |
| 6847|Opn|Enh|2002-03-04|Multiple file upload not possible due to MultiPart|
| 7892|Opn|Enh|2002-04-09|Using Multiple Resource Bundles for an Application|
| 7902|Opn|Enh|2002-04-10|The exception handling declaration in the DTD does|
| 9088|Opn|Enh|2002-05-15|FormTag.getActionMappingURL() assumes 1 servlet ma|
| 9616|New|Enh|2002-06-05|Some more Struts docs |
| 9748|New|Enh|2002-06-10|[taglib] attribute labelKeyProperty for Options ta|
|10550|New|Enh|2002-07-08|Delegate path-management to ActionForwards|
|10552|New|Enh|2002-07-08|create helper objects in struts-config|
|10867|Opn|Enh|2002-07-16|[taglib] Add indexedProperty attribute in html tag|
|11154|Opn|Enh|2002-07-25|[taglib] html:link tag extension for multiple para|
|11733|Opn|Enh|2002-08-15|Make error keys more specific |
|12170|Opn|Enh|2002-08-29|Added functionality when extending another definit|
|12301|Opn|Enh|2002-09-04|[taglib] nested:messages Tag does not work as expe|
|12600|New|Enh|2002-09-12|[taglib] html:form tag always prepends context pat|
|13125|Opn|Enh|2002-09-30|[taglib] Lack of character-set while using   forwardPattern should support differe|
|16708|New|Enh|2003-02-03|I18N on ActionForwards|
|16792|Ass|Enh|2003-02-05|Migrate to commons-resources for message resources|
|16814|New|Enh|2003-02-05|Add a generalized utililty class to expose informa|
|16946|Opn|Enh|2003-02-10|SwitchAction not setting context properly for tile|
|16971|New|Enh|2003-02-11|[taglib] "multiple" attribute on select tag should|
|17368|Opn|Enh|2003-02-25|[taglib]  multiple does not populate |
|17449|New|Enh|2003-02-26|[taglib] Allow relative URL in action attribute of|
|17473|New|Enh|2003-02-27|[taglib] Problem to include a jsp into an iterate |
|17530|New|Enh|2003-02-28|RequestUtils.computeURL should use the session ass|
|17559|New|Enh|2003-03-01|[tiles] key attribute for tiles (put & item)  |
|17583|Opn|Enh|2003-03-03|Handling parameters from MultipartRequestWrapper  |
|17600|New|Enh|2003-03-03|[taglib] key property for html:optionsCollection t|
|18015|Opn|Enh|2003-03-14|[taglib] New  custom tag to write form|
|18017|Opn|Enh|2003-03-14|[tiles] extends fails in JSP-based Definitions|
|18022|New|Enh|2003-03-14|HttpSessionBindingListener.valueUnbound() called o|
|18032|Opn|Enh|2003-03-16|[taglib]  tag appending session doesn't |
|18194|Opn|Enh|2003-03-20|[resources] Enhance MessageResources to enable sev|
|18237|Opn|Enh|2003-03-21|[tiles] excessive memory usage|
|18293|New|Enh|2003-03-24|Loading language files does not use Resource Bundl|
|18788|New|Enh|2003-04-07|Multiple input hook for multipage forms in process|
|18981|New|Enh|2003-04-13|[upload] File upload maximum size validator   |
|19346|New|Enh|2003-04-26|Errors and Messages should be easier to manage|
|19539|New|Enh|2003-05-02|Add checks for List and Map-backed properties in D|
|19631|New|Enh|2003-05-04|Enhancements to RequestUtils tests|
|19812|New|Enh|2003-05-10|[taglib] BaseFieldTag don't use ConvertUtils as St|
|19903|New|Enh|2003-05-13|Field considered valid if no ActionError created  |
|19925|New|Enh|2003-05-14|Server side solution for DispatchAction and : Make value optional when id|
|21282|Ass|Enh|2003-07-02|[validator] numeric validations should use locales|
|21508|New|Enh|2003-07-11|[tiles]  element too restrictive|
|21512|New|Enh|2003-07-11|exception tag's path attribute accepts only web re|
|21514|New|Enh|2003-07-11|[taglib] html:form focus function could be more po|
|21517|New|Enh|2003-07-11|[tiles] definition's put tag works in non-standard|
|21575|New|Enh|2003-07-14|RequestProcessor : Populating non-String Bean fiel|
|21624|Opn|Enh|2003-07-15|Extend TokenProcessor to handle a list of tra

Re: Test JSPs

2005-08-21 Thread James Mitchell

Yes, please do.

I think all of those tests need some TLC.  There's a chance I'll have  
some unexpected free time next week, so I will see what I can do.




--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeTech, Inc.
http://www.edgetechservices.net/
678.910.8017
AIM:   jmitchtx
Yahoo: jmitchtx
MSN:   [EMAIL PROTECTED]
Skype: jmitchtx



On Aug 21, 2005, at 1:35 PM, Hubert Rabago wrote:


I'm removing some deprecated tags and am trying to find references to
them.  Since they're not being run now, can I check in my changes to
the tags?

Hubert

On 8/21/05, James Mitchell <[EMAIL PROTECTED]> wrote:


Those tests were originally part of the suite of Cactus tests that
someone created and I added to.  They almost completely cover the
entire set of tags, however, they are pretty dated.

Are you wanting to fix the tests to align with recent changes?



--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeTech, Inc.
http://www.edgetechservices.net/
678.910.8017
AIM:   jmitchtx
Yahoo: jmitchtx
MSN:   [EMAIL PROTECTED]
Skype: jmitchtx



On Aug 21, 2005, at 11:09 AM, Hubert Rabago wrote:



There are test JSPs in
/taglib/trunk/src/webapp/org/apache/struts/taglib/html.  How are  
these
being used?  I remember running Maven builds on taglib and not  
seeing
tests that use these (not that I knew what I was looking for).   
There

are deprecated tags that I'm removing that are being referenced by
some of these tags.

 
-

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234386 - in /struts/taglib/trunk: doc/userGuide/ src/java/org/apache/struts/taglib/ src/java/org/apache/struts/taglib/bean/ src/java/org/apache/struts/taglib/html/ src/tld/

2005-08-21 Thread hrabago
Author: hrabago
Date: Sun Aug 21 16:08:45 2005
New Revision: 234386

URL: http://svn.apache.org/viewcvs?rev=234386&view=rev
Log:
Removed deprecated class members defaultLocale and getActionErrors().
Remove deprecated tag attributes and references to them:
bean:include's name
html:html's locale
html:img's contextRelative

Modified:
struts/taglib/trunk/doc/userGuide/struts-bean.xml
struts/taglib/trunk/doc/userGuide/struts-html.xml
struts/taglib/trunk/src/java/org/apache/struts/taglib/TagUtils.java
struts/taglib/trunk/src/java/org/apache/struts/taglib/bean/IncludeTag.java
struts/taglib/trunk/src/java/org/apache/struts/taglib/bean/MessageTag.java
struts/taglib/trunk/src/java/org/apache/struts/taglib/bean/package.html

struts/taglib/trunk/src/java/org/apache/struts/taglib/html/BaseHandlerTag.java
struts/taglib/trunk/src/java/org/apache/struts/taglib/html/ErrorsTag.java
struts/taglib/trunk/src/java/org/apache/struts/taglib/html/HtmlTag.java
struts/taglib/trunk/src/java/org/apache/struts/taglib/html/ImgTag.java

struts/taglib/trunk/src/java/org/apache/struts/taglib/html/JavascriptValidatorTag.java
struts/taglib/trunk/src/java/org/apache/struts/taglib/html/OptionTag.java
struts/taglib/trunk/src/tld/struts-bean.tld
struts/taglib/trunk/src/tld/struts-html.tld

Modified: struts/taglib/trunk/doc/userGuide/struts-bean.xml
URL: 
http://svn.apache.org/viewcvs/struts/taglib/trunk/doc/userGuide/struts-bean.xml?rev=234386&r1=234385&r2=234386&view=diff
==
--- struts/taglib/trunk/doc/userGuide/struts-bean.xml (original)
+++ struts/taglib/trunk/doc/userGuide/struts-bean.xml Sun Aug 21 16:08:45 2005
@@ -433,20 +433,6 @@
 
 
 
-  name
-  false
-  true
-  
-  
-  Use the "page" attribute instead.
-  
-
-
-
   page
   false
   true

Modified: struts/taglib/trunk/doc/userGuide/struts-html.xml
URL: 
http://svn.apache.org/viewcvs/struts/taglib/trunk/doc/userGuide/struts-html.xml?rev=234386&r1=234385&r2=234386&view=diff
==
--- struts/taglib/trunk/doc/userGuide/struts-html.xml (original)
+++ struts/taglib/trunk/doc/userGuide/struts-html.xml Sun Aug 21 16:08:45 2005
@@ -2558,23 +2558,6 @@
 
 
   
-locale
-false
-true
-
-
-Creating a session is undesirable for apps that don't support 
them.  Use the lang
-attribute to achieve the same functionality without creating a 
session.
-
-  
-
-  
 xhtml
 false
 true
@@ -3119,18 +3102,6 @@
   instance to use.  If not specified, defaults to the
   application resources configured for our action servlet.
   ]]>
-
-
-
-contextRelative
-false
-true
-Use module attribute instead; will be removed 
in a release afer 1.2.0.
- 
 
 
 

Modified: struts/taglib/trunk/src/java/org/apache/struts/taglib/TagUtils.java
URL: 
http://svn.apache.org/viewcvs/struts/taglib/trunk/src/java/org/apache/struts/taglib/TagUtils.java?rev=234386&r1=234385&r2=234386&view=diff
==
--- struts/taglib/trunk/src/java/org/apache/struts/taglib/TagUtils.java 
(original)
+++ struts/taglib/trunk/src/java/org/apache/struts/taglib/TagUtils.java Sun Aug 
21 16:08:45 2005
@@ -593,60 +593,6 @@
 }
 
 /**
- * Retrieves the value from request scope and if it isn't already an
- * ErrorMessages some classes are converted to one.
- *
- * @param pageContext The PageContext for the current page
- * @param paramName Key for parameter value
- * @return ActionErrors from request scope
- * @exception JspException
- * @deprecated Use getActionMessages() instead.  This will be removed
- * after Struts 1.2.
- */
-public ActionErrors getActionErrors(PageContext pageContext, String 
paramName)
-throws JspException {
-
-ActionErrors errors = new ActionErrors();
-
-Object value = pageContext.findAttribute(paramName);
-if (value != null) {
-try {
-if (value instanceof String) {
-errors.add(
-ActionMessages.GLOBAL_MESSAGE,
-new ActionMessage((String) value));
-
-} else if (value instanceof String[]) {
-String keys[] = (String[]) value;
-for (int i = 0; i < keys.length; i++) {
-errors.add(
-ActionMessages.GLOBAL_MESSAGE,
-   

[ANNOUNCEMENT] New Struts Committer: Gary vanMatre

2005-08-21 Thread Craig McClanahan
Please join me in welcoming Gary vanMatre as a new Struts committer.
Gary has been quite busy proposing code for the "Clay" plug-in on
Shale, and has also been supportive on the dev and user mailing lists
(for both Struts and MyFaces) ... we look forward to his energy being
available to the entire Struts project as well.

Welcome, Gary!  (And now you can process some of your own outstanding
code diffs :-).

PMC vote:  4 +1

Craig

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [ANNOUNCEMENT] New Struts Committer: Gary vanMatre

2005-08-21 Thread James Mitchell

Welcome!

--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeTech, Inc.
http://www.edgetechservices.net/
678.910.8017
AIM:   jmitchtx
Yahoo: jmitchtx
MSN:   [EMAIL PROTECTED]
Skype: jmitchtx



On Aug 21, 2005, at 8:53 PM, Craig McClanahan wrote:


Please join me in welcoming Gary vanMatre as a new Struts committer.
Gary has been quite busy proposing code for the "Clay" plug-in on
Shale, and has also been supportive on the dev and user mailing lists
(for both Struts and MyFaces) ... we look forward to his energy being
available to the entire Struts project as well.

Welcome, Gary!  (And now you can process some of your own outstanding
code diffs :-).

PMC vote:  4 +1

Craig

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [ANNOUNCEMENT] New Struts Committer: Gary vanMatre

2005-08-21 Thread Wendy Smoak

From: "Craig McClanahan" <[EMAIL PROTECTED]>

Please join me in welcoming Gary vanMatre as a new Struts committer.
Gary has been quite busy proposing code for the "Clay" plug-in on
Shale, and has also been supportive on the dev and user mailing lists
(for both Struts and MyFaces) ... we look forward to his energy being
available to the entire Struts project as well.


Welcome, Gary!

--
Wendy



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234416 [2/2] - in /struts/sandbox/trunk/tiles/src: java/org/apache/tiles/ java/org/apache/tiles/definition/ java/org/apache/tiles/digester/ java/org/apache/tiles/filter/ java/org/apache/tiles/servlets/ test/org/apache/tiles/ test/org/apach...

2005-08-21 Thread craigmcc
Added: 
struts/sandbox/trunk/tiles/src/test/org/apache/tiles/TestDigesterDefinitionsReader.java
URL: 
http://svn.apache.org/viewcvs/struts/sandbox/trunk/tiles/src/test/org/apache/tiles/TestDigesterDefinitionsReader.java?rev=234416&view=auto
==
--- 
struts/sandbox/trunk/tiles/src/test/org/apache/tiles/TestDigesterDefinitionsReader.java
 (added)
+++ 
struts/sandbox/trunk/tiles/src/test/org/apache/tiles/TestDigesterDefinitionsReader.java
 Sun Aug 21 19:23:25 2005
@@ -0,0 +1,190 @@
+/*
+ * $Id$
+ *
+ * Copyright 1999-2004 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.tiles;
+
+import java.io.InputStream;
+import java.net.URL;
+import java.util.HashMap;
+import java.util.Map;
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+import org.apache.tiles.digester.DigesterDefinitionsReader;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+
+/**
+ * Tests the org.apache.tiles.digester.DigesterDefinitionsReader 
class.
+ *
+ * @version $Rev$ $Date$ 
+ */
+public class TestDigesterDefinitionsReader extends TestCase {
+
+/** Creates a new instance of TestDigesterDefinitionsReader */
+public TestDigesterDefinitionsReader(String name) {
+super(name);
+}
+
+/**
+ * Start the tests.
+ *
+ * @param theArgs the arguments. Not used
+ */
+public static void main(String[] theArgs) {
+junit.awtui.TestRunner.main(
+new String[] { TestDigesterDefinitionsReader.class.getName()});
+}
+
+/**
+ * @return a test suite (TestSuite) that includes all methods
+ * starting with "test"
+ */
+public static Test suite() {
+return new TestSuite(TestDigesterDefinitionsReader.class);
+}
+
+/**
+ * Tests the read method under normal conditions.
+ */
+public void testRead() {
+try {
+DefinitionsReader reader = new DigesterDefinitionsReader();
+reader.init(new HashMap());
+
+URL configFile = this.getClass().getClassLoader().getResource(
+"org/apache/tiles/config/tiles-defs.xml");
+assertNotNull("Config file not found", configFile);
+
+InputStream source = configFile.openStream();
+Map definitions = reader.read(source);
+
+assertNotNull("Definitions not returned.", definitions);
+assertNotNull("Couldn't find doc.mainLayout tile.", 
+(ComponentDefinition) definitions.get("doc.mainLayout"));
+
+} catch (Exception e) {
+fail("Exception reading configuration." + e);
+}
+}
+
+/**
+ * Tests calling read without calling init.
+ */
+public void testNoInit() {
+try {
+DefinitionsReader reader = new DigesterDefinitionsReader();
+
+// What happens if we don't call init?
+// reader.init(new HashMap());
+
+URL configFile = this.getClass().getClassLoader().getResource(
+"org/apache/tiles/config/tiles-defs.xml");
+assertNotNull("Config file not found", configFile);
+
+InputStream source = configFile.openStream();
+Map definitions = reader.read(source);
+
+fail("Should've thrown exception.");
+} catch (DefinitionsFactoryException e) {
+// correct.
+} catch (Exception e) {
+fail("Exception reading configuration." + e);
+}
+}
+
+/**
+ * Tests read with bad input source.
+ */
+public void testBadSource() {
+try {
+// Create Digester Reader.
+DefinitionsReader reader = new DigesterDefinitionsReader();
+Map params = new HashMap();
+
+// Initialize reader.
+reader.init(params);
+
+// Read definitions.
+Map definitions = reader.read(new String("Bad Input"));
+fail("Should've thrown an exception.");
+} catch (DefinitionsFactoryException e) {
+// correct.
+} catch (Exception e) {
+fail("Exception reading configuration." + e);
+}
+}
+
+/**
+ * Tests read with bad XML source.
+ *

DO NOT REPLY [Bug 36028] - [Standalone Tiles] Refactor DefinitionsFactory and Create Reloadable Definitions

2005-08-21 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_bug.cgi?id=36028


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-08-22 04:25 ---
Integrated in nightly build 20050822.

Greg, could you take a look and make sure I got things right?  In particular, I
get a unit test failure on testReadByLocale:

Incorrect France country value expected: but was: 

at TestUrlDefinitionsFactory line 152.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [ANNOUNCEMENT] New Struts Committer: Gary vanMatre

2005-08-21 Thread Gary VanMatre
-- Original message -- 

> Please join me in welcoming Gary vanMatre as a new Struts committer. 
> Gary has been quite busy proposing code for the "Clay" plug-in on 
> Shale, and has also been supportive on the dev and user mailing lists 
> (for both Struts and MyFaces) ... we look forward to his energy being 
> available to the entire Struts project as well. 
> 
> Welcome, Gary! (And now you can process some of your own outstanding 
> code diffs :-). 

This is a great honor for me to be a member of such a elite group.  I'm ready 
to jump into the work being done in Shale but also interested in lending a hand 
in Struts classic as that's what currently pays the bills for me.

Thank you,
Gary

> 
> PMC vote: 4 +1 
> 
> Craig 
> 
> - 
> To unsubscribe, e-mail: [EMAIL PROTECTED] 
> For additional commands, e-mail: [EMAIL PROTECTED] 
> 

svn commit: r234421 - in /struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases: ajax/Completion.java rolodex/Address.java rolodex/Contact.java rolodex/GenericComparator.java rolodex/Rolodex.java rolodex/RolodexDao.java

2005-08-21 Thread craigmcc
Author: craigmcc
Date: Sun Aug 21 20:24:05 2005
New Revision: 234421

URL: http://svn.apache.org/viewcvs?rev=234421&view=rev
Log:
Cosmetic changes to get rid of Javadoc generation warnings.  No functional
changes.

Modified:

struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/ajax/Completion.java

struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/Address.java

struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/Contact.java

struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/GenericComparator.java

struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/Rolodex.java

struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/RolodexDao.java

Modified: 
struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/ajax/Completion.java
URL: 
http://svn.apache.org/viewcvs/struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/ajax/Completion.java?rev=234421&r1=234420&r2=234421&view=diff
==
--- 
struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/ajax/Completion.java
 (original)
+++ 
struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/ajax/Completion.java
 Sun Aug 21 20:24:05 2005
@@ -103,7 +103,7 @@
 
 
 /**
- * Store submitted value in the result property.Store submitted value in the result property.
  */
 public String submit() {
 

Modified: 
struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/Address.java
URL: 
http://svn.apache.org/viewcvs/struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/Address.java?rev=234421&r1=234420&r2=234421&view=diff
==
--- 
struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/Address.java
 (original)
+++ 
struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/Address.java
 Sun Aug 21 20:24:05 2005
@@ -75,7 +75,7 @@
 
 /**
  * 
- * Gets the State
+ * Gets the State.
  * 
  */
 public String getState() {

Modified: 
struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/Contact.java
URL: 
http://svn.apache.org/viewcvs/struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/Contact.java?rev=234421&r1=234420&r2=234421&view=diff
==
--- 
struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/Contact.java
 (original)
+++ 
struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/Contact.java
 Sun Aug 21 20:24:05 2005
@@ -62,7 +62,7 @@
 
 /**
  * 
- * Sets the business phone number
+ * Sets the business phone number.
  * 
  */
 public void setBusinessPhone(String businessPhone) {

Modified: 
struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/GenericComparator.java
URL: 
http://svn.apache.org/viewcvs/struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/GenericComparator.java?rev=234421&r1=234420&r2=234421&view=diff
==
--- 
struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/GenericComparator.java
 (original)
+++ 
struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/GenericComparator.java
 Sun Aug 21 20:24:05 2005
@@ -19,7 +19,7 @@
 public class GenericComparator implements Comparator {
 
 /**
- * Common logger utility
+ * Common logger utility.
  */
 public static Log log;
 static {

Modified: 
struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/Rolodex.java
URL: 
http://svn.apache.org/viewcvs/struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/Rolodex.java?rev=234421&r1=234420&r2=234421&view=diff
==
--- 
struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/Rolodex.java
 (original)
+++ 
struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/Rolodex.java
 Sun Aug 21 20:24:05 2005
@@ -90,7 +90,7 @@
 
 /**
  * 
- * Creates an object graph uses to build the rolodex folder tabs 
dynamically
+ * Creates an object graph uses to build the rolodex folder tabs 
dynamically.
  * 
  * 
  * @param item -

Modified: 
struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/RolodexDao.java
URL: 
http://svn.apache.org/viewcvs/struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/RolodexDao.java?rev=234421&r1=234420&r2=234421&view=diff
==
--- 
struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/RolodexDao.java
 (original)
+++ 

Re: [ANNOUNCEMENT] New Struts Committer: Gary vanMatre

2005-08-21 Thread Frank W. Zammetti

Congratulations indeed Gary :)

Frank

Craig McClanahan wrote:

Please join me in welcoming Gary vanMatre as a new Struts committer.
Gary has been quite busy proposing code for the "Clay" plug-in on
Shale, and has also been supportive on the dev and user mailing lists
(for both Struts and MyFaces) ... we look forward to his energy being
available to the entire Struts project as well.

Welcome, Gary!  (And now you can process some of your own outstanding
code diffs :-).

PMC vote:  4 +1

Craig

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234427 - in /struts/site/trunk/xdocs: acquiring.xml learning.xml using.xml

2005-08-21 Thread wsmoak
Author: wsmoak
Date: Sun Aug 21 21:08:11 2005
New Revision: 234427

URL: http://svn.apache.org/viewcvs?rev=234427&view=rev
Log:
Removed href attributes from section tags and added anchors.  Fixed link to 
javadoc.

Modified:
struts/site/trunk/xdocs/acquiring.xml
struts/site/trunk/xdocs/learning.xml
struts/site/trunk/xdocs/using.xml

Modified: struts/site/trunk/xdocs/acquiring.xml
URL: 
http://svn.apache.org/viewcvs/struts/site/trunk/xdocs/acquiring.xml?rev=234427&r1=234426&r2=234427&view=diff
==
--- struts/site/trunk/xdocs/acquiring.xml (original)
+++ struts/site/trunk/xdocs/acquiring.xml Sun Aug 21 21:08:11 2005
@@ -10,8 +10,8 @@
 
 
 
-
-
+
+
 
 
 Struts is available in a binary distribution, a source distribution, and a
@@ -38,7 +38,8 @@
 
 
 
-
+
+
 
 Releases and milestone builds of Struts are available from the main
 Struts distribution site, or from mirror sites.
@@ -67,7 +68,8 @@
 
 
 
-
+
+
 
 
 The latest development build of Struts is available 
@@ -84,7 +86,8 @@
 
 
 
-
+
+
 
 
 For developers who are helping to develop Struts, or who just want "the
@@ -114,7 +117,8 @@
 
 
 
-
+
+
 
 
 Access to the source repository for Struts is available through both

Modified: struts/site/trunk/xdocs/learning.xml
URL: 
http://svn.apache.org/viewcvs/struts/site/trunk/xdocs/learning.xml?rev=234427&r1=234426&r2=234427&view=diff
==
--- struts/site/trunk/xdocs/learning.xml (original)
+++ struts/site/trunk/xdocs/learning.xml Sun Aug 21 21:08:11 2005
@@ -10,7 +10,9 @@
 
 
 
-
+
+
+
 
 
 The official documentation for the framework is provided 
both 
@@ -23,7 +25,7 @@
 User and Developer Guides,
 
 
-Comprehensive Javadocs,
+Comprehensive Javadocs,
 
 
 FAQ and Howto Guides,
@@ -137,8 +139,8 @@
 
 
 
-
-
+
+
 
 To help you see how it all fits together, several example applications 
are bundled with the Struts
 distribution:
@@ -190,7 +192,8 @@
 
 
 
-
+
+
 
 The Struts Mailing Lists are a treasure 
trove of 
 useful, interactive information. The user list tends to carry a high 
@@ -243,8 +246,8 @@
 
 
 
-
-
+
+
 
 Struts has attracted a large and robust community of developers,
 which have created a vast number of Struts related resources.
@@ -271,8 +274,9 @@
 
 
 
-
-
+
+
+
 

The Apache Software Foundation does not provide printed manuals,

Modified: struts/site/trunk/xdocs/using.xml
URL: 
http://svn.apache.org/viewcvs/struts/site/trunk/xdocs/using.xml?rev=234427&r1=234426&r2=234427&view=diff
==
--- struts/site/trunk/xdocs/using.xml (original)
+++ struts/site/trunk/xdocs/using.xml Sun Aug 21 21:08:11 2005
@@ -45,7 +45,8 @@
 
 
 
-
+
+
 
 
 Tracking of bug reports and enhancement requests for Struts is handled
@@ -63,7 +64,8 @@
 
 
 
-
+
+
 
 
 You can upload a proposed http://jakarta.apache.org/site/source.html#Patches";>
@@ -105,7 +107,8 @@
 
 
 
-
+
+
 
 
 Before joining any Apache mailing list, please be sure to read the
@@ -116,7 +119,8 @@
 
 
 
-
+
+
 
 
 Before posting a new question, be sure to consult one of the
@@ -132,7 +136,8 @@
 
 
 
-
+
+
 
 
 All work on Struts (and other Apache projects) is provided on an 
all-volunteer basis.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234428 - in /struts/site/trunk/xdocs: index.xml navigation.xml releases.xml

2005-08-21 Thread wsmoak
Author: wsmoak
Date: Sun Aug 21 21:16:30 2005
New Revision: 234428

URL: http://svn.apache.org/viewcvs?rev=234428&view=rev
Log:
Removed href attributes from section tags and added anchors.  Fixed javadoc 
menu item.

Modified:
struts/site/trunk/xdocs/index.xml
struts/site/trunk/xdocs/navigation.xml
struts/site/trunk/xdocs/releases.xml

Modified: struts/site/trunk/xdocs/index.xml
URL: 
http://svn.apache.org/viewcvs/struts/site/trunk/xdocs/index.xml?rev=234428&r1=234427&r2=234428&view=diff
==
--- struts/site/trunk/xdocs/index.xml (original)
+++ struts/site/trunk/xdocs/index.xml Sun Aug 21 21:16:30 2005
@@ -11,7 +11,8 @@
 
 
 
-
+
+
 
 
 Welcome to Struts!
@@ -69,8 +70,9 @@
 
 
 
-
-
+
+
+
 
 
 A http://java.sun.com/webservices/docs/1.0/tutorial/doc/WebApp.html";>web 
application uses a

Modified: struts/site/trunk/xdocs/navigation.xml
URL: 
http://svn.apache.org/viewcvs/struts/site/trunk/xdocs/navigation.xml?rev=234428&r1=234427&r2=234428&view=diff
==
--- struts/site/trunk/xdocs/navigation.xml (original)
+++ struts/site/trunk/xdocs/navigation.xml Sun Aug 21 21:16:30 2005
@@ -66,7 +66,7 @@
 />
 
 http://svn.apache.org/viewcvs/struts/site/trunk/xdocs/releases.xml?rev=234428&r1=234427&r2=234428&view=diff
==
--- struts/site/trunk/xdocs/releases.xml (original)
+++ struts/site/trunk/xdocs/releases.xml Sun Aug 21 21:16:30 2005
@@ -7,13 +7,15 @@
 Release Guidelines - The Apache Struts Web Application 
Framework
   
   
-
-  This document describes the Struts 
+
+
+This document describes the Struts 
   release process and our
   coding conventions. Both stable and development 
releases are 
   available for download.
 
-
+
+
   A
   http://jakarta.apache.org/commons/releases/versioning.html";>point 
release should be made before and after any product change that is not a 
"fully-compatible change" (see link). This includes moving a dependency from an 
internal package to an external product, including products distributed through 
the Jakarta Commons. We should place any fully-compatible changes in the hands 
of the community before starting on a change that is only "interface" or 
"external-interface" compatible.
   
@@ -48,7 +50,8 @@
 If a serious flaw if found in a test build or release, it may be 
withdrawn by a majority vote of the PMC and removed from ASF distribution 
channels.
   
 
-
+
+
   Source code and documentation contributed to the Struts repositories 
should observe the:
   
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234433 - in /struts/el/trunk: doc/userGuide/struts-html-el.xml src/share/org/apache/strutsel/taglib/html/ELImgTag.java src/share/org/apache/strutsel/taglib/html/ELImgTagBeanInfo.java src/test/org/apache/strutsel/taglib/html/TestELHtmlTag.java

2005-08-21 Thread hrabago
Author: hrabago
Date: Sun Aug 21 21:40:11 2005
New Revision: 234433

URL: http://svn.apache.org/viewcvs?rev=234433&view=rev
Log:
Remove html:img's deprecated lowsrc attribute and references to it.
Remove reference to html:html's locale attr in TestELHtmlTag (Thanks, Wendy).

Modified:
struts/el/trunk/doc/userGuide/struts-html-el.xml
struts/el/trunk/src/share/org/apache/strutsel/taglib/html/ELImgTag.java

struts/el/trunk/src/share/org/apache/strutsel/taglib/html/ELImgTagBeanInfo.java
struts/el/trunk/src/test/org/apache/strutsel/taglib/html/TestELHtmlTag.java

Modified: struts/el/trunk/doc/userGuide/struts-html-el.xml
URL: 
http://svn.apache.org/viewcvs/struts/el/trunk/doc/userGuide/struts-html-el.xml?rev=234433&r1=234432&r2=234433&view=diff
==
--- struts/el/trunk/doc/userGuide/struts-html-el.xml (original)
+++ struts/el/trunk/doc/userGuide/struts-html-el.xml Sun Aug 21 21:40:11 2005
@@ -3153,21 +3153,6 @@
 
 
 
-  lowsrc
-  false
-  true
-  
-  
-  An image for people with low resolution graphics cards.
-  
-  
-  
-  This attribute is not defined in the HTML 4.01 spec and 
-  will be removed in a future version of Struts.
-  
-
-
-
   name
   false
   true

Modified: 
struts/el/trunk/src/share/org/apache/strutsel/taglib/html/ELImgTag.java
URL: 
http://svn.apache.org/viewcvs/struts/el/trunk/src/share/org/apache/strutsel/taglib/html/ELImgTag.java?rev=234433&r1=234432&r2=234433&view=diff
==
--- struts/el/trunk/src/share/org/apache/strutsel/taglib/html/ELImgTag.java 
(original)
+++ struts/el/trunk/src/share/org/apache/strutsel/taglib/html/ELImgTag.java Sun 
Aug 21 21:40:11 2005
@@ -27,8 +27,8 @@
  * 
  * TODO:
  * 
- *   make the alt, src, and
- *   lowsrc settable from properties (for i18n)
+ *   make the alt and src settable from 
+ *  properties (for i18n)
  *   handle onLoad, onAbort, and
  *   onError events (my JavaScript book is very old,
  *   there may be more unsupported events in the past couple of IE
@@ -106,11 +106,6 @@
  */
 private String localeExpr;
 /**
- * Instance variable mapped to "lowsrc" tag attribute.
- * (Mapping set in associated BeanInfo class.)
- */
-private String lowsrcExpr;
-/**
  * Instance variable mapped to "name" tag attribute.
  * (Mapping set in associated BeanInfo class.)
  */
@@ -322,11 +317,6 @@
  */
 public String getLocaleExpr() { return (localeExpr); }
 /**
- * Getter method for "lowsrc" tag attribute.
- * (Mapping set in associated BeanInfo class.)
- */
-public String getLowsrcExpr() { return (lowsrcExpr); }
-/**
  * Getter method for "name" tag attribute.
  * (Mapping set in associated BeanInfo class.)
  */
@@ -538,11 +528,6 @@
  */
 public void setLocaleExpr(String localeExpr) { this.localeExpr = 
localeExpr; }
 /**
- * Setter method for "lowsrc" tag attribute.
- * (Mapping set in associated BeanInfo class.)
- */
-public void setLowsrcExpr(String lowsrcExpr) { this.lowsrcExpr = 
lowsrcExpr; }
-/**
  * Setter method for "name" tag attribute.
  * (Mapping set in associated BeanInfo class.)
  */
@@ -711,7 +696,6 @@
 setImageNameExpr(null);
 setIsmapExpr(null);
 setLocaleExpr(null);
-setLowsrcExpr(null);
 setNameExpr(null);
 setOnclickExpr(null);
 setOndblclickExpr(null);
@@ -811,12 +795,6 @@
 if ((string = EvalHelper.evalString("locale", getLocaleExpr(),
 this, pageContext)) != null)
 setLocale(string);
-
-//  The "lowsrc" attribute is deprecated.  This needs to be removed
-//  when the "lowsrc" attribute is finally removed.
-if ((string = EvalHelper.evalString("lowsrc", getLowsrcExpr(),
-this, pageContext)) != null)
-setLowsrc(string);
 
 if ((string = EvalHelper.evalString("name", getNameExpr(),
 this, pageContext)) != null)

Modified: 
struts/el/trunk/src/share/org/apache/strutsel/taglib/html/ELImgTagBeanInfo.java
URL: 
http://svn.apache.org/viewcvs/struts/el/trunk/src/share/org/apache/strutsel/taglib/html/ELImgTagBeanInfo.java?rev=234433&r1=234432&r2=234433&view=diff
==
--- 
struts/el/trunk/src/share/org/apache/strutsel/taglib/html/ELImgTagBeanInfo.java 
(original)
+++ 
struts/el/trunk/src/share/org/apache/strutsel/taglib/html

svn commit: r234436 - in /struts/site/trunk/xdocs: download.xml mail.xml milestones.xml roadmap.xml

2005-08-21 Thread wsmoak
Author: wsmoak
Date: Sun Aug 21 21:49:19 2005
New Revision: 234436

URL: http://svn.apache.org/viewcvs?rev=234436&view=rev
Log:
Removed href attributes from section tags and added anchors.
Fixed link to Struts-User list on Roomity (reported by Vic - netsql at 
roomity.com)

Modified:
struts/site/trunk/xdocs/download.xml
struts/site/trunk/xdocs/mail.xml
struts/site/trunk/xdocs/milestones.xml
struts/site/trunk/xdocs/roadmap.xml

Modified: struts/site/trunk/xdocs/download.xml
URL: 
http://svn.apache.org/viewcvs/struts/site/trunk/xdocs/download.xml?rev=234436&r1=234435&r2=234436&view=diff
==
--- struts/site/trunk/xdocs/download.xml (original)
+++ struts/site/trunk/xdocs/download.xml Sun Aug 21 21:49:19 2005
@@ -7,7 +7,8 @@
 
 
 
-
+
+
 
 
 Use the links below to download Apache Struts from one of our mirrors. You
@@ -16,7 +17,8 @@
 directory.
 
 
-
+
+
 
 
 [if-any logo]
@@ -51,8 +53,11 @@
 
 
 
-
-
+
+
+
+
+
 
 
 Struts 1.2.7 is the latest production release of Struts. It is 
available
@@ -110,7 +115,8 @@
 
 
 
-
+
+
 
 
 Older versions of Struts are available from the 
@@ -120,7 +126,8 @@
 
 
 
-
+
+
 
 
 None currently available.

Modified: struts/site/trunk/xdocs/mail.xml
URL: 
http://svn.apache.org/viewcvs/struts/site/trunk/xdocs/mail.xml?rev=234436&r1=234435&r2=234436&view=diff
==
--- struts/site/trunk/xdocs/mail.xml (original)
+++ struts/site/trunk/xdocs/mail.xml Sun Aug 21 21:49:19 2005
@@ -21,7 +21,8 @@
 
 
 
-
+
+
 
 A mailing list is an electronic discussion forum that anyone can
 subscribe to. When someone sends an email message to the mailing list,
@@ -142,7 +143,7 @@
 
 
 
-
+
 Archives Carrying Struts Lists
 
 http://mail-archives.apache.org/";>ASF Mail Archives
@@ -165,7 +166,7 @@
 
 
 
-
+
 
 Now that you've read the guidelines (you have read the rest of the 
page, haven't you?), please subscribe to
 whichever Struts lists are of interest. 
@@ -211,7 +212,7 @@
   STRUTS-USER Newsgroup - The User list is also mirrored 
online,
   so that you can participate without subscribing to the 
regular mailing
   list.
-  [http://www.proj.com/subscribe.jsp";>Struts Newsgroup]
+  [http://struts_user.roomity.com";>Struts User on Roomity]
   This is another way to post to the User list without subscribing to the 
   regular list. 
   

Modified: struts/site/trunk/xdocs/milestones.xml
URL: 
http://svn.apache.org/viewcvs/struts/site/trunk/xdocs/milestones.xml?rev=234436&r1=234435&r2=234436&view=diff
==
--- struts/site/trunk/xdocs/milestones.xml (original)
+++ struts/site/trunk/xdocs/milestones.xml Sun Aug 21 21:49:19 2005
@@ -7,14 +7,16 @@
 Roadmap Milestones - The Apache Struts Web Application 
Framework
 
 
-
+
+
 
 These are some general ideas we have about what may happen in 
the Struts 1.x
 series. This is a whiteboard and everything 
here is
 subject to change.
 
-
-
+
+
+
 
 Major refactoring of Struts internals to provide support 
for modules and a new
 "config" object series. Bundles Struts Tiles and Struts 
Validator into main
@@ -23,7 +25,8 @@
 
 
 
-
+
+
 
 Continued refactorings of the Struts 1.x product series.
 
@@ -34,20 +37,23 @@
 
 
 
-
+
+
 
 Migrated repository to Subversion; update website.
 
 
 
-
+
+
 
 Minor enhancements, improvements, and refactorings only, 
as needed.
 New features should be added to the 1.3.x series.
 
 
 
-
+
+
 
 Evolutionary enhancements to product base, based on 
existing features or codebases.
 
@@ -75,7 +81,8 @@

 
 
-
+
+
 
 Consider adding support for Portlets by specifying an 
alternate Request Processor catalog.
Consider combining DTDs.
@@ -84,7 +91,8 @@
 
 
 
-   
+
+   
   

[Struts Wiki] Update of "StrutsMaintenanceWebsite" by WendySmoak

2005-08-21 Thread Apache Wiki
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 WendySmoak:
http://wiki.apache.org/struts/StrutsMaintenanceWebsite

The comment on the change is:
Update instructions for building the site

--
- This is liable to change during the subproject reoganization, but as of right 
now: 
+ After the subproject reorganization:
  
-  * Edit the doc/*.xml files. 
+  * Edit the xdocs/*.xml files. 
-  * Run Ant on the build-site.xml file (ant -f=build-site.xml)
+  * Run 'maven multiproject:site' from the 'site' subproject (NOT from 'build')
-  * From the command line, change to the target/documentation directory 
+  * From the command line, change to the site/target/docs directory 
   * scp the website files to people.apache.org. Using PuTTY, the command is: 
pscp -R *.* [EMAIL PROTECTED]:/www/struts.apache.org
   * After a few hours, the copy on people will propogate to the main website. 
(So test your local copy first!) 
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Struts Wiki] Update of "StrutsWebsiteConversion" by WendySmoak

2005-08-21 Thread Apache Wiki
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 WendySmoak:
http://wiki.apache.org/struts/StrutsWebsiteConversion

--
   * [DONE]Add navigation.xml files to xdocs under each subproject
   * [DONE]Remove the  section from userGuide/index.xml and 
faqs/index.xml
   * Remove 'href' attributes from  and  tags, add  to preserve existing anchors
-  * Add a page with links to JavaDoc for each subproject.
+  * [DONE] Add a page with links to JavaDoc for each subproject.
   * User Guide 
* Fix links to Taglib Package Descriptions (JavaDoc) in the User Guide
* Fix links to Taglib API References in the User Guide

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234437 - in /struts/taglib/trunk: doc/userGuide/struts-html.xml doc/userGuide/struts-nested.xml src/java/org/apache/struts/taglib/html/ImgTag.java src/tld/struts-html.tld src/tld/struts-n

2005-08-21 Thread hrabago
Author: hrabago
Date: Sun Aug 21 22:12:06 2005
New Revision: 234437

URL: http://svn.apache.org/viewcvs?rev=234437&view=rev
Log:
Remove html:img's deprecated lowsrc attribute and references to it.

Modified:
struts/taglib/trunk/doc/userGuide/struts-html.xml
struts/taglib/trunk/doc/userGuide/struts-nested.xml
struts/taglib/trunk/src/java/org/apache/struts/taglib/html/ImgTag.java
struts/taglib/trunk/src/tld/struts-html.tld
struts/taglib/trunk/src/tld/struts-nested.tld

Modified: struts/taglib/trunk/doc/userGuide/struts-html.xml
URL: 
http://svn.apache.org/viewcvs/struts/taglib/trunk/doc/userGuide/struts-html.xml?rev=234437&r1=234436&r2=234437&view=diff
==
--- struts/taglib/trunk/doc/userGuide/struts-html.xml (original)
+++ struts/taglib/trunk/doc/userGuide/struts-html.xml Sun Aug 21 22:12:06 2005
@@ -3159,21 +3159,6 @@
 
 
 
-  lowsrc
-  false
-  true
-  
-  
-  This attribute is not defined in the HTML 4.01 spec and 
-  will be removed in a future version of Struts.
-  
-
-
-
   name
   false
   true

Modified: struts/taglib/trunk/doc/userGuide/struts-nested.xml
URL: 
http://svn.apache.org/viewcvs/struts/taglib/trunk/doc/userGuide/struts-nested.xml?rev=234437&r1=234436&r2=234437&view=diff
==
--- struts/taglib/trunk/doc/userGuide/struts-nested.xml (original)
+++ struts/taglib/trunk/doc/userGuide/struts-nested.xml Sun Aug 21 22:12:06 2005
@@ -1469,12 +1469,6 @@
 
 
 
-  lowsrc
-  false
-  true
-
-
-
   name
   false
   true

Modified: struts/taglib/trunk/src/java/org/apache/struts/taglib/html/ImgTag.java
URL: 
http://svn.apache.org/viewcvs/struts/taglib/trunk/src/java/org/apache/struts/taglib/html/ImgTag.java?rev=234437&r1=234436&r2=234437&view=diff
==
--- struts/taglib/trunk/src/java/org/apache/struts/taglib/html/ImgTag.java 
(original)
+++ struts/taglib/trunk/src/java/org/apache/struts/taglib/html/ImgTag.java Sun 
Aug 21 22:12:06 2005
@@ -35,8 +35,8 @@
  * 
  * TODO:
  * 
- *   Make the alt, src, and
- *   lowsrc settable from properties (for i18n)
+ *   Make the alt and src settable 
+ *  from properties (for i18n)
  * 
  *
  * @version $Rev$
@@ -132,25 +132,6 @@
 }
 
 /**
- * The low resolution image source URI.
- * @deprecated This is not defined in the HTML 4.01 spec and will be 
removed in a
- * future version of Struts.
- */
-protected String lowsrc = null;
-
-/**
- * @deprecated This is not defined in the HTML 4.01 spec and will be 
removed in a
- * future version of Struts.
- */
-public String getLowsrc() {
-return (this.lowsrc);
-}
-
-public void setLowsrc(String lowsrc) {
-this.lowsrc = lowsrc;
-}
-
-/**
  * The message resources for this package.
  */
 protected static MessageResources messages =
@@ -410,10 +391,6 @@
 if (srcurl != null) {
 prepareAttribute(results, "src", response.encodeURL(srcurl));
 }
-String lowsrcurl = url(this.lowsrc);
-if (lowsrcurl != null) {
-prepareAttribute(results, "lowsrcurl", 
response.encodeURL(lowsrcurl));
-}
 
 prepareAttribute(results, "name", getImageName());
 prepareAttribute(results, "height", getHeight());
@@ -447,7 +424,6 @@
 hspace = null;
 imageName = null;
 ismap = null;
-lowsrc = null;
 name = null;
 page = null;
 pageKey = null;

Modified: struts/taglib/trunk/src/tld/struts-html.tld
URL: 
http://svn.apache.org/viewcvs/struts/taglib/trunk/src/tld/struts-html.tld?rev=234437&r1=234436&r2=234437&view=diff
==
--- struts/taglib/trunk/src/tld/struts-html.tld (original)
+++ struts/taglib/trunk/src/tld/struts-html.tld Sun Aug 21 22:12:06 2005
@@ -3440,18 +3440,6 @@
   
 
 
-lowsrc
-false
-true
-
-
-  
-
-
 name
 false
 true

Modified: struts/taglib/trunk/src/tld/struts-nested.tld
URL: 
http://svn.apache.org/viewcvs/struts/taglib/trunk/src/tld/struts-nested.tld?rev=234437&r1=234436&r2=234437&view=diff
==
--- struts/taglib/trunk/src/tld/struts-nested.tld (original)
+++ struts/taglib/trunk/src/tld/struts-nested.tld Sun Aug 21 22:12:06 2005
@@ -1544,12 +1544,6 @@
 
 
 
-

Re: [ANNOUNCEMENT] New Struts Committer: Gary vanMatre

2005-08-21 Thread Manfred Klug

Congratulations Gary!

Manfred

Craig McClanahan wrote:
> 
> Please join me in welcoming Gary vanMatre as a new Struts committer.
> Gary has been quite busy proposing code for the "Clay" plug-in on
> Shale, and has also been supportive on the dev and user mailing lists
> (for both Struts and MyFaces) ... we look forward to his energy being
> available to the entire Struts project as well.
> 
> Welcome, Gary!  (And now you can process some of your own outstanding
> code diffs :-).
> 
> PMC vote:  4 +1
> 
> Craig
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Erweitern Sie FreeMail zu einem noch leistungsstarkeren E-Mail-Postfach!

Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234439 - in /struts/shale/trunk: core-library/src/java/org/apache/shale/faces/ use-cases/src/test/org/apache/shale/usecases/remote/

2005-08-21 Thread craigmcc
Author: craigmcc
Date: Sun Aug 21 22:58:58 2005
New Revision: 234439

URL: http://svn.apache.org/viewcvs?rev=234439&view=rev
Log:
Remove ShaleWebContext dependence on javax.servlet.Filter.  This is one step
in a gradual refactoring to make Shale more adapatable for portlet (JSR-168)
environments.  As a result of this change, the "standard" command chain is
eliminated ... however, the "preprocess" and "postprocess" chains continue to
support per-request preprocessing and postprocessing, as they did before.

Removed:

struts/shale/trunk/core-library/src/java/org/apache/shale/faces/InvokeCommand.java
Modified:

struts/shale/trunk/core-library/src/java/org/apache/shale/faces/ShaleApplicationFilter.java

struts/shale/trunk/core-library/src/java/org/apache/shale/faces/ShaleWebContext.java

struts/shale/trunk/core-library/src/java/org/apache/shale/faces/shale-config.xml

struts/shale/trunk/use-cases/src/test/org/apache/shale/usecases/remote/ListCategoriesTestCase.java

struts/shale/trunk/use-cases/src/test/org/apache/shale/usecases/remote/ListLocalesTestCase.java

struts/shale/trunk/use-cases/src/test/org/apache/shale/usecases/remote/ListStateNamesTestCase.java

Modified: 
struts/shale/trunk/core-library/src/java/org/apache/shale/faces/ShaleApplicationFilter.java
URL: 
http://svn.apache.org/viewcvs/struts/shale/trunk/core-library/src/java/org/apache/shale/faces/ShaleApplicationFilter.java?rev=234439&r1=234438&r2=234439&view=diff
==
--- 
struts/shale/trunk/core-library/src/java/org/apache/shale/faces/ShaleApplicationFilter.java
 (original)
+++ 
struts/shale/trunk/core-library/src/java/org/apache/shale/faces/ShaleApplicationFilter.java
 Sun Aug 21 22:58:58 2005
@@ -122,11 +122,17 @@
 
 
 /**
- * The name of the Command (in the Catalog
- * named by CATALOG_NAME) that performs the standard
- * application scope request processing.
+ * The name of the Command to execute before
+ * the application logic itself is invoked.
  */
-public static final String COMMAND_NAME = "standard";
+public static final String COMMAND_PREPROCESS = "preprocess";
+
+
+/**
+ * The name of the Command to execute after
+ * the application logic itself is invoked.
+ */
+public static final String COMMAND_POSTPROCESS = "postprocess";
 
 
 /**
@@ -239,23 +245,52 @@
 public void doFilter(ServletRequest request, ServletResponse response,
   FilterChain chain) throws IOException, ServletException {
 
+  // Define local variables we will need
+  Command command = null;
+  boolean result = false;
+
   // Construct and store a new Context for this request
   ShaleWebContext context =
 new ShaleWebContext(this.context,
   (HttpServletRequest) request,
-  (HttpServletResponse) response, chain);
+  (HttpServletResponse) response);
   request.setAttribute(CONTEXT_ATTR, context);
 
-  // Invoke the standard processing command on this context
-  Command standard = catalog.getCommand(COMMAND_NAME);
-  try {
-  standard.execute(context);
-  } catch (IOException e) {
-  throw e;
-  } catch (ServletException e) {
-  throw e;
-  } catch (Exception e) {
-  throw new ServletException(e);
+  // Invoke the "preprocess" command (if any is defined).  If this
+  // command returns true, the response has been completed already
+  // so we do NOT invoke the actual application.
+  command = catalog.getCommand(COMMAND_PREPROCESS);
+  if (command != null) {
+  try {
+  result = command.execute(context);
+  } catch (IOException e) {
+  throw e;
+  } catch (ServletException e) {
+  throw e;
+  } catch (Exception e) {
+  throw new ServletException(e);
+  }
+  if (result) {
+  return; // Bypass calling the remainder of the application
+  }
+  }
+
+  // Invoke the remainder of the processing for this request
+  // (which will typically be the JSF controller servlet)
+  chain.doFilter(request, response);
+
+  // Invoke the "postprocess" command (if any is defined).
+  command = catalog.getCommand(COMMAND_POSTPROCESS);
+  if (command != null) {
+  try {
+  command.execute(context);
+  } catch (IOException e) {
+  throw e;
+  } catch (ServletException e) {
+  throw e;
+  } catch (Exception e) {
+  throw new ServletException(e);
+  }
   }
 
   // Clean up the stored request attribute
@@ -314,8 +349,16 @@
  */
 private Catalog getCatalog() throws Exception {
 
-// Look up the "shale" catalog, creating one if necessary
+// Look up the "shale" catalog, returning any existing instance
+// if it is fully configured
   

Re: [ANNOUNCEMENT] New Struts Committer: Gary vanMatre

2005-08-21 Thread Dakota Jack
Has this committer to struts ever done anything with struts other than
clay and the JSF stuff?



On 8/21/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> Please join me in welcoming Gary vanMatre as a new Struts committer.
> Gary has been quite busy proposing code for the "Clay" plug-in on
> Shale, and has also been supportive on the dev and user mailing lists
> (for both Struts and MyFaces) ... we look forward to his energy being
> available to the entire Struts project as well.
> 
> Welcome, Gary!  (And now you can process some of your own outstanding
> code diffs :-).
> 
> PMC vote:  4 +1
> 
> Craig
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
"You can lead a horse to water but you cannot make it float on its back."
~Dakota Jack~

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [ANNOUNCEMENT] New Struts Committer: Gary vanMatre

2005-08-21 Thread Matthias Wessendorf
cool to hear that Gary is now on board!

Welcome, Gary!


> -Original Message-
> From: Craig McClanahan [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 22, 2005 2:54 AM
> To: Struts Developers List
> Subject: [ANNOUNCEMENT] New Struts Committer: Gary vanMatre
> 
> 
> Please join me in welcoming Gary vanMatre as a new Struts committer.
> Gary has been quite busy proposing code for the "Clay" plug-in on
> Shale, and has also been supportive on the dev and user mailing lists
> (for both Struts and MyFaces) ... we look forward to his energy being
> available to the entire Struts project as well.
> 
> Welcome, Gary!  (And now you can process some of your own outstanding
> code diffs :-).
> 
> PMC vote:  4 +1
> 
> Craig
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]