svn commit: r393401 - in /struts/action/trunk: apps/ apps/blank/ apps/cookbook/ apps/examples/ apps/faces-example1/ apps/faces-example2/ apps/mailreader/ apps/scripting-mailreader/ apps/strutsel-exerc

2006-04-12 Thread wsmoak
Author: wsmoak
Date: Wed Apr 12 00:05:18 2006
New Revision: 393401

URL: http://svn.apache.org/viewcvs?rev=393401&view=rev
Log:
Add  to all poms, since it is not always properly inherited.  
Workaround for MNG-1527. 

Modified:
struts/action/trunk/apps/blank/pom.xml
struts/action/trunk/apps/cookbook/pom.xml
struts/action/trunk/apps/examples/pom.xml
struts/action/trunk/apps/faces-example1/pom.xml
struts/action/trunk/apps/faces-example2/pom.xml
struts/action/trunk/apps/mailreader/pom.xml
struts/action/trunk/apps/pom.xml
struts/action/trunk/apps/scripting-mailreader/pom.xml
struts/action/trunk/apps/strutsel-exercise-taglib/pom.xml
struts/action/trunk/assembly/pom.xml
struts/action/trunk/core/pom.xml
struts/action/trunk/el/pom.xml
struts/action/trunk/extras/pom.xml
struts/action/trunk/faces/pom.xml
struts/action/trunk/integration/pom.xml
struts/action/trunk/integration/taglib-it/pom.xml
struts/action/trunk/mailreader-dao/pom.xml
struts/action/trunk/scripting/pom.xml
struts/action/trunk/taglib/pom.xml

Modified: struts/action/trunk/apps/blank/pom.xml
URL: 
http://svn.apache.org/viewcvs/struts/action/trunk/apps/blank/pom.xml?rev=393401&r1=393400&r2=393401&view=diff
==
--- struts/action/trunk/apps/blank/pom.xml (original)
+++ struts/action/trunk/apps/blank/pom.xml Wed Apr 12 00:05:18 2006
@@ -41,6 +41,7 @@

 
4.0.0
+   org.apache.struts.action
struts-blank
war
Struts Action - Apps - Blank

Modified: struts/action/trunk/apps/cookbook/pom.xml
URL: 
http://svn.apache.org/viewcvs/struts/action/trunk/apps/cookbook/pom.xml?rev=393401&r1=393400&r2=393401&view=diff
==
--- struts/action/trunk/apps/cookbook/pom.xml (original)
+++ struts/action/trunk/apps/cookbook/pom.xml Wed Apr 12 00:05:18 2006
@@ -41,6 +41,7 @@

 
4.0.0
+   org.apache.struts.action
struts-cookbook
war
Struts Action - Apps - Cookbook

Modified: struts/action/trunk/apps/examples/pom.xml
URL: 
http://svn.apache.org/viewcvs/struts/action/trunk/apps/examples/pom.xml?rev=393401&r1=393400&r2=393401&view=diff
==
--- struts/action/trunk/apps/examples/pom.xml (original)
+++ struts/action/trunk/apps/examples/pom.xml Wed Apr 12 00:05:18 2006
@@ -41,6 +41,7 @@

 
4.0.0
+   org.apache.struts.action
struts-examples
war
Struts Action - Apps - Examples

Modified: struts/action/trunk/apps/faces-example1/pom.xml
URL: 
http://svn.apache.org/viewcvs/struts/action/trunk/apps/faces-example1/pom.xml?rev=393401&r1=393400&r2=393401&view=diff
==
--- struts/action/trunk/apps/faces-example1/pom.xml (original)
+++ struts/action/trunk/apps/faces-example1/pom.xml Wed Apr 12 00:05:18 2006
@@ -41,6 +41,7 @@

 
4.0.0
+   org.apache.struts.action
struts-faces-example1
war
Struts Action - Apps - Faces Example 1

Modified: struts/action/trunk/apps/faces-example2/pom.xml
URL: 
http://svn.apache.org/viewcvs/struts/action/trunk/apps/faces-example2/pom.xml?rev=393401&r1=393400&r2=393401&view=diff
==
--- struts/action/trunk/apps/faces-example2/pom.xml (original)
+++ struts/action/trunk/apps/faces-example2/pom.xml Wed Apr 12 00:05:18 2006
@@ -41,6 +41,7 @@

 
4.0.0
+   org.apache.struts.action
struts-faces-example2
war
Struts Action - Apps - Faces Example 2

Modified: struts/action/trunk/apps/mailreader/pom.xml
URL: 
http://svn.apache.org/viewcvs/struts/action/trunk/apps/mailreader/pom.xml?rev=393401&r1=393400&r2=393401&view=diff
==
--- struts/action/trunk/apps/mailreader/pom.xml (original)
+++ struts/action/trunk/apps/mailreader/pom.xml Wed Apr 12 00:05:18 2006
@@ -41,6 +41,7 @@

 
4.0.0
+   org.apache.struts.action
struts-mailreader
war
Struts Action - Apps - Mailreader

Modified: struts/action/trunk/apps/pom.xml
URL: 
http://svn.apache.org/viewcvs/struts/action/trunk/apps/pom.xml?rev=393401&r1=393400&r2=393401&view=diff
==
--- struts/action/trunk/apps/pom.xml (original)
+++ struts/action/trunk/apps/pom.xml Wed Apr 12 00:05:18 2006
@@ -41,6 +41,7 @@

 
4.0.0
+   org.apache.struts.action
struts-apps
pom
Struts Action - Apps

Modified: struts/action/trunk/apps/scripting-mailreader/pom.xml
URL: 
http://svn.apache.org/viewcvs/struts/action/trunk/apps/scripting-mailreader/pom.xml?rev=393401&r1=393400&r2=393401&view=diff
==
--- struts/action/trunk/apps/scripting-mailreader/pom.xml (original)
+

[Struts Wiki] Update of "StrutsMaintenanceMaven" by WendySmoak

2006-04-12 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/StrutsMaintenanceMaven

--
  
  }}}
  
+ == 6. Snapshots ==
  
+ To deploy snapshots of all build artifacts (pom, jar, war, including -sources 
and -javadoc):
+ {{{
+mvn deploy -P pre-assembly
+ }}}
+ 
+ Maven will choose the appropriate repository from  
based on the version number.  
+ (The , if the version number ends in -SNAPSHOT, the 
, otherwise.)  
+ 
+ To avoid repeated password prompts, configure the apache-maven-snapshots 
 in ~/.m2/settings.xml.
+ 
- == 6. References ==
+ == 7. References ==
+ 
   * [http://www.developer.com/open/article.php/10930_3552026_2 This article] 
provides a good introduction to Maven 2 and lists some other useful goals.
  
- == 7. TODO ==
+ == 8. TODO ==
  
   * Consolidate some of the example apps to reduce the size of the 
distribution (?Suggested by Don?)
   * Create a custom deployment plugin to handle promoting our test builds from 
cvs.apache.org/maven-snapshot-repository to 
www.apache.org/dist/maven-repository.
@@ -138, +150 @@

   * Finish converting the xdocs to src/site/site.xml and src/site/xdoc, figure 
out how the Struts Action site will be arranged and put redirects in .htaccess 
if necessary.
   * Figure out how to run the Cactus tests in 'integration/el-it' against the 
strutsel-exercise-taglib webapp which is in the 'apps' module.
* http://www.nabble.com/Cargo-and-Maven-2-and-Cactus-t1420342.html
+  * Fix the Cactus tests for Struts Taglib
   * Revisit the war plugin configuration for including the source code in the 
example webapps under WEB-INF/src.  This is currently being done with an 
execution of the antrun plugin in apps/pom.xml.  Martin mentions that a 
 element is present in the war plugin source, but it does not 
appear to be available in the latest released version.
* http://www.nabble.com/-m2-Including-the-source-code-in-a-war-t1409417.html
* http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html
-   * Document the Struts Maven 2 release process:  StrutsMavenRelease
+  * Document the Struts Maven 2 release process:  StrutsMavenRelease
+ 
  
  -
  

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



Suggestion: make the Struts tags reference available from Struts Action page

2006-04-12 Thread Rick Reumann
I think it's a bit confusing (especially to a new user) to not have
the links to the Struts tags also listed on the Struts Action
framework page http://struts.apache.org/struts-action/index.html. I
think many will have this site bookmarked for working with Struts
Action stuff and wonder how to find out about the Struts tags.

I know the tags are considered an 'extension' but in a sense certain
Struts tags (ie html:form tags) are not really an "extension" of the
framework but integral to it. Having the docs easy to find for users
working with the Action Framework would be a good idea. (I know I have
the Action Framework site bookmarked and am always wondering where the
link to the tags refrence is).

--
Rick

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



DO NOT REPLY [Bug 39281] New: - [Shale] "Extend shale-test-framework to support rendering JSF pages outside a container"

2006-04-12 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=39281

   Summary: [Shale] "Extend shale-test-framework to support
rendering JSF pages outside a container"
   Product: Struts
   Version: Unknown
  Platform: All
OS/Version: All
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: Shale
AssignedTo: dev@struts.apache.org
ReportedBy: [EMAIL PROTECTED]


It would be nice to be able to render JSF pages along with standard and custom
components in similar manner to what JspTest (http://jsptest.sf.net) provides
for regular JSPs.

-- 
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]



DO NOT REPLY [Bug 38534] - DOS attack, application hack

2006-04-12 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=38534





--- Additional Comments From [EMAIL PROTECTED]  2006-04-12 15:21 ---
(In reply to comment #19)
> This DoS problem has the deep effect. 
> I think that struts team should release the fixed binary of all 1.2.X
> (& 1.1?) versions.

We have four 1.2.x "GA" versions (1.2.4, 1.2.7, 1.2.8 and 1.2.9) - is there 
any reason why people using earlier 1.2.x "GA" releases can't upgrade to 1.2.9?

Since Struts 1.2.9 only just got the bare minimum of 3 votes to release 1.2.9 
it seems pretty certain to me that there will be no other releases of earlier 
patched versions of struts for this issue. Even if we *should* do it, it needs 
willing committers to want to do it. I don't have any such interest and no-one 
else has shown any signs of doing so either.

-- 
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: Struts is intended to support annotation ?

2006-04-12 Thread Niall Pemberton
Phil Zoio has just started a sourceforge project called "strecks" -
which is a Struts extension to enable the use of annotations:

http://strecks.sourceforge.net/

Also Apache Beehive is a project built on top of Struts and also uses
annotations to make life simpler:

http://beehive.apache.org/

Niall

On 4/10/06, flexcc flexcc <[EMAIL PROTECTED]> wrote:
> dear struts developers:
>  I found using Annotation of Action's config to be a simple
> solution.Strutsis intent to provide such facilities in the new
> version?
> I wrote a simple achievement, but I think you can do better, so if you
> intent .
>
>

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



DO NOT REPLY [Bug 39264] - Validation allows java script injection

2006-04-12 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=39264





--- Additional Comments From [EMAIL PROTECTED]  2006-04-12 15:47 ---
(In reply to comment #0)
> If a validation error message contains the input fields that should be shown
> in the message, it is possible to inject java script as the parameter and
> this will be executed on the client.

How can this be done? There isn't to my knowledge anyway to to include input 
fields in an error message. Have you manged to do this? If so please attach a 
full working example that demonstrates the error.

-- 
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]



DO NOT REPLY [Bug 39281] - [Shale] "Extend shale-test-framework to support rendering JSF pages outside a container"

2006-04-12 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=39281





--- Additional Comments From [EMAIL PROTECTED]  2006-04-12 16:06 ---
(In reply to comment #0)
> It would be nice to be able to render JSF pages along with standard and 
custom
> components in similar manner to what JspTest (http://jsptest.sf.net) provides
> for regular JSPs.  


To a certain extent this can be done now.  You have to manually register the 
renderer's.   

Here's a couple examples:
http://svn.apache.org/viewcvs.cgi/struts/shale/trunk/clay-
plugin/src/test/org/apache/shale/clay/config/CommentTestCase.java?
rev=393130&view=log

http://svn.apache.org/viewcvs.cgi/struts/shale/trunk/core-
library/src/test/org/apache/shale/validator/CommonsValidatorTestCase.java?
rev=393130&view=log


-- 
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: [action2] Problem reports for configuration errors

2006-04-12 Thread tm jee
Wow that's impressive Don..   :-)

- Original Message 
From: Don Brown <[EMAIL PROTECTED]>
To: Struts Developers List 
Sent: Wednesday, 12 April, 2006 10:18:55 AM
Subject: [action2] Problem reports for configuration errors

I just added a feature to Action 2, which when in devMode, displays a helpful 
problem report whenever a configuration 
error occurs.  This report includes the error message, the location information 
(resource uri, line and column numbers), 
the stacktraces, and a snippet of the offending file with the line and column 
highlighted.

Still to do:
  - Refactor this out of DispatcherUtils so that other parts of the code can 
use it
  - Add CSS styling and Javascript features like collapsible stacktraces
  - Extend it to show snippets of Java errors as well, possibly extracting 
information from the stacktrace and showing a 
snippet if the source is on the classpath.

Here is the problem report as a static file:

http://www.twdata.org/dakine/error.html

Don

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






Re: Maven 2 build working, more to come

2006-04-12 Thread Don Brown

Wendy Smoak wrote:

On 4/11/06, Don Brown <[EMAIL PROTECTED]> wrote:


Does it still do the tagging and version changing for you?  I'm not sure if I'm 
trust maven enough to do SVN commands quite yet.


Yes.  I wasn't sure yet, either. :) That's why I was the test repo
finding out *exactly* what it planned to do.  Whether or not we ended
up using it this time, I still wanted to know.

I think we should wait for the next version of the release plugin and
re-evaluate it.


+1

So can we say we have an assembly building and can restart the nightlies?  What remains before releasing 1.3.2 from a 
build perspective?


Don

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



svn commit: r393500 - in /struts/site: ./ legacy/ legacy/struts-doc-1.0.2/ legacy/struts-doc-1.1/ src/ src/site/ src/site/fml/ src/site/resources/ src/site/resources/images/ src/site/resources/proposa

2006-04-12 Thread wsmoak
Author: wsmoak
Date: Wed Apr 12 09:39:38 2006
New Revision: 393500

URL: http://svn.apache.org/viewcvs?rev=393500&view=rev
Log:
Reorganize Struts Site for Maven 2.

Added:
struts/site/legacy/
  - copied from r393496, struts/site/xdocs/legacy/
struts/site/legacy/struts-doc-1.0.2/
  - copied from r393496, struts/site/xdocs/struts-doc-1.0.2/
struts/site/legacy/struts-doc-1.1/
  - copied from r393496, struts/site/xdocs/struts-doc-1.1/
struts/site/pom.xml   (with props)
struts/site/src/
struts/site/src/site/
struts/site/src/site/fml/
struts/site/src/site/fml/helping.fml
  - copied unchanged from r393496, struts/site/xdocs/helping.fml
struts/site/src/site/fml/kickstart.fml
  - copied unchanged from r393496, struts/site/xdocs/kickstart.fml
struts/site/src/site/fml/roadmap.fml
  - copied unchanged from r393496, struts/site/xdocs/roadmap.fml
struts/site/src/site/resources/
struts/site/src/site/resources/doap_Struts.rdf
  - copied unchanged from r393496, struts/site/xdocs/doap_Struts.rdf
struts/site/src/site/resources/download.cgi
  - copied unchanged from r393496, struts/site/xdocs/download.cgi
struts/site/src/site/resources/images/
  - copied from r393496, struts/site/xdocs/images/
struts/site/src/site/resources/proposals/
  - copied from r393496, struts/site/xdocs/proposals/
struts/site/src/site/resources/uml/
  - copied from r393496, struts/site/xdocs/uml/
struts/site/src/site/site.xml
  - copied, changed from r393496, struts/site/xdocs/navigation.xml
struts/site/src/site/xdoc/
  - copied from r393496, struts/site/xdocs/
Removed:
struts/site/src/site/xdoc/doap_Struts.rdf
struts/site/src/site/xdoc/download.cgi
struts/site/src/site/xdoc/helping.fml
struts/site/src/site/xdoc/images/
struts/site/src/site/xdoc/kickstart.fml
struts/site/src/site/xdoc/legacy/
struts/site/src/site/xdoc/navigation.xml
struts/site/src/site/xdoc/proposals/
struts/site/src/site/xdoc/roadmap.fml
struts/site/src/site/xdoc/struts-doc-1.0.2/
struts/site/src/site/xdoc/struts-doc-1.1/
struts/site/src/site/xdoc/struts.css
struts/site/src/site/xdoc/stylesheets/
struts/site/src/site/xdoc/uml/
struts/site/xdocs/

Added: struts/site/pom.xml
URL: http://svn.apache.org/viewcvs/struts/site/pom.xml?rev=393500&view=auto
==
--- struts/site/pom.xml (added)
+++ struts/site/pom.xml Wed Apr 12 09:39:38 2006
@@ -0,0 +1,52 @@
+
+
+http://maven.apache.org/POM/4.0.0";
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+
+   
+  org.apache.struts
+  struts-parent
+  1
+   
+
+4.0.0
+org.apache.struts
+struts-site
+1
+pom
+Struts Site
+http://struts.apache.org
+
+
+
+
+
+  
+Struts Site is the Apache Struts home page, 
+the top-level portal to all other Struts frameworks and subprojects. 
+  
+
+  
+
scm|svn|http://svn.apache.org/repos/asf/struts/site/trunk
+
scm|svn|https://svn.apache.org/repos/asf/struts/site/trunk
+http://svn.apache.org/repos/asf/struts/site/trunk
+  
+
+

Propchange: struts/site/pom.xml
--
svn:eol-style = native

Propchange: struts/site/pom.xml
--
svn:executable = *

Propchange: struts/site/pom.xml
--
svn:keywords = Date Author Id Revision HeadURL

Copied: struts/site/src/site/site.xml (from r393496, 
struts/site/xdocs/navigation.xml)
URL: 
http://svn.apache.org/viewcvs/struts/site/src/site/site.xml?p2=struts/site/src/site/site.xml&p1=struts/site/xdocs/navigation.xml&r1=393496&r2=393500&rev=393500&view=diff
==
--- struts/site/xdocs/navigation.xml (original)
+++ struts/site/src/site/site.xml Wed Apr 12 09:39:38 2006
@@ -1,7 +1,23 @@
 
-
-Apache Struts Project
+
+
+Apache Software Foundation
+http://www.apache.org/images/asf-logo.gif
+http://www.apache.org
+
+
+Apache Struts
+http://struts.apache.org/images/struts.gif
+http://struts.apache.org
+ 
 
+
+http://www.apache.org"; /> 
+http://struts.apache.org/struts-action"; 
/> 
+http://struts.apache.org/struts-shale"; /> 
+http://struts.apache.org/struts-tiles"; /> 
+
+
 
 

Re: svn commit: r393500 - in /struts/site: ./ legacy/ legacy/struts-doc-1.0.2/ legacy/struts-doc-1.1/ src/ src/site/ src/site/fml/ src/site/resources/ src/site/resources/images/ src/site/resources/pro

2006-04-12 Thread Wendy Smoak
On 4/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Author: wsmoak
> Date: Wed Apr 12 09:39:38 2006
> New Revision: 393500
>
> URL: http://svn.apache.org/viewcvs?rev=393500&view=rev
> Log:
> Reorganize Struts Site for Maven 2.

There seems to be something wrong with the .fml files (in
site/src/site/fml/).  Doxia fails with a NPE trying to parse them (run
'mvn site -X' to see all the error information).

I think 'id' is a required element for  as well as :
   http://maven.apache.org/maven-1.x/plugins/faq/faq.xsd

I likely won't get back to this for a day or two, so if someone else
has time to fix it, that would be great. :)  (There are some other
FAQs, possibly in core, that might also need to be fixed.)

Thanks,
--
Wendy

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



svn commit: r393515 - /incubator/webwork2/action/pom.xml

2006-04-12 Thread plightbo
Author: plightbo
Date: Wed Apr 12 09:59:51 2006
New Revision: 393515

URL: http://svn.apache.org/viewcvs?rev=393515&view=rev
Log:
other repos

Modified:
incubator/webwork2/action/pom.xml

Modified: incubator/webwork2/action/pom.xml
URL: 
http://svn.apache.org/viewcvs/incubator/webwork2/action/pom.xml?rev=393515&r1=393514&r2=393515&view=diff
==
--- incubator/webwork2/action/pom.xml (original)
+++ incubator/webwork2/action/pom.xml Wed Apr 12 09:59:51 2006
@@ -28,9 +28,22 @@
 
 
 
+   
+snapshots-maven-codehaus
+snapshots-maven-codehaus
+
+true
+always
+ignore
+
+
+false
+
+http://snapshots.maven.codehaus.org/maven2
+
 
-apache
-apache
+opensymphony
+opensymphony
 legacy
 
 true
@@ -40,7 +53,7 @@
 
 false
 
-http://cvs.apache.org/repository
+http://maven.opensymphony.com
 
 
 



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



Re: Maven 2 build working, more to come

2006-04-12 Thread Wendy Smoak
On 4/12/06, Don Brown <[EMAIL PROTECTED]> wrote:

> So can we say we have an assembly building and can restart the nightlies?

All 25MB of it. :)  Example: 
http://cvs.apache.org/builds/struts/maven/trunk/nightly/struts-action/

The procedure here should work the same for nightlies as releases. 
You can change 'deploy' to 'install' to avoid publishing the snapshots
to maven-snapshot-repository.
   http://wiki.apache.org/struts/StrutsMavenRelease

> What remains before releasing 1.3.2 from a build perspective?

The website?  I rearranged struts/site, and the FAQs aren't working. 
I might just be a missing 'id' attribute, though.  (See followup post
commenting on r393500.)  The main site and menu need to be re-worked
to reflect the simplified Action/Shale/Tiles organization.

I think Struts Action needs a 'top level' site:
struts/action/trunk/src/site/*.  If that were published to
s.a.o/struts-action, then struts-core, struts-taglib, etc., could go
below it.  (For example: 
http://struts.apache.org/struts-shale/shale-tiger/ ).

We may have to publish each module separately, I have a feeling the
changes that make site aggregation work in m2 are not yet released. 
Each pom needs a / section with the
correct path.  (See struts/pom/pom.xml for an example.)

I'd like to move the src/conf and conf/java files into
src/main/resources and remove the  tags from the pom, also.

This page should capture everything a developer needs to know to work
with the build, so please add to it as you discover things, or even
add empty sections with questions if you have any.

   http://wiki.apache.org/struts/StrutsMaintenanceMaven

Thanks,
--
Wendy

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



svn commit: r393538 - in /incubator/webwork2: build.xml osbuild.xml

2006-04-12 Thread hermanns
Author: hermanns
Date: Wed Apr 12 10:28:40 2006
New Revision: 393538

URL: http://svn.apache.org/viewcvs?rev=393538&view=rev
Log:
ANT Unit tests broken
o fixed the unit test targets
o readded -Dtestcase=
Issue Number: WW-1283

Modified:
incubator/webwork2/build.xml
incubator/webwork2/osbuild.xml

Modified: incubator/webwork2/build.xml
URL: 
http://svn.apache.org/viewcvs/incubator/webwork2/build.xml?rev=393538&r1=393537&r2=393538&view=diff
==
--- incubator/webwork2/build.xml (original)
+++ incubator/webwork2/build.xml Wed Apr 12 10:28:40 2006
@@ -1,6 +1,6 @@
 
 
-
+
 
 
 

Modified: incubator/webwork2/osbuild.xml
URL: 
http://svn.apache.org/viewcvs/incubator/webwork2/osbuild.xml?rev=393538&r1=393537&r2=393538&view=diff
==
--- incubator/webwork2/osbuild.xml (original)
+++ incubator/webwork2/osbuild.xml Wed Apr 12 10:28:40 2006
@@ -32,14 +32,12 @@
 
 
 
-
-
-
+
 
 
 
 
-
+
 
 
 
@@ -68,7 +66,9 @@
 
 
 
+
 
+
 
 
 
@@ -186,7 +186,7 @@
 
 
 
-
+
 
 
 
 
-
+
 
 
   
@@ -342,7 +342,7 @@
 
 
 Running fixcrlf
- 

svn commit: r393539 - in /incubator/webwork2/action/src/test: java/org/apache/struts/action2/sitegraph/SiteGraphTest.java resources/org/apache/struts/action2/sitegraph/out.txt resources/xwork.xml

2006-04-12 Thread hermanns
Author: hermanns
Date: Wed Apr 12 10:29:13 2006
New Revision: 393539

URL: http://svn.apache.org/viewcvs?rev=393539&view=rev
Log:
ANT Unit tests broken
o fixed the unit test targets
o readded -Dtestcase=
Issue Number: WW-1283

Added:
incubator/webwork2/action/src/test/resources/xwork.xml   (with props)
Modified:

incubator/webwork2/action/src/test/java/org/apache/struts/action2/sitegraph/SiteGraphTest.java

incubator/webwork2/action/src/test/resources/org/apache/struts/action2/sitegraph/out.txt

Modified: 
incubator/webwork2/action/src/test/java/org/apache/struts/action2/sitegraph/SiteGraphTest.java
URL: 
http://svn.apache.org/viewcvs/incubator/webwork2/action/src/test/java/org/apache/struts/action2/sitegraph/SiteGraphTest.java?rev=393539&r1=393538&r2=393539&view=diff
==
--- 
incubator/webwork2/action/src/test/java/org/apache/struts/action2/sitegraph/SiteGraphTest.java
 (original)
+++ 
incubator/webwork2/action/src/test/java/org/apache/struts/action2/sitegraph/SiteGraphTest.java
 Wed Apr 12 10:29:13 2006
@@ -22,6 +22,7 @@
 
 import java.io.File;
 import java.io.StringWriter;
+import java.io.InputStream;
 import java.net.URL;
 
 /**
@@ -30,11 +31,11 @@
  * Time: 4:18:28 PM
  */
 public class SiteGraphTest extends StrutsTestCase {
-public void testWebFlow() {
+public void testWebFlow() throws Exception {
 // use the classloader rather than relying on the
 // working directory being an assumed value when
 // running the test:  so let's get this class's parent dir 
-URL url = 
this.getClass().getClassLoader().getResource(this.getClass().getName().replace(".",
 "/") + ".class");
+URL url = 
this.getClass().getClassLoader().getResource(this.getClass().getName().replace('.',
 '/') + ".class");
 File file = new File(url.toString().substring(5));
 String dir = file.getParent();
 SiteGraph siteGraph = new SiteGraph(dir, dir, dir, "");
@@ -42,7 +43,18 @@
 siteGraph.setWriter(writer);
 siteGraph.prepare();
 
-String out = dir + "/out.txt";
-assertEquals(FileUtils.readFile(new File(out)), writer.toString());
+URL compare = SiteGraphTest.class.getResource("out.txt");
+StringBuffer buffer = new StringBuffer(128);
+InputStream in = compare.openStream();
+byte[] buf = new byte[4096];
+int nbytes;
+
+while ((nbytes = in.read(buf)) > 0) {
+buffer.append(new String(buf, 0, nbytes));
+}
+
+in.close();
+
+assertEquals(buffer.toString(), writer.toString());
 }
 }

Modified: 
incubator/webwork2/action/src/test/resources/org/apache/struts/action2/sitegraph/out.txt
URL: 
http://svn.apache.org/viewcvs/incubator/webwork2/action/src/test/resources/org/apache/struts/action2/sitegraph/out.txt?rev=393539&r1=393538&r2=393539&view=diff
==
--- 
incubator/webwork2/action/src/test/resources/org/apache/struts/action2/sitegraph/out.txt
 (original)
+++ 
incubator/webwork2/action/src/test/resources/org/apache/struts/action2/sitegraph/out.txt
 Wed Apr 12 10:29:13 2006
@@ -24,8 +24,6 @@
 tutorial_sitegraph_guess -> tutorial_sitegraph_guess_error_ftl 
[label="error",color="darkseagreen2"];
 tutorial_sitegraph_guess -> tutorial_sitegraph_guess_input_ftl 
[label="input",color="darkseagreen2"];
 tutorial_sitegraph_guess -> tutorial_sitegraph_guess_success_jsp 
[label="redirect: success"];
-tutorial_sitegraph_guess_input_ftl -> tutorial_sitegraph_guess 
[label="form"];
-tutorial_sitegraph_guess_success_jsp -> tutorial_sitegraph_guess 
[label="href\n(!default)"];
 hello -> hello_jsp [label="success",color="darkseagreen2"];
 hello -> tutorial_test [label="redirect: tutorial"];
 tutorial_test -> tutorial_sitegraph_guess_input_ftl 
[label="input",color="darkseagreen2"];

Added: incubator/webwork2/action/src/test/resources/xwork.xml
URL: 
http://svn.apache.org/viewcvs/incubator/webwork2/action/src/test/resources/xwork.xml?rev=393539&view=auto
==
--- incubator/webwork2/action/src/test/resources/xwork.xml (added)
+++ incubator/webwork2/action/src/test/resources/xwork.xml Wed Apr 12 10:29:13 
2006
@@ -0,0 +1,36 @@
+http://www.opensymphony.com/xwork/xwork-1.1.1.dtd";>
+
+
+
+
+
+
+hello.jsp
+/tutorial/test.action
+
+
+
+
+
+
+
+
+
+sitegraph/guess-input.ftl
+
+
+
+
+
+
+
+
+
+guess-success.jsp
+guess-input.ftl
+guess-error.ftl
+
+
+

Propchange: incubator/webwork2/action/src/test/resources/xwork.xml
--
svn:eol-style = native




svn commit: r393541 - /incubator/webwork2/action/src/test/java/org/apache/struts/action2/sitegraph/SiteGraphTest.java

2006-04-12 Thread hermanns
Author: hermanns
Date: Wed Apr 12 10:30:21 2006
New Revision: 393541

URL: http://svn.apache.org/viewcvs?rev=393541&view=rev
Log:
o fixing imports
o fixing authors

Modified:

incubator/webwork2/action/src/test/java/org/apache/struts/action2/sitegraph/SiteGraphTest.java

Modified: 
incubator/webwork2/action/src/test/java/org/apache/struts/action2/sitegraph/SiteGraphTest.java
URL: 
http://svn.apache.org/viewcvs/incubator/webwork2/action/src/test/java/org/apache/struts/action2/sitegraph/SiteGraphTest.java?rev=393541&r1=393540&r2=393541&view=diff
==
--- 
incubator/webwork2/action/src/test/java/org/apache/struts/action2/sitegraph/SiteGraphTest.java
 (original)
+++ 
incubator/webwork2/action/src/test/java/org/apache/struts/action2/sitegraph/SiteGraphTest.java
 Wed Apr 12 10:30:21 2006
@@ -17,7 +17,6 @@
  */
 package org.apache.struts.action2.sitegraph;
 
-import com.opensymphony.util.FileUtils;
 import org.apache.struts.action2.StrutsTestCase;
 
 import java.io.File;
@@ -26,9 +25,8 @@
 import java.net.URL;
 
 /**
- * User: plightbo
- * Date: Jun 25, 2005
- * Time: 4:18:28 PM
+ * @author plightbo
+ * @author Rainer Hermanns
  */
 public class SiteGraphTest extends StrutsTestCase {
 public void testWebFlow() throws Exception {



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



svn commit: r393544 - in /struts/site/src/site/fml: helping.fml kickstart.fml roadmap.fml

2006-04-12 Thread mrdon
Author: mrdon
Date: Wed Apr 12 10:33:50 2006
New Revision: 393544

URL: http://svn.apache.org/viewcvs?rev=393544&view=rev
Log:
Commented out parts that were killing the mvn faq plugin

Modified:
struts/site/src/site/fml/helping.fml
struts/site/src/site/fml/kickstart.fml
struts/site/src/site/fml/roadmap.fml

Modified: struts/site/src/site/fml/helping.fml
URL: 
http://svn.apache.org/viewcvs/struts/site/src/site/fml/helping.fml?rev=393544&r1=393543&r2=393544&view=diff
==
--- struts/site/src/site/fml/helping.fml (original)
+++ struts/site/src/site/fml/helping.fml Wed Apr 12 10:33:50 2006
@@ -18,6 +18,7 @@
 -->
 
 
+
 
 
 
@@ -876,7 +877,7 @@
 
 
 
-
+
 

Modified: struts/site/src/site/fml/kickstart.fml
URL: 
http://svn.apache.org/viewcvs/struts/site/src/site/fml/kickstart.fml?rev=393544&r1=393543&r2=393544&view=diff
==
--- struts/site/src/site/fml/kickstart.fml (original)
+++ struts/site/src/site/fml/kickstart.fml Wed Apr 12 10:33:50 2006
@@ -335,11 +335,13 @@
 
 
 
+
 
 

Modified: struts/site/src/site/fml/roadmap.fml
URL: 
http://svn.apache.org/viewcvs/struts/site/src/site/fml/roadmap.fml?rev=393544&r1=393543&r2=393544&view=diff
==
--- struts/site/src/site/fml/roadmap.fml (original)
+++ struts/site/src/site/fml/roadmap.fml Wed Apr 12 10:33:50 2006
@@ -17,7 +17,7 @@
 //  78
 -->
 
-Roadmap FAQ
+
 
 
 
@@ -421,6 +421,7 @@
 we could use your help.
 
 
+
 
 
 Why are there so many "extensions" for Action 1 
now?
@@ -535,14 +536,15 @@
 
 
 
-
 
 
+
 
 



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



Re: [action2] Unit tests with ant/maven

2006-04-12 Thread Rainer Hermanns

Thanks Eric,

patches applied and fixed some left open issues with SiteGraphTest.
I readded the -Dtestcase= switch as well.

So, running the unit tests with ant is working again...

cheers,
Rainer

On Apr 11, 2006, at 20:18 , Eric Molitor wrote:


It will have to be this evening (I'm -5 hours against UTC) as I dont
have them on my work laptop.

Cheers,
   Eric

On 4/11/06, Rainer Hermanns <[EMAIL PROTECTED]> wrote:

Eric,
can you send your build patches over?
Would get me started sooner.

tia,
Rainer

On Apr 11, 2006, at 19:07 , Eric Molitor wrote:


I hacked away at them last night to get them to work via ant and
intellij. Wasn't pretty but only took an hour or so. Probably  
take two

hours to do it "right".

On 4/11/06, Rainer Hermanns <[EMAIL PROTECTED]> wrote:
Is anyone currently working on the build process with ant and  
maven?

It looks like the test targets/goals are broken for now...

Any update on this would be helpful to make the refactorings  
easier,


thanks,
Rainer




--- 
--

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]



Rainer Hermanns
aixcept
Neupforte 16
52062 Aachen - Germany
w: http://aixcept.de/
t:+49-241-4012247
m:  +49-170-3432912




-
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]



Rainer Hermanns
aixcept
Neupforte 16
52062 Aachen - Germany
w: http://aixcept.de/
t:+49-241-4012247
m:  +49-170-3432912




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



DO NOT REPLY [Bug 39264] - Validation allows java script injection

2006-04-12 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=39264


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2006-04-12 18:34 ---
You are correct Niall. It is in our custom validator that we include the input
and thus we should do the escaping ourselves before we construct the
ErrorMessage object. We were a bit hasty in logging this. My apologies to all.

-- 
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: svn commit: r393500 - in /struts/site: ./ legacy/ legacy/struts-doc-1.0.2/ legacy/struts-doc-1.1/ src/ src/site/ src/site/fml/ src/site/resources/ src/site/resources/images/ src/site/resources/pro

2006-04-12 Thread Don Brown

Wendy Smoak wrote:

On 4/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Author: wsmoak
Date: Wed Apr 12 09:39:38 2006
New Revision: 393500

URL: http://svn.apache.org/viewcvs?rev=393500&view=rev
Log:
Reorganize Struts Site for Maven 2.


There seems to be something wrong with the .fml files (in
site/src/site/fml/).  Doxia fails with a NPE trying to parse them (run
'mvn site -X' to see all the error information).

I think 'id' is a required element for  as well as :
   http://maven.apache.org/maven-1.x/plugins/faq/faq.xsd

I likely won't get back to this for a day or two, so if someone else
has time to fix it, that would be great. :)  (There are some other
FAQs, possibly in core, that might also need to be fixed.)


The FAQs in core are fine, and I fixed the ones in site.  I'll start work on 
finishing up the site builds.

Don



Thanks,
--
Wendy

-
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: svn commit: r393500 - in /struts/site: ./ legacy/ legacy/struts-doc-1.0.2/ legacy/struts-doc-1.1/ src/ src/site/ src/site/fml/ src/site/resources/ src/site/resources/images/ src/site/resources/pro

2006-04-12 Thread Martin Cooper
On 4/12/06, Don Brown <[EMAIL PROTECTED]> wrote:
>
> Wendy Smoak wrote:
> > On 4/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >> Author: wsmoak
> >> Date: Wed Apr 12 09:39:38 2006
> >> New Revision: 393500
> >>
> >> URL: http://svn.apache.org/viewcvs?rev=393500&view=rev
> >> Log:
> >> Reorganize Struts Site for Maven 2.
> >
> > There seems to be something wrong with the .fml files (in
> > site/src/site/fml/).  Doxia fails with a NPE trying to parse them (run
> > 'mvn site -X' to see all the error information).
> >
> > I think 'id' is a required element for  as well as :
> >http://maven.apache.org/maven-1.x/plugins/faq/faq.xsd
> >
> > I likely won't get back to this for a day or two, so if someone else
> > has time to fix it, that would be great. :)  (There are some other
> > FAQs, possibly in core, that might also need to be fixed.)
>
> The FAQs in core are fine


Um, no, I don't think so. Both files are missing ids for the s. See:

https://svn.apache.org/repos/asf/struts/action/trunk/core/src/site/fml/faqs/kickstart.fml
https://svn.apache.org/repos/asf/struts/action/trunk/core/src/site/fml/faqs/newbie.fml

I can fix those this evening if nobody beats me to it.

--
Martin Cooper


, and I fixed the ones in site.  I'll start work on finishing up the site
> builds.
>
> Don
>
> >
> > Thanks,
> > --
> > Wendy
> >
> > -
> > 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: svn commit: r393544 - in /struts/site/src/site/fml: helping.fml kickstart.fml roadmap.fml

2006-04-12 Thread Martin Cooper
On 4/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Author: mrdon
> Date: Wed Apr 12 10:33:50 2006
> New Revision: 393544
>
> URL: http://svn.apache.org/viewcvs?rev=393544&view=rev
> Log:
> Commented out parts that were killing the mvn faq plugin


We should just give the s ids, rather than commenting them out. I can
fix that this evening if nobody beats me to it.

--
Martin Cooper


Modified:
> struts/site/src/site/fml/helping.fml
> struts/site/src/site/fml/kickstart.fml
> struts/site/src/site/fml/roadmap.fml
>
> Modified: struts/site/src/site/fml/helping.fml
> URL:
> http://svn.apache.org/viewcvs/struts/site/src/site/fml/helping.fml?rev=393544&r1=393543&r2=393544&view=diff
>
> ==
> --- struts/site/src/site/fml/helping.fml (original)
> +++ struts/site/src/site/fml/helping.fml Wed Apr 12 10:33:50 2006
> @@ -18,6 +18,7 @@
> -->
> 
>
> +
>  
>
>  
> @@ -876,7 +877,7 @@
>  
>
>  
> -
> +
> 
>
> Modified: struts/site/src/site/fml/kickstart.fml
> URL:
> http://svn.apache.org/viewcvs/struts/site/src/site/fml/kickstart.fml?rev=393544&r1=393543&r2=393544&view=diff
>
> ==
> --- struts/site/src/site/fml/kickstart.fml (original)
> +++ struts/site/src/site/fml/kickstart.fml Wed Apr 12 10:33:50 2006
> @@ -335,11 +335,13 @@
>  
>  
>
> +
>
> 
>
> Modified: struts/site/src/site/fml/roadmap.fml
> URL:
> http://svn.apache.org/viewcvs/struts/site/src/site/fml/roadmap.fml?rev=393544&r1=393543&r2=393544&view=diff
>
> ==
> --- struts/site/src/site/fml/roadmap.fml (original)
> +++ struts/site/src/site/fml/roadmap.fml Wed Apr 12 10:33:50 2006
> @@ -17,7 +17,7 @@
> //
>  78
> -->
> 
> -Roadmap FAQ
> +
>
>  
>  
> @@ -421,6 +421,7 @@
>  we could use your help.
>  
>  
> +
>
>  
>  Why are there so many "extensions" for Action 1
> now?
> @@ -535,14 +536,15 @@
>  
>  
>
> -
>  
>
> +
>
> 
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: svn commit: r393500 - in /struts/site: ./ legacy/ legacy/struts-doc-1.0.2/ legacy/struts-doc-1.1/ src/ src/site/ src/site/fml/ src/site/resources/ src/site/resources/images/ src/site/resources/pro

2006-04-12 Thread Don Brown

Martin Cooper wrote:
 > Um, no, I don't think so. Both files are missing ids for the s. See:


https://svn.apache.org/repos/asf/struts/action/trunk/core/src/site/fml/faqs/kickstart.fml
https://svn.apache.org/repos/asf/struts/action/trunk/core/src/site/fml/faqs/newbie.fml

I can fix those this evening if nobody beats me to it.


Oh, but I'm saying the build and display fine.  I added ids but didn't see any difference.  In site, the XML was off so 
that NPE's were being thrown all over the place.  Apparently you can't have parts that contain just content and nested faqs.


Don



--
Martin Cooper


, and I fixed the ones in site.  I'll start work on finishing up the site

builds.

Don


Thanks,
--
Wendy

-
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]



Re: svn commit: r393544 - in /struts/site/src/site/fml: helping.fml kickstart.fml roadmap.fml

2006-04-12 Thread Don Brown

The  elements that only contain HTML markup are causing the NPE's, not 
missing id's.

Don

Martin Cooper wrote:

On 4/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Author: mrdon
Date: Wed Apr 12 10:33:50 2006
New Revision: 393544

URL: http://svn.apache.org/viewcvs?rev=393544&view=rev
Log:
Commented out parts that were killing the mvn faq plugin



We should just give the s ids, rather than commenting them out. I can
fix that this evening if nobody beats me to it.

--
Martin Cooper


Modified:

struts/site/src/site/fml/helping.fml
struts/site/src/site/fml/kickstart.fml
struts/site/src/site/fml/roadmap.fml

Modified: struts/site/src/site/fml/helping.fml
URL:
http://svn.apache.org/viewcvs/struts/site/src/site/fml/helping.fml?rev=393544&r1=393543&r2=393544&view=diff

==
--- struts/site/src/site/fml/helping.fml (original)
+++ struts/site/src/site/fml/helping.fml Wed Apr 12 10:33:50 2006
@@ -18,6 +18,7 @@
-->


+
 

 
@@ -876,7 +877,7 @@
 

 
-
+


Modified: struts/site/src/site/fml/kickstart.fml
URL:
http://svn.apache.org/viewcvs/struts/site/src/site/fml/kickstart.fml?rev=393544&r1=393543&r2=393544&view=diff

==
--- struts/site/src/site/fml/kickstart.fml (original)
+++ struts/site/src/site/fml/kickstart.fml Wed Apr 12 10:33:50 2006
@@ -335,11 +335,13 @@
 
 

+



Modified: struts/site/src/site/fml/roadmap.fml
URL:
http://svn.apache.org/viewcvs/struts/site/src/site/fml/roadmap.fml?rev=393544&r1=393543&r2=393544&view=diff

==
--- struts/site/src/site/fml/roadmap.fml (original)
+++ struts/site/src/site/fml/roadmap.fml Wed Apr 12 10:33:50 2006
@@ -17,7 +17,7 @@
//
 78
-->

-Roadmap FAQ
+

 
 
@@ -421,6 +421,7 @@
 we could use your help.
 
 
+

 
 Why are there so many "extensions" for Action 1
now?
@@ -535,14 +536,15 @@
 
 

-
 

+





-
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: Maven 2 build working, more to come

2006-04-12 Thread Martin Cooper
On 4/12/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:
>
> On 4/12/06, Don Brown <[EMAIL PROTECTED]> wrote:
>
> > So can we say we have an assembly building and can restart the
> nightlies?
>
> All 25MB of it. :)  Example:
> http://cvs.apache.org/builds/struts/maven/trunk/nightly/struts-action/
>
> The procedure here should work the same for nightlies as releases.
> You can change 'deploy' to 'install' to avoid publishing the snapshots
> to maven-snapshot-repository.
>http://wiki.apache.org/struts/StrutsMavenRelease
>
> > What remains before releasing 1.3.2 from a build perspective?
>
> The website?  I rearranged struts/site, and the FAQs aren't working.
> I might just be a missing 'id' attribute, though.  (See followup post
> commenting on r393500.)  The main site and menu need to be re-worked
> to reflect the simplified Action/Shale/Tiles organization.
>
> I think Struts Action needs a 'top level' site:
> struts/action/trunk/src/site/*.  If that were published to
> s.a.o/struts-action, then struts-core, struts-taglib, etc., could go
> below it.  (For example:
> http://struts.apache.org/struts-shale/shale-tiger/ ).
>
> We may have to publish each module separately, I have a feeling the
> changes that make site aggregation work in m2 are not yet released.


Yes, I've seen comments to that effect on the Maven list. ISTR Jason posting
a workaround recently, but I don't recall how "clean" it was.

Each pom needs a / section with the
> correct path.  (See struts/pom/pom.xml for an example.)
>
> I'd like to move the src/conf and conf/java files into
> src/main/resources and remove the  tags from the pom, also.


+1

--
Martin Cooper


This page should capture everything a developer needs to know to work
> with the build, so please add to it as you discover things, or even
> add empty sections with questions if you have any.
>
>http://wiki.apache.org/struts/StrutsMaintenanceMaven
>
> Thanks,
> --
> Wendy
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: svn commit: r393500 - in /struts/site: ./ legacy/ legacy/struts-doc-1.0.2/ legacy/struts-doc-1.1/ src/ src/site/ src/site/fml/ src/site/resources/ src/site/resources/images/ src/site/resources/pro

2006-04-12 Thread Martin Cooper
On 4/12/06, Don Brown <[EMAIL PROTECTED]> wrote:
>
> Martin Cooper wrote:
>   > Um, no, I don't think so. Both files are missing ids for the s.
> See:
> >
> >
> https://svn.apache.org/repos/asf/struts/action/trunk/core/src/site/fml/faqs/kickstart.fml
> >
> https://svn.apache.org/repos/asf/struts/action/trunk/core/src/site/fml/faqs/newbie.fml
> >
> > I can fix those this evening if nobody beats me to it.
>
> Oh, but I'm saying the build and display fine.


Ah. So much for the benefits of XML Schema. ;-)

--
Martin Cooper


  I added ids but didn't see any difference.  In site, the XML was off so
> that NPE's were being thrown all over the place.  Apparently you can't
> have parts that contain just content and nested faqs.
>
> Don
>
> >
> > --
> > Martin Cooper
> >
> >
> > , and I fixed the ones in site.  I'll start work on finishing up the
> site
> >> builds.
> >>
> >> Don
> >>
> >>> Thanks,
> >>> --
> >>> Wendy
> >>>
> >>> -
> >>> 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: r393547 - /incubator/webwork2/action/src/main/java/org/apache/struts/action2/views/velocity/VelocityManager.java

2006-04-12 Thread hermanns
Author: hermanns
Date: Wed Apr 12 10:56:49 2006
New Revision: 393547

URL: http://svn.apache.org/viewcvs?rev=393547&view=rev
Log:
replacing all occurances of wwfile --> saffile and wwclass --> safclass for 
Velocity integration

Modified:

incubator/webwork2/action/src/main/java/org/apache/struts/action2/views/velocity/VelocityManager.java

Modified: 
incubator/webwork2/action/src/main/java/org/apache/struts/action2/views/velocity/VelocityManager.java
URL: 
http://svn.apache.org/viewcvs/incubator/webwork2/action/src/main/java/org/apache/struts/action2/views/velocity/VelocityManager.java?rev=393547&r1=393546&r2=393547&view=diff
==
--- 
incubator/webwork2/action/src/main/java/org/apache/struts/action2/views/velocity/VelocityManager.java
 (original)
+++ 
incubator/webwork2/action/src/main/java/org/apache/struts/action2/views/velocity/VelocityManager.java
 Wed Apr 12 10:56:49 2006
@@ -477,30 +477,30 @@
  * Ben Hall (22/08/2003)
  */
 if (p.getProperty(Velocity.RESOURCE_LOADER) == null) {
-p.setProperty(Velocity.RESOURCE_LOADER, "wwfile, wwclass");
+p.setProperty(Velocity.RESOURCE_LOADER, "saffile, safclass");
 }
 
 /**
- * If there's a "real" path add it for the wwfile resource loader.
+ * If there's a "real" path add it for the saffile resource loader.
  * If there's no real path and they haven't configured a loader then 
we change
- * resource loader property to just use the wwclass loader
+ * resource loader property to just use the safclass loader
  * Ben Hall (22/08/2003)
  */
 if (context.getRealPath("") != null) {
-p.setProperty("wwfile.resource.loader.description", "Velocity File 
Resource Loader");
-p.setProperty("wwfile.resource.loader.class", 
"org.apache.velocity.runtime.resource.loader.FileResourceLoader");
-p.setProperty("wwfile.resource.loader.path", 
context.getRealPath(""));
-p.setProperty("wwfile.resource.loader.modificationCheckInterval", 
"2");
-p.setProperty("wwfile.resource.loader.cache", "true");
+p.setProperty("saffile.resource.loader.description", "Velocity 
File Resource Loader");
+p.setProperty("saffile.resource.loader.class", 
"org.apache.velocity.runtime.resource.loader.FileResourceLoader");
+p.setProperty("saffile.resource.loader.path", 
context.getRealPath(""));
+p.setProperty("saffile.resource.loader.modificationCheckInterval", 
"2");
+p.setProperty("saffile.resource.loader.cache", "true");
 } else {
-// remove wwfile from resource loader property
+// remove saffile from resource loader property
 String prop = p.getProperty(Velocity.RESOURCE_LOADER);
-if (prop.indexOf("wwfile,") != -1) {
-prop = replace(prop, "wwfile,", "");
-} else if (prop.indexOf(", wwfile") != -1) {
-prop = replace(prop, ", wwfile", "");
-} else if (prop.indexOf("wwfile") != -1) {
-prop = replace(prop, "wwfile", "");
+if (prop.indexOf("saffile,") != -1) {
+prop = replace(prop, "saffile,", "");
+} else if (prop.indexOf(", saffile") != -1) {
+prop = replace(prop, ", saffile", "");
+} else if (prop.indexOf("saffile") != -1) {
+prop = replace(prop, "saffile", "");
 }
 
 p.setProperty(Velocity.RESOURCE_LOADER, prop);
@@ -512,10 +512,10 @@
  * Unfortunately, there does not appear to be a macro for the class 
loader keywords
  * Matt Ho - Mon Mar 17 00:21:46 PST 2003
  */
-p.setProperty("wwclass.resource.loader.description", "Velocity 
Classpath Resource Loader");
-p.setProperty("wwclass.resource.loader.class", 
"org.apache.struts.action2.views.velocity.StrutsResourceLoader");
-p.setProperty("wwclass.resource.loader.modificationCheckInterval", 
"2");
-p.setProperty("wwclass.resource.loader.cache", "true");
+p.setProperty("safclass.resource.loader.description", "Velocity 
Classpath Resource Loader");
+p.setProperty("safclass.resource.loader.class", 
"org.apache.struts.action2.views.velocity.StrutsResourceLoader");
+p.setProperty("safclass.resource.loader.modificationCheckInterval", 
"2");
+p.setProperty("safclass.resource.loader.cache", "true");
 
 // components
 StringBuffer sb = new StringBuffer();



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



svn commit: r393558 - in /incubator/webwork2/src: etc/ java/ test/ xdt/

2006-04-12 Thread mrdon
Author: mrdon
Date: Wed Apr 12 11:10:28 2006
New Revision: 393558

URL: http://svn.apache.org/viewcvs?rev=393558&view=rev
Log:
Removing empty directories

Removed:
incubator/webwork2/src/etc/
incubator/webwork2/src/java/
incubator/webwork2/src/test/
incubator/webwork2/src/xdt/


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



svn commit: r393559 - in /incubator/webwork2/action/src: main/etc/ main/java/org/apache/struts/action2/ main/java/org/apache/struts/action2/components/ main/java/org/apache/struts/action2/quickstart/

2006-04-12 Thread hermanns
Author: hermanns
Date: Wed Apr 12 11:14:11 2006
New Revision: 393559

URL: http://svn.apache.org/viewcvs?rev=393559&view=rev
Log:
renaming of webwork/ww/WebWork occurances

Modified:
incubator/webwork2/action/src/main/etc/README.txt
incubator/webwork2/action/src/main/java/org/apache/struts/action2/Main.java

incubator/webwork2/action/src/main/java/org/apache/struts/action2/components/ActionComponent.java

incubator/webwork2/action/src/main/java/org/apache/struts/action2/quickstart/MultiWebApplicationContext.java
incubator/webwork2/action/src/main/resources/config-browser/page-footer.ftl

incubator/webwork2/action/src/main/resources/org/apache/struts/action2/default.properties
incubator/webwork2/action/src/main/resources/template/ajax/dojoRequire.js
incubator/webwork2/action/src/main/resources/template/ajax/validation.js
incubator/webwork2/action/src/test/resources/template/test/checkbox.jsp

Modified: incubator/webwork2/action/src/main/etc/README.txt
URL: 
http://svn.apache.org/viewcvs/incubator/webwork2/action/src/main/etc/README.txt?rev=393559&r1=393558&r2=393559&view=diff
==
--- incubator/webwork2/action/src/main/etc/README.txt (original)
+++ incubator/webwork2/action/src/main/etc/README.txt Wed Apr 12 11:14:11 2006
@@ -1,18 +1,19 @@
-Thanks for trying out WebWork: Java's most cutting edge web development
-platform. WebWork is brought to you by the OpenSymphony team. You can
-find out more about WebWork and OpenSymphony at
-http://www.opensymphony.com.
+Thanks for trying out Struts Action Framework 2.0:
+Java's most cutting edge web development platform.
+Struts Action Framework 2.0 is brought to you by the Apache Struts team. You 
can
+find out more about Struts Action Framework 2.0 and the Apache Struts project 
at
+http://struts.apache.org.
 
 === Getting started ===
 We think the best way to get started with any technology is to try it
-out right away. That's why we've made WebWork the easiest web
+out right away. That's why we've made Struts Action Framework 2.0 the easiest 
web
 development platform to get started with. You can use the QuickStart
 feature (read the docs on QuickStart to learn how you can use this
 important tool with your own projects):
 
  * Open a command prompt to the root directory of this distribution
  * Using a Java 5 JDK, execute:
-   java -jar webwork-2.2.jar quickstart:showcase
+   java -jar struts-action-dev-2.0.jar quickstart:showcase
  * Open your browser to the URL:
http://localhost:8080/showcase
  * Feel free to edit any of the sources (.java, .jsp, etc) in:
@@ -20,8 +21,8 @@
  * Reload your browser to see the changes right away
 
 === Getting help ===
-To get help from the WebWork developers and community, please read the
-instructions at the following URL:
+To get help from the Struts Action Framework 2.0 developers and community,
+please read the instructions at the following URL:
 
 http://www.opensymphony.com/webwork/userForums.action
 
@@ -33,7 +34,7 @@
  * PDF format: docs/docs.pdf
  * Javadocs: docs/api/index.html
 
-This documentation has been generated from the WebWork wiki at the time
+This documentation has been generated from the Struts Action Framework 2.0 
wiki at the time
 of this release. If you are looking for the absolute latest
 documentation, please visit the wiki at:
 
@@ -43,9 +44,9 @@
 included in this release, so take care when referencing the wiki.
 
 === Building ===
-If you'd like to build your own version of WebWork, we've included
+If you'd like to build your own version of Struts Action 2, we've included
 everything you need in this distribution. The ant script, build.xml,
-contains a "jar" task that you can launch to create your own webwork
+contains a "jar" task that you can launch to create your own struts
 jar. The only thing you must do before hand is set up the proper jars
 in the ANT_HOME/lib directory. These jars are:
 
@@ -54,19 +55,19 @@
  * lib/build/junit.jar
 
 Once you've copied these three jars in to the ANT_HOME/lib directory,
-simply run "ant jar" to create your own version of WebWork.
+simply run "ant jar" to create your own version of Struts Action 2.
 
 
 === Distribution jars ===
 
-The distribution zip file contains in the main dir the WebWork jar, named 
webwork-.jar.
+The distribution zip file contains in the main dir the Struts Action 2 jar, 
named struts-action-.jar.
 
-You can also find in the dist subdirectory a different WebWork packaging:
-- webwork-nostatic-.jar: containing only WebWork without the static 
content
-- webwork-static-.zip: containing the required WebWork static 
dependencies
+You can also find in the dist subdirectory a different Struts Action 2 
packaging:
+- struts-action-nostatic-.jar: containing only Struts Action 2 
without the static content
+- struts-action-static-.zip: containing the required Struts Action 2 
static dependencies
 
-The webwork-s

Re: [action2] Unit tests with ant/maven

2006-04-12 Thread Eric Molitor
As always you are more than welcome. As my time frees up over the next
few weeks I'll probably start posting more patches.

Cheers,
   Eric

On 4/12/06, Rainer Hermanns <[EMAIL PROTECTED]> wrote:
> Thanks Eric,
>
> patches applied and fixed some left open issues with SiteGraphTest.
> I readded the -Dtestcase= switch as well.
>
> So, running the unit tests with ant is working again...
>
> cheers,
> Rainer
>
> On Apr 11, 2006, at 20:18 , Eric Molitor wrote:
>
> > It will have to be this evening (I'm -5 hours against UTC) as I dont
> > have them on my work laptop.
> >
> > Cheers,
> >Eric
> >
> > On 4/11/06, Rainer Hermanns <[EMAIL PROTECTED]> wrote:
> >> Eric,
> >> can you send your build patches over?
> >> Would get me started sooner.
> >>
> >> tia,
> >> Rainer
> >>
> >> On Apr 11, 2006, at 19:07 , Eric Molitor wrote:
> >>
> >>> I hacked away at them last night to get them to work via ant and
> >>> intellij. Wasn't pretty but only took an hour or so. Probably
> >>> take two
> >>> hours to do it "right".
> >>>
> >>> On 4/11/06, Rainer Hermanns <[EMAIL PROTECTED]> wrote:
>  Is anyone currently working on the build process with ant and
>  maven?
>  It looks like the test targets/goals are broken for now...
> 
>  Any update on this would be helpful to make the refactorings
>  easier,
> 
>  thanks,
>  Rainer
> 
> 
> 
> 
>  ---
>  --
>  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]
> >>>
> >>
> >> Rainer Hermanns
> >> aixcept
> >> Neupforte 16
> >> 52062 Aachen - Germany
> >> w: http://aixcept.de/
> >> t:+49-241-4012247
> >> m:  +49-170-3432912
> >>
> >>
> >>
> >>
> >> -
> >> 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]
> >
>
> Rainer Hermanns
> aixcept
> Neupforte 16
> 52062 Aachen - Germany
> w: http://aixcept.de/
> t:+49-241-4012247
> m:  +49-170-3432912
>
>
>
>
> -
> 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: r393560 - /incubator/webwork2/webapps/shopping-cart/src/main/webapp/WEB-INF/decorators/main.jsp

2006-04-12 Thread hermanns
Author: hermanns
Date: Wed Apr 12 11:18:43 2006
New Revision: 393560

URL: http://svn.apache.org/viewcvs?rev=393560&view=rev
Log:
fixing tag prefix and mapping

Modified:

incubator/webwork2/webapps/shopping-cart/src/main/webapp/WEB-INF/decorators/main.jsp

Modified: 
incubator/webwork2/webapps/shopping-cart/src/main/webapp/WEB-INF/decorators/main.jsp
URL: 
http://svn.apache.org/viewcvs/incubator/webwork2/webapps/shopping-cart/src/main/webapp/WEB-INF/decorators/main.jsp?rev=393560&r1=393559&r2=393560&view=diff
==
--- 
incubator/webwork2/webapps/shopping-cart/src/main/webapp/WEB-INF/decorators/main.jsp
 (original)
+++ 
incubator/webwork2/webapps/shopping-cart/src/main/webapp/WEB-INF/decorators/main.jsp
 Wed Apr 12 11:18:43 2006
@@ -5,23 +5,23 @@
 %>
 <%@ taglib uri="sitemesh-decorator" prefix="decorator" %>
 <%@ taglib uri="sitemesh-page" prefix="page" %>
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="saf" uri="/struts-action" %>
 http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
 
 http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
 
 
-
-
-
-
-
+
+
+
+
+
 
-
-
+
+
 
-
+
 
 
 
@@ -70,7 +70,7 @@
 
 
 
- +

Categories

@@ -83,7 +83,7 @@ var categoryTopic = dojo.event.topic.getTopic("categorySelected"); function changeCategory(category) { - var serverUrl = "?categoryId=" + category; + var serverUrl = "?categoryId=" + category; //dojo.debug("Url: " + serverUrl); dojo.io.bind({ url: serverUrl, @@ -100,9 +100,9 @@ categoryTree = new dTree('categoryTree'); categoryTree.add(0,-1,'Categories'); - -categoryTree.add(,,'','javascript: changeCategory();'); - + +categoryTree.add(,,'','javascript: changeCategory();'); + document.write(categoryTree); //--> @@ -110,7 +110,7 @@ - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

svn commit: r393562 - /incubator/webwork2/webapps/showcase/src/main/java/org/apache/struts/action2/showcase/fileupload/FileUploadAction.java

2006-04-12 Thread hermanns
Author: hermanns
Date: Wed Apr 12 11:21:04 2006
New Revision: 393562

URL: http://svn.apache.org/viewcvs?rev=393562&view=rev
Log:
fixing tag prefix and mapping

Modified:

incubator/webwork2/webapps/showcase/src/main/java/org/apache/struts/action2/showcase/fileupload/FileUploadAction.java

Modified: 
incubator/webwork2/webapps/showcase/src/main/java/org/apache/struts/action2/showcase/fileupload/FileUploadAction.java
URL: 
http://svn.apache.org/viewcvs/incubator/webwork2/webapps/showcase/src/main/java/org/apache/struts/action2/showcase/fileupload/FileUploadAction.java?rev=393562&r1=393561&r2=393562&view=diff
==
--- 
incubator/webwork2/webapps/showcase/src/main/java/org/apache/struts/action2/showcase/fileupload/FileUploadAction.java
 (original)
+++ 
incubator/webwork2/webapps/showcase/src/main/java/org/apache/struts/action2/showcase/fileupload/FileUploadAction.java
 Wed Apr 12 11:21:04 2006
@@ -37,7 +37,7 @@
 private String fileName;
 private String caption;
 
-// since we are using  the file name will be
+// since we are using  the file name will be
 // obtained through getter/setter of FileName
 public String getUploadFileName() {
return fileName;
@@ -47,7 +47,7 @@
 }
 
 
-// since we are using  the content type will 
be
+// since we are using  the content type will 
be
 // obtained through getter/setter of ContentType
 public String getUploadContentType() {
 return contentType;
@@ -57,7 +57,7 @@
 }
 
 
-// since we are using  the File itself will be
+// since we are using  the File itself will 
be
 // obtained through getter/setter of 
 public File getUpload() {
 return upload;



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



svn commit: r393564 - in /incubator/webwork2/webapps/shopping-cart/src/main/webapp: WEB-INF/classes/webwork.properties WEB-INF/velocity.properties WEB-INF/web.xml images/Thumbs.db

2006-04-12 Thread hermanns
Author: hermanns
Date: Wed Apr 12 11:24:30 2006
New Revision: 393564

URL: http://svn.apache.org/viewcvs?rev=393564&view=rev
Log:
o fixing tag prefix and mapping
o cleaning up
o fixing property names

Removed:
incubator/webwork2/webapps/shopping-cart/src/main/webapp/images/Thumbs.db
Modified:

incubator/webwork2/webapps/shopping-cart/src/main/webapp/WEB-INF/classes/webwork.properties

incubator/webwork2/webapps/shopping-cart/src/main/webapp/WEB-INF/velocity.properties
incubator/webwork2/webapps/shopping-cart/src/main/webapp/WEB-INF/web.xml

Modified: 
incubator/webwork2/webapps/shopping-cart/src/main/webapp/WEB-INF/classes/webwork.properties
URL: 
http://svn.apache.org/viewcvs/incubator/webwork2/webapps/shopping-cart/src/main/webapp/WEB-INF/classes/webwork.properties?rev=393564&r1=393563&r2=393564&view=diff
==
--- 
incubator/webwork2/webapps/shopping-cart/src/main/webapp/WEB-INF/classes/webwork.properties
 (original)
+++ 
incubator/webwork2/webapps/shopping-cart/src/main/webapp/WEB-INF/classes/webwork.properties
 Wed Apr 12 11:24:30 2006
@@ -1,16 +1,16 @@
 # extension for actions
-webwork.action.extension=action
+struts.action.extension=action
 
 # spring integration
-webwork.objectFactory=spring
-webwork.objectFactory.spring.autoWire=type
+struts.objectFactory=spring
+struts.objectFactory.spring.autoWire=type
 
 ### Configuration reloading
 # This will cause the configuration to reload xwork.xml when it is changed
-webwork.configuration.xml.reload=true
+struts.configuration.xml.reload=true
 
 ### Load custom default resource bundles
-webwork.custom.i18n.resources=default
+struts.custom.i18n.resources=default
 
 ### character encoding
-webwork.i18n.encoding=UTF-8
+struts.i18n.encoding=UTF-8

Modified: 
incubator/webwork2/webapps/shopping-cart/src/main/webapp/WEB-INF/velocity.properties
URL: 
http://svn.apache.org/viewcvs/incubator/webwork2/webapps/shopping-cart/src/main/webapp/WEB-INF/velocity.properties?rev=393564&r1=393563&r2=393564&view=diff
==
--- 
incubator/webwork2/webapps/shopping-cart/src/main/webapp/WEB-INF/velocity.properties
 (original)
+++ 
incubator/webwork2/webapps/shopping-cart/src/main/webapp/WEB-INF/velocity.properties
 Wed Apr 12 11:24:30 2006
@@ -1,3 +1,3 @@
-# Velocity Macro libraries.  The webwork.vm comes standard with webwork.  The 
tigris-macros.vm comes with the config
+# Velocity Macro libraries. The struts.vm comes standard with Struts Action 2. 
The tigris-macros.vm comes with the config
 # browser.
-velocimacro.library = webwork.vm, tigris-macros.vm
+velocimacro.library = struts.vm, tigris-macros.vm

Modified: 
incubator/webwork2/webapps/shopping-cart/src/main/webapp/WEB-INF/web.xml
URL: 
http://svn.apache.org/viewcvs/incubator/webwork2/webapps/shopping-cart/src/main/webapp/WEB-INF/web.xml?rev=393564&r1=393563&r2=393564&view=diff
==
--- incubator/webwork2/webapps/shopping-cart/src/main/webapp/WEB-INF/web.xml 
(original)
+++ incubator/webwork2/webapps/shopping-cart/src/main/webapp/WEB-INF/web.xml 
Wed Apr 12 11:24:30 2006
@@ -5,7 +5,7 @@
 
 
 
-webwork
+action2
 
org.apache.struts.action2.dispatcher.FilterDispatcher
 
 
@@ -20,7 +20,7 @@
 
 
 
-webwork
+action2
 /*
 
 



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



svn commit: r393565 - in /incubator/webwork2/webapps/showcase/src/main: java/org/apache/struts/action2/showcase/DateAction.properties webapp/WEB-INF/classes/webwork.properties webapp/WEB-INF/web.xml

2006-04-12 Thread hermanns
Author: hermanns
Date: Wed Apr 12 11:27:33 2006
New Revision: 393565

URL: http://svn.apache.org/viewcvs?rev=393565&view=rev
Log:
o fixing tag prefix and mapping
o cleaning up
o fixing property names

Modified:

incubator/webwork2/webapps/showcase/src/main/java/org/apache/struts/action2/showcase/DateAction.properties

incubator/webwork2/webapps/showcase/src/main/webapp/WEB-INF/classes/webwork.properties
incubator/webwork2/webapps/showcase/src/main/webapp/WEB-INF/web.xml

Modified: 
incubator/webwork2/webapps/showcase/src/main/java/org/apache/struts/action2/showcase/DateAction.properties
URL: 
http://svn.apache.org/viewcvs/incubator/webwork2/webapps/showcase/src/main/java/org/apache/struts/action2/showcase/DateAction.properties?rev=393565&r1=393564&r2=393565&view=diff
==
--- 
incubator/webwork2/webapps/showcase/src/main/java/org/apache/struts/action2/showcase/DateAction.properties
 (original)
+++ 
incubator/webwork2/webapps/showcase/src/main/java/org/apache/struts/action2/showcase/DateAction.properties
 Wed Apr 12 11:27:33 2006
@@ -1 +1 @@
-webwork.date.format=/MM/dd hh:mm:ss
\ No newline at end of file
+struts.date.format=/MM/dd hh:mm:ss
\ No newline at end of file

Modified: 
incubator/webwork2/webapps/showcase/src/main/webapp/WEB-INF/classes/webwork.properties
URL: 
http://svn.apache.org/viewcvs/incubator/webwork2/webapps/showcase/src/main/webapp/WEB-INF/classes/webwork.properties?rev=393565&r1=393564&r2=393565&view=diff
==
--- 
incubator/webwork2/webapps/showcase/src/main/webapp/WEB-INF/classes/webwork.properties
 (original)
+++ 
incubator/webwork2/webapps/showcase/src/main/webapp/WEB-INF/classes/webwork.properties
 Wed Apr 12 11:27:33 2006
@@ -1,8 +1,8 @@
-webwork.i18n.reload=true
-webwork.devMode = true
-webwork.configuration.xml.reload=true
-webwork.continuations.package = org.apache.struts.action2.showcase
-webwork.objectFactory = spring
-webwork.custom.i18n.resources=globalMessages
-#webwork.action.extension=jspa
-webwork.url.http.port = 8080
+struts.i18n.reload=true
+struts.devMode = true
+struts.configuration.xml.reload=true
+struts.continuations.package = org.apache.struts.action2.showcase
+struts.objectFactory = spring
+struts.custom.i18n.resources=globalMessages
+#struts.action.extension=jspa
+struts.url.http.port = 8080

Modified: incubator/webwork2/webapps/showcase/src/main/webapp/WEB-INF/web.xml
URL: 
http://svn.apache.org/viewcvs/incubator/webwork2/webapps/showcase/src/main/webapp/WEB-INF/web.xml?rev=393565&r1=393564&r2=393565&view=diff
==
--- incubator/webwork2/webapps/showcase/src/main/webapp/WEB-INF/web.xml 
(original)
+++ incubator/webwork2/webapps/showcase/src/main/webapp/WEB-INF/web.xml Wed Apr 
12 11:27:33 2006
@@ -5,12 +5,12 @@
 WebWork Showcase Application
 
 
-webwork-cleanup
+action2-cleanup
 
org.apache.struts.action2.dispatcher.ActionContextCleanUp
 
 
 
-webwork
+action2
 
org.apache.struts.action2.dispatcher.FilterDispatcher
 
 
@@ -20,7 +20,7 @@
 
 
 
-webwork-cleanup
+action2-cleanup
 /*
 
 
@@ -30,7 +30,7 @@
 
 
 
-webwork
+action2
 /*
 
 
@@ -60,7 +60,7 @@
 
 
 
 



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



svn commit: r393568 - in /incubator/webwork2: action/src/main/resources/org/apache/struts/action2/dispatcher/error.ftl webapps/showcase/src/main/webapp/WEB-INF/classes/struts.properties webapps/showca

2006-04-12 Thread mrdon
Author: mrdon
Date: Wed Apr 12 11:31:57 2006
New Revision: 393568

URL: http://svn.apache.org/viewcvs?rev=393568&view=rev
Log:
Renaming showcase webwork.properties, fixing error template to handle when 
column number is at the end of line

Added:

incubator/webwork2/webapps/showcase/src/main/webapp/WEB-INF/classes/struts.properties
  - copied, changed from r393559, 
incubator/webwork2/webapps/showcase/src/main/webapp/WEB-INF/classes/webwork.properties
Removed:

incubator/webwork2/webapps/showcase/src/main/webapp/WEB-INF/classes/webwork.properties
Modified:

incubator/webwork2/action/src/main/resources/org/apache/struts/action2/dispatcher/error.ftl

Modified: 
incubator/webwork2/action/src/main/resources/org/apache/struts/action2/dispatcher/error.ftl
URL: 
http://svn.apache.org/viewcvs/incubator/webwork2/action/src/main/resources/org/apache/struts/action2/dispatcher/error.ftl?rev=393568&r1=393567&r2=393568&view=diff
==
--- 
incubator/webwork2/action/src/main/resources/org/apache/struts/action2/dispatcher/error.ftl
 (original)
+++ 
incubator/webwork2/action/src/main/resources/org/apache/struts/action2/dispatcher/error.ftl
 Wed Apr 12 11:31:57 2006
@@ -21,7 +21,7 @@
 
 <#if (msgs?size > 1)>
 
-<#list msgs as mgs>
+<#list msgs as msg>
 ${msg}
 
 
@@ -56,7 +56,7 @@
 
 <#list snippet as line>
 <#if (line_index == 2)>
-${(line[0..(exception.location.columnNumber-2)]?html)}${(line[(exception.location.columnNumber-1)]?html)}${(line[exception.location.columnNumber..]?html)}
+${(line[0..(exception.location.columnNumber-3)]?html)}${(line[(exception.location.columnNumber-2)]?html)}<#if
 
((exception.location.columnNumber)>line.length())>${(line[(exception.location.columnNumber-1)..]?html)}
 <#else>
 ${line?html}
 

Copied: 
incubator/webwork2/webapps/showcase/src/main/webapp/WEB-INF/classes/struts.properties
 (from r393559, 
incubator/webwork2/webapps/showcase/src/main/webapp/WEB-INF/classes/webwork.properties)
URL: 
http://svn.apache.org/viewcvs/incubator/webwork2/webapps/showcase/src/main/webapp/WEB-INF/classes/struts.properties?p2=incubator/webwork2/webapps/showcase/src/main/webapp/WEB-INF/classes/struts.properties&p1=incubator/webwork2/webapps/showcase/src/main/webapp/WEB-INF/classes/webwork.properties&r1=393559&r2=393568&rev=393568&view=diff
==
--- 
incubator/webwork2/webapps/showcase/src/main/webapp/WEB-INF/classes/webwork.properties
 (original)
+++ 
incubator/webwork2/webapps/showcase/src/main/webapp/WEB-INF/classes/struts.properties
 Wed Apr 12 11:31:57 2006
@@ -1,8 +1,8 @@
-webwork.i18n.reload=true
-webwork.devMode = true
-webwork.configuration.xml.reload=true
-webwork.continuations.package = org.apache.struts.action2.showcase
-webwork.objectFactory = spring
-webwork.custom.i18n.resources=globalMessages
-#webwork.action.extension=jspa
-webwork.url.http.port = 8080
+struts.i18n.reload=true
+struts.devMode = true
+struts.configuration.xml.reload=true
+struts.continuations.package = org.apache.struts.action2.showcase
+struts.objectFactory = spring
+struts.custom.i18n.resources=globalMessages
+#struts.action.extension=jspa
+struts.url.http.port = 8080



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



DO NOT REPLY [Bug 39121] - [Shale] Implement use of Commons Validator Javascript

2006-04-12 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=39121





--- Additional Comments From [EMAIL PROTECTED]  2006-04-12 19:50 ---
There is another reported validator bug 38079 for dependencies being ignored.  
I have this covered on the javascript side but the server side was ignoring 
dependencies.  I suspect the reason was that JSF tries to convert the 
submitted value before passing on to the validator.  So, if you have assigned 
a converter to the component, it will validate the data type and report an 
error first.  Most of the dependencies have to do with type validation before 
another type of validation.

However, if there is not a converter assigned, the dependencies need to be 
invoked.  So, I started looking at doing this but ran into problems with the 
convention used for forming the formal parameter list for the invoking 
method.  The problem stated in this thread.  So, I put together some thought 
on how we might stylize this for JSF. 

Create a managed bean that is a place holder that holds a reference to the 
component the commons validator is associated with and an instance of the 
validator.  The map would be populated in the CommonsValidator validate 
method and cleared in a finally block in the same method.


shaleScope

  java.util.TreeMap

request



Change the messages to allow EL parameterization.  The messages would utilize 
the managed bean described above to have full access to the component and 
validator properties.  This would also simplify the logic for determining what 
arguments should be used to create the message.

errors.date=#{shaleScope.validator.arg} is not a date.

Add an expression language extension to the comma delimited token list of 
methodParams.  The EL will be used to construct the arguments list for 
invoking the method.  



Any thoughts?

-- 
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]



svn commit: r393581 - in /incubator/webwork2/action/src/main: java/org/apache/struts/action2/dispatcher/DispatcherUtils.java resources/org/apache/struts/action2/dispatcher/error.ftl

2006-04-12 Thread mrdon
Author: mrdon
Date: Wed Apr 12 12:09:01 2006
New Revision: 393581

URL: http://svn.apache.org/viewcvs?rev=393581&view=rev
Log:
Fixing problem report to show root exception location information and snippet

Modified:

incubator/webwork2/action/src/main/java/org/apache/struts/action2/dispatcher/DispatcherUtils.java

incubator/webwork2/action/src/main/resources/org/apache/struts/action2/dispatcher/error.ftl

Modified: 
incubator/webwork2/action/src/main/java/org/apache/struts/action2/dispatcher/DispatcherUtils.java
URL: 
http://svn.apache.org/viewcvs/incubator/webwork2/action/src/main/java/org/apache/struts/action2/dispatcher/DispatcherUtils.java?rev=393581&r1=393580&r2=393581&view=diff
==
--- 
incubator/webwork2/action/src/main/java/org/apache/struts/action2/dispatcher/DispatcherUtils.java
 (original)
+++ 
incubator/webwork2/action/src/main/java/org/apache/struts/action2/dispatcher/DispatcherUtils.java
 Wed Apr 12 12:09:01 2006
@@ -34,6 +34,7 @@
 import com.opensymphony.xwork.interceptor.component.ComponentInterceptor;
 import com.opensymphony.xwork.interceptor.component.ComponentManager;
 import com.opensymphony.xwork.util.*;
+import com.opensymphony.xwork.util.location.Location;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 
@@ -482,6 +483,7 @@
 
 HashMap data = new HashMap();
 data.put("exception", e);
+data.put("unknown", Location.UNKNOWN);
 data.put("chain", chain);
 template.process(data, response.getWriter());
 response.getWriter().close();

Modified: 
incubator/webwork2/action/src/main/resources/org/apache/struts/action2/dispatcher/error.ftl
URL: 
http://svn.apache.org/viewcvs/incubator/webwork2/action/src/main/resources/org/apache/struts/action2/dispatcher/error.ftl?rev=393581&r1=393580&r2=393581&view=diff
==
--- 
incubator/webwork2/action/src/main/resources/org/apache/struts/action2/dispatcher/error.ftl
 (original)
+++ 
incubator/webwork2/action/src/main/resources/org/apache/struts/action2/dispatcher/error.ftl
 Wed Apr 12 12:09:01 2006
@@ -14,6 +14,13 @@
 <#assign msgs = [ex.message] + msgs/>
 
 
+<#list chain as ex>
+<#if (ex.location?exists && (ex.location != unknown))>
+<#assign rootloc = ex.location/>
+<#assign rootex = ex/>
+
+
+
 
 
 
@@ -30,33 +37,33 @@
 
 
 
-<#if exception.location?exists>
+<#if rootloc?exists>
 
 File:
-${exception.location.URI}
+${rootloc.URI}
 
 
 Line number:
-${exception.location.lineNumber}
+${rootloc.lineNumber}
 
 
 Column number:
-${exception.location.columnNumber}
+${rootloc.columnNumber}
 
 
 
 
 
 
-<#if exception.snippet?exists>
-<#assign snippet = exception.getSnippet(2) />
+<#if rootex.snippet?exists>
+<#assign snippet = rootex.getSnippet(2) />
 <#if (snippet?size > 0)>
 
 
 
 <#list snippet as line>
 <#if (line_index == 2)>
-${(line[0..(exception.location.columnNumber-3)]?html)}${(line[(exception.location.columnNumber-2)]?html)}<#if
 
((exception.location.columnNumber)>line.length())>${(line[(exception.location.columnNumber-1)..]?html)}
+${(line[0..(rootloc.columnNumber-3)]?html)}${(line[(rootloc.columnNumber-2)]?html)}<#if 
((rootloc.columnNumber)>line.length())>${(line[(rootloc.columnNumber-1)..]?html)}
 <#else>
 ${line?html}
 



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



svn commit: r393584 - in /incubator/webwork2: action/src/main/resources/org/apache/struts/action2/dispatcher/error.ftl build.xml webapps/showcase/src/main/webapp/WEB-INF/classes/xwork.xml

2006-04-12 Thread mrdon
Author: mrdon
Date: Wed Apr 12 12:34:15 2006
New Revision: 393584

URL: http://svn.apache.org/viewcvs?rev=393584&view=rev
Log:
Fixed compile-optional to include new thirdparty sources, fixed showcase xwork 
error, 
improved problem report to show full error line

Modified:

incubator/webwork2/action/src/main/resources/org/apache/struts/action2/dispatcher/error.ftl
incubator/webwork2/build.xml

incubator/webwork2/webapps/showcase/src/main/webapp/WEB-INF/classes/xwork.xml

Modified: 
incubator/webwork2/action/src/main/resources/org/apache/struts/action2/dispatcher/error.ftl
URL: 
http://svn.apache.org/viewcvs/incubator/webwork2/action/src/main/resources/org/apache/struts/action2/dispatcher/error.ftl?rev=393584&r1=393583&r2=393584&view=diff
==
--- 
incubator/webwork2/action/src/main/resources/org/apache/struts/action2/dispatcher/error.ftl
 (original)
+++ 
incubator/webwork2/action/src/main/resources/org/apache/struts/action2/dispatcher/error.ftl
 Wed Apr 12 12:34:15 2006
@@ -63,7 +63,7 @@
 
 <#list snippet as line>
 <#if (line_index == 2)>
-${(line[0..(rootloc.columnNumber-3)]?html)}${(line[(rootloc.columnNumber-2)]?html)}<#if 
((rootloc.columnNumber)>line.length())>${(line[(rootloc.columnNumber-1)..]?html)}
+${(line[0..(rootloc.columnNumber-3)]?html)}${(line[(rootloc.columnNumber-2)]?html)}<#if 
((rootloc.columnNumber)${(line[(rootloc.columnNumber-1)..]?html)}
 <#else>
 ${line?html}
 

Modified: incubator/webwork2/build.xml
URL: 
http://svn.apache.org/viewcvs/incubator/webwork2/build.xml?rev=393584&r1=393583&r2=393584&view=diff
==
--- incubator/webwork2/build.xml (original)
+++ incubator/webwork2/build.xml Wed Apr 12 12:34:15 2006
@@ -240,7 +240,9 @@
 
 
 
-
+
+
+
 
 
 

Modified: 
incubator/webwork2/webapps/showcase/src/main/webapp/WEB-INF/classes/xwork.xml
URL: 
http://svn.apache.org/viewcvs/incubator/webwork2/webapps/showcase/src/main/webapp/WEB-INF/classes/xwork.xml?rev=393584&r1=393583&r2=393584&view=diff
==
--- 
incubator/webwork2/webapps/showcase/src/main/webapp/WEB-INF/classes/xwork.xml 
(original)
+++ 
incubator/webwork2/webapps/showcase/src/main/webapp/WEB-INF/classes/xwork.xml 
Wed Apr 12 12:34:15 2006
@@ -5,8 +5,6 @@
 
 
 
-
-
 
 
 



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



svn commit: r393591 - /incubator/webwork2/action/pom.xml

2006-04-12 Thread plightbo
Author: plightbo
Date: Wed Apr 12 13:20:52 2006
New Revision: 393591

URL: http://svn.apache.org/viewcvs?rev=393591&view=rev
Log:
proper DWR now

Modified:
incubator/webwork2/action/pom.xml

Modified: incubator/webwork2/action/pom.xml
URL: 
http://svn.apache.org/viewcvs/incubator/webwork2/action/pom.xml?rev=393591&r1=393590&r2=393591&view=diff
==
--- incubator/webwork2/action/pom.xml (original)
+++ incubator/webwork2/action/pom.xml Wed Apr 12 13:20:52 2006
@@ -71,7 +71,7 @@
 
 
 
-dwr
+uk.ltd.getahead
 dwr
 1.1-beta-3
 true



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



[action2] Switching to Dojo widgets

2006-04-12 Thread Don Brown
I'm starting to look into replacing the LGPL Javascript components with ones provided by Dojo, a toolkit we are already 
using.  Dojo already has the following widgets:


 - date picker - 
http://archive.dojotoolkit.org/nightly/tests/widget/test_DatePicker.html
 - tooltip - 
http://archive.dojotoolkit.org/nightly/tests/widget/test_Tooltip.html
 - rich text editor - 
http://archive.dojotoolkit.org/nightly/tests/widget/test_Editor.html

My question is how should we handle the Dojo imports?  Currently Dojo is only imported in the header of the ajax theme. 
 I propose we import dojo.js in the header of the simple theme (which is imported by the other themes), leaving each 
component to do the dojo.require() call to ensure their widget is available.


Don

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



[Struts Wiki] Update of "StrutsMaintenanceMaven" by WendySmoak

2006-04-12 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/StrutsMaintenanceMaven

The comment on the change is:
Add automatic numbering and table of contents, remove Maven 1 information

--
- = Struts Action Framework and Maven 2 =
+ '''Struts Action Framework and Maven 2'''
  
+ [[TableOfContents]]
+ 
- == 1. Maven Setup ==
+ == Maven Setup ==
  
  Download and install Maven 2 from http://maven.apache.org.
  
  Maven 2 does not use .properties files.  Per-developer and per-system 
configuration is done in '''~/.m2/settings.xml'''.  (Where '~' represents the 
user's home directory.)  For more information, refer to the 
[http://maven.apache.org/maven-settings/settings.html settings model] and the 
Suggested Settings section below.
  
- == 2. Checkout Source from Subversion ==
+ == Checkout Source from Subversion ==
  
  The Struts Subversion repository is organized into sub-projects.  You can 
check out Struts Action 1 alone using this URL:
  {{{
@@ -19, +21 @@

 svn co https://svn.apache.org/repos/asf/struts/current  current
  }}}
  
- == 3. Building with Maven ==
+ == Building with Maven ==
  
- === 3.1 Local Install ===
+ === Local Install ===
  To build and install all of the artifacts (pom, jar, and war files) in your 
local Maven repository:
  {{{
 ~/svn/struts/current/action
@@ -35, +37 @@

 $ mvn clean
  }}}
  
- === 3.2 Binary and Source Assembly ===
+ === Binary and Source Assembly ===
  To build the -all assembly, first enable the 'pre-assembly' profile, which 
will cause the javadoc and source artifacts to be produced:
  {{{
 ~/svn/struts/current/action
@@ -52, +54 @@

  '''NOTE:''' The 'assembly:assembly' goal must be run from action/assembly.  
Somehow, this needs to be coordinated with release:prepare and release:perform, 
so that the assembly will contain the same jars that were just deployed to the 
repository.
  
  
- === 3.3 Source Assembly ===
+ === Source Assembly ===
  
   * The -sources jars are included in struts-action-x.x.x-all.[zip|tar.gz].
  
@@ -60, +62 @@

  
   * See StrutsMaven2Plan for some additional thoughts on assemblies.
  
- == 4. Integration Testing ==
+ == Integration Testing ==
  
  The Maven 2 
[http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html 
build lifecycle] includes a phase for integration testing.  Currently, a module 
may contain only unit tests ''or'' integration tests, but not both.  See the 
[http://docs.codehaus.org/display/MAVEN/best+practices+-+testing+strategies 
testing strategies] page for discussion and proposals.
  
@@ -82, +84 @@

  
  '''NOTE:''' If the tests fail, Cargo will not be able to stop the container.
  
- == 5. Suggested Settings ==
+ == Suggested Settings ==
  
  ~/.m2/settings.xml
  
@@ -126, +128 @@

  
  }}}
  
- == 6. Snapshots ==
+ == Snapshots ==
  
  To deploy snapshots of all build artifacts (pom, jar, war, including -sources 
and -javadoc):
  {{{
@@ -138, +140 @@

  
  To avoid repeated password prompts, configure the apache-maven-snapshots 
 in ~/.m2/settings.xml.
  
- == 7. References ==
+ == References ==
  
   * [http://www.developer.com/open/article.php/10930_3552026_2 This article] 
provides a good introduction to Maven 2 and lists some other useful goals.
  
- == 8. TODO ==
+ == TODO ==
  
   * Consolidate some of the example apps to reduce the size of the 
distribution (?Suggested by Don?)
   * Create a custom deployment plugin to handle promoting our test builds from 
cvs.apache.org/maven-snapshot-repository to 
www.apache.org/dist/maven-repository.
@@ -155, +157 @@

* http://www.nabble.com/-m2-Including-the-source-code-in-a-war-t1409417.html
* http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html
   * Document the Struts Maven 2 release process:  StrutsMavenRelease
+  * Integration tests for the webapps under various container/JDK combinations
  
- 
- -
- 
- = The information below refers to the Maven 1 build, which is scheduled to be 
removed in mid-April. =
- 
- == 1. Maven Setup ==
- 
- Note:  These instructions assume that you have downloaded and installed 
[http://maven.apache.org/maven-1.x/start/download.html Maven 1.0.2].  
- 
- There are two additional plugins required which are not provided with the 
maven distribution
- 
- === 1.1 Cactus Plugin ===
- 
- Download the latest jar (currently cactus-maven-1.7.jar - ''April 2005'') 
from [http://www.ibiblio.org/maven/cactus/plugins/ ibilio] and drop it in the 
"plugins" directory in your "maven home". Further instructions on the 
[http://jakarta.apache.org/cactus/integration/maven/installing.html Cactus] 
site.
- 
- === 1.2 Findbugs Plugin ===
- From the command line...
- 
- {{{
- $maven -DartifactId=maven-findbugs-plugin -DgroupId=maven-plugins 
-Dversion=0.8.4 plugin:download
- }}}
- 

svn commit: r393636 - /incubator/webwork2/action/src/test/resources/org/apache/struts/action2/sitegraph/out.txt

2006-04-12 Thread plightbo
Author: plightbo
Date: Wed Apr 12 15:54:06 2006
New Revision: 393636

URL: http://svn.apache.org/viewcvs?rev=393636&view=rev
Log:
adding back in (not sure why these lines were removed in the first place)

Modified:

incubator/webwork2/action/src/test/resources/org/apache/struts/action2/sitegraph/out.txt

Modified: 
incubator/webwork2/action/src/test/resources/org/apache/struts/action2/sitegraph/out.txt
URL: 
http://svn.apache.org/viewcvs/incubator/webwork2/action/src/test/resources/org/apache/struts/action2/sitegraph/out.txt?rev=393636&r1=393635&r2=393636&view=diff
==
--- 
incubator/webwork2/action/src/test/resources/org/apache/struts/action2/sitegraph/out.txt
 (original)
+++ 
incubator/webwork2/action/src/test/resources/org/apache/struts/action2/sitegraph/out.txt
 Wed Apr 12 15:54:06 2006
@@ -24,6 +24,8 @@
 tutorial_sitegraph_guess -> tutorial_sitegraph_guess_error_ftl 
[label="error",color="darkseagreen2"];
 tutorial_sitegraph_guess -> tutorial_sitegraph_guess_input_ftl 
[label="input",color="darkseagreen2"];
 tutorial_sitegraph_guess -> tutorial_sitegraph_guess_success_jsp 
[label="redirect: success"];
+tutorial_sitegraph_guess_input_ftl -> tutorial_sitegraph_guess 
[label="form"];
+tutorial_sitegraph_guess_success_jsp -> tutorial_sitegraph_guess 
[label="href\n(!default)"];
 hello -> hello_jsp [label="success",color="darkseagreen2"];
 hello -> tutorial_test [label="redirect: tutorial"];
 tutorial_test -> tutorial_sitegraph_guess_input_ftl 
[label="input",color="darkseagreen2"];



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



svn commit: r393638 - /incubator/webwork2/action/pom.xml

2006-04-12 Thread plightbo
Author: plightbo
Date: Wed Apr 12 15:55:35 2006
New Revision: 393638

URL: http://svn.apache.org/viewcvs?rev=393638&view=rev
Log:
base action build shouldn't use xwork-tiger or anything else that requires java 
5

Modified:
incubator/webwork2/action/pom.xml

Modified: incubator/webwork2/action/pom.xml
URL: 
http://svn.apache.org/viewcvs/incubator/webwork2/action/pom.xml?rev=393638&r1=393637&r2=393638&view=diff
==
--- incubator/webwork2/action/pom.xml (original)
+++ incubator/webwork2/action/pom.xml Wed Apr 12 15:55:35 2006
@@ -30,13 +30,6 @@
 
 
 
-opensymphony
-xwork-tiger
-1.2-SNAPSHOT
-true
-
-
-
 freemarker
 freemarker
 2.3.4



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



svn commit: r393642 - in /incubator/webwork2: thirdparty/ thirdparty/jasperreports/ thirdparty/jfreechart/ thirdparty/pell-file-upload/ uber/

2006-04-12 Thread plightbo
Author: plightbo
Date: Wed Apr 12 16:06:42 2006
New Revision: 393642

URL: http://svn.apache.org/viewcvs?rev=393642&view=rev
Log:
ignore the generated iml files

Modified:
incubator/webwork2/thirdparty/   (props changed)
incubator/webwork2/thirdparty/jasperreports/   (props changed)
incubator/webwork2/thirdparty/jfreechart/   (props changed)
incubator/webwork2/thirdparty/pell-file-upload/   (props changed)
incubator/webwork2/uber/   (props changed)

Propchange: incubator/webwork2/thirdparty/
--
--- svn:ignore (added)
+++ svn:ignore Wed Apr 12 16:06:42 2006
@@ -0,0 +1 @@
+thirdparty.iml

Propchange: incubator/webwork2/thirdparty/jasperreports/
--
--- svn:ignore (added)
+++ svn:ignore Wed Apr 12 16:06:42 2006
@@ -0,0 +1 @@
+action-jasperreports.iml

Propchange: incubator/webwork2/thirdparty/jfreechart/
--
--- svn:ignore (added)
+++ svn:ignore Wed Apr 12 16:06:42 2006
@@ -0,0 +1 @@
+action-jfreechart.iml

Propchange: incubator/webwork2/thirdparty/pell-file-upload/
--
--- svn:ignore (added)
+++ svn:ignore Wed Apr 12 16:06:42 2006
@@ -0,0 +1 @@
+action-pell-file-upload.iml

Propchange: incubator/webwork2/uber/
--
--- svn:ignore (added)
+++ svn:ignore Wed Apr 12 16:06:42 2006
@@ -0,0 +1 @@
+action-all.iml



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



[Struts Wiki] Update of "StrutsMaintenanceMaven" by WendySmoak

2006-04-12 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/StrutsMaintenanceMaven

The comment on the change is:
Notes on Cargo for Apps, and more TODOs

--
  
  Integration tests for Struts Action are located under the '''integration''' 
module.  Integration tests will only be run if the ''perform-itest'' profile is 
enabled.
  
+ === Cactus Tests ===
+ 
  The Cactus tests for Struts Taglib are located in the 
action/integration/taglib-it module.  To run the tests, you must provide a 
value for the 'cargo.tomcat5x.home' System property, for example:
  {{{ 
 ~/svn/struts/current/action/integration
@@ -83, +85 @@

   * Executions of the Surefire, Compiler, War, and Cargo plugins are bound to 
various lifecycle phases
  
  '''NOTE:''' If the tests fail, Cargo will not be able to stop the container.
+ 
+ === Apps ===
+ 
+ Tests for the '''apps''' module are not currently automated with Maven 2.  
+ 
+ However, each module inherits Cargo plugin configuration (from apps/pom.xml) 
which will start Tomcat 5.x and deploy the app:
+ {{{
+ mvn package cargo:start
+ }}}
+ Then visit http://localhost:8080/webappname in your browser.  This requires 
that the cargo.tomcat5x.home system property is set, usually either on the 
command line (-Dcargo.tomcat5x.home=...) or in ~/.m2/settings.xml.  See the 
Suggested Settings section, below.
+ 
  
  == Suggested Settings ==
  
@@ -158, +171 @@

* http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html
   * Document the Struts Maven 2 release process:  StrutsMavenRelease
   * Integration tests for the webapps under various container/JDK combinations
+  * Remove the Tiles dependency from Struts Blank
+  * Remove the Tiles dependency from EL (Move the tiles-el tags to Struts 
Tiles)
  

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



svn commit: r393649 - /incubator/webwork2/action/src/main/resources/struts-default.xml

2006-04-12 Thread plightbo
Author: plightbo
Date: Wed Apr 12 16:11:19 2006
New Revision: 393649

URL: http://svn.apache.org/viewcvs?rev=393649&view=rev
Log:
moving third party results to the end of the results list (this is a bad work 
around for a bug in xwork)

Modified:
incubator/webwork2/action/src/main/resources/struts-default.xml

Modified: incubator/webwork2/action/src/main/resources/struts-default.xml
URL: 
http://svn.apache.org/viewcvs/incubator/webwork2/action/src/main/resources/struts-default.xml?rev=393649&r1=393648&r2=393649&view=diff
==
--- incubator/webwork2/action/src/main/resources/struts-default.xml (original)
+++ incubator/webwork2/action/src/main/resources/struts-default.xml Wed Apr 12 
16:11:19 2006
@@ -6,7 +6,6 @@
 
 
 
-
 
 
 
@@ -20,7 +19,9 @@
 
 
 
-
+
+
+
 
 
 



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



svn commit: r393684 - /struts/action/trunk/integration/taglib-it/pom.xml

2006-04-12 Thread wsmoak
Author: wsmoak
Date: Wed Apr 12 19:13:56 2006
New Revision: 393684

URL: http://svn.apache.org/viewcvs?rev=393684&view=rev
Log:
Renamed artifact for consistency.

Modified:
struts/action/trunk/integration/taglib-it/pom.xml

Modified: struts/action/trunk/integration/taglib-it/pom.xml
URL: 
http://svn.apache.org/viewcvs/struts/action/trunk/integration/taglib-it/pom.xml?rev=393684&r1=393683&r2=393684&view=diff
==
--- struts/action/trunk/integration/taglib-it/pom.xml (original)
+++ struts/action/trunk/integration/taglib-it/pom.xml Wed Apr 12 19:13:56 2006
@@ -42,7 +42,7 @@
 
4.0.0
org.apache.struts.action
-   taglib-it
+   struts-action-it-taglib
pom
Struts Action - Integration - Taglib Tests
 



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



SAF2 + commons-validator

2006-04-12 Thread Ricardo Lecheta
Hi all,

how the javascript validation will be implemented in SAF2 ?

the javascript validation was always a weak funcionallity in webwork... hope it 
will improve in SAF2 :-)

I have customized the spring-modules-validator for webwork. So I am using 
commons-validator with WW, and everythink is working well. The only thing I did 
no like, is that I am using commons-validator for client side validation, and 
the XWork validation for server side validation...

I can share my code if anybody is interested...

Regards,
Ricardo
-
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=25755&messageID=50802#50802


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



[Struts Wiki] Update of "StrutsMaintenanceMaven" by WendySmoak

2006-04-12 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/StrutsMaintenanceMaven

The comment on the change is:
svn log says this was done in r392108

--
* http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html
   * Document the Struts Maven 2 release process:  StrutsMavenRelease
   * Integration tests for the webapps under various container/JDK combinations
-  * Remove the Tiles dependency from Struts Blank
   * Remove the Tiles dependency from EL (Move the tiles-el tags to Struts 
Tiles)
  

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



Re: SAF2 + commons-validator

2006-04-12 Thread Don Brown
That's good to hear.  We are planning on supporting commons-validator in 
action 2, but haven't worked on that yet.  Any help and/or code you 
could provide would be very helpful.


To be honest, I'm not a big fan of commons-validator though, even though 
I've done a fair bit of work on it.  I'd like to see either the best 
parts scavenged for action 2, or it rewritten to be more flexible and 
easier to work with.  Regardless, we need commons-validator support to 
aid Struts 1.x users for migration.


Don

Ricardo Lecheta wrote:

Hi all,

how the javascript validation will be implemented in SAF2 ?

the javascript validation was always a weak funcionallity in webwork... hope it 
will improve in SAF2 :-)

I have customized the spring-modules-validator for webwork. So I am using 
commons-validator with WW, and everythink is working well. The only thing I did 
no like, is that I am using commons-validator for client side validation, and 
the XWork validation for server side validation...

I can share my code if anybody is interested...

Regards,
Ricardo
-
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=25755&messageID=50802#50802


-
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: r393700 - /struts/action/trunk/apps/blank/src/main/webapp/WEB-INF/web.xml

2006-04-12 Thread wsmoak
Author: wsmoak
Date: Wed Apr 12 20:58:10 2006
New Revision: 393700

URL: http://svn.apache.org/viewcvs?rev=393700&view=rev
Log:
Removed the chainConfig init param.  Struts Tiles dependency was removed in 
r392108.

Modified:
struts/action/trunk/apps/blank/src/main/webapp/WEB-INF/web.xml

Modified: struts/action/trunk/apps/blank/src/main/webapp/WEB-INF/web.xml
URL: 
http://svn.apache.org/viewcvs/struts/action/trunk/apps/blank/src/main/webapp/WEB-INF/web.xml?rev=393700&r1=393699&r2=393700&view=diff
==
--- struts/action/trunk/apps/blank/src/main/webapp/WEB-INF/web.xml (original)
+++ struts/action/trunk/apps/blank/src/main/webapp/WEB-INF/web.xml Wed Apr 12 
20:58:10 2006
@@ -15,10 +15,6 @@
   config
   /WEB-INF/struts-config.xml
 
-
-  chainConfig
-  org/apache/struts/tiles/chain-config.xml
-
 2
  
 



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



svn commit: r393705 - in /struts: action/trunk/core/src/site/fml/faqs/kickstart.fml action/trunk/core/src/site/fml/faqs/newbie.fml site/src/site/fml/helping.fml site/src/site/fml/kickstart.fml site/sr

2006-04-12 Thread martinc
Author: martinc
Date: Wed Apr 12 21:11:22 2006
New Revision: 393705

URL: http://svn.apache.org/viewcvs?rev=393705&view=rev
Log:
Assigned ids to the FAQ parts, as required by the XML Schema (even if it's not 
actually validated). Rearranged the top level kickstart FAQ into three separate 
parts.

Modified:
struts/action/trunk/core/src/site/fml/faqs/kickstart.fml
struts/action/trunk/core/src/site/fml/faqs/newbie.fml
struts/site/src/site/fml/helping.fml
struts/site/src/site/fml/kickstart.fml
struts/site/src/site/fml/roadmap.fml

Modified: struts/action/trunk/core/src/site/fml/faqs/kickstart.fml
URL: 
http://svn.apache.org/viewcvs/struts/action/trunk/core/src/site/fml/faqs/kickstart.fml?rev=393705&r1=393704&r2=393705&view=diff
==
--- struts/action/trunk/core/src/site/fml/faqs/kickstart.fml (original)
+++ struts/action/trunk/core/src/site/fml/faqs/kickstart.fml Wed Apr 12 
21:11:22 2006
@@ -17,7 +17,7 @@
 //  78
 -->
 
-
+
 
 
 Why do we need Struts Action Framework?"

Modified: struts/action/trunk/core/src/site/fml/faqs/newbie.fml
URL: 
http://svn.apache.org/viewcvs/struts/action/trunk/core/src/site/fml/faqs/newbie.fml?rev=393705&r1=393704&r2=393705&view=diff
==
--- struts/action/trunk/core/src/site/fml/faqs/newbie.fml (original)
+++ struts/action/trunk/core/src/site/fml/faqs/newbie.fml Wed Apr 12 21:11:22 
2006
@@ -17,7 +17,7 @@
 //  78
 -->
 
-
+
 
 
What is a modular application? What does module-relative 
mean?

Modified: struts/site/src/site/fml/helping.fml
URL: 
http://svn.apache.org/viewcvs/struts/site/src/site/fml/helping.fml?rev=393705&r1=393704&r2=393705&view=diff
==
--- struts/site/src/site/fml/helping.fml (original)
+++ struts/site/src/site/fml/helping.fml Wed Apr 12 21:11:22 2006
@@ -33,7 +33,7 @@
 
 
 -->
-
+
 
 
 Getting Involved

Modified: struts/site/src/site/fml/kickstart.fml
URL: 
http://svn.apache.org/viewcvs/struts/site/src/site/fml/kickstart.fml?rev=393705&r1=393704&r2=393705&view=diff
==
--- struts/site/src/site/fml/kickstart.fml (original)
+++ struts/site/src/site/fml/kickstart.fml Wed Apr 12 21:11:22 2006
@@ -18,7 +18,8 @@
 -->
 
 
-
+
+  General
   
 I'm new to Apache Struts. How do I get started?
 
@@ -129,40 +130,47 @@
 
 
 
-
-If a product doesn't do what I want, can I request that
-a feature be added?
+
+Are there ISPs that will host my Struts
+application?
+
+For a listing of some Java and Struts Action Framework
+ISPs, visit the
+http://struts.sf.net/community/index.html";>Struts
+Community Resources
+area on SourceForge.
+
+
+
+
+
+Is there a particularly good IDE to use with Struts
+Action Framework"
 
 
-First, it's important to remember that Apache Struts is an
-all-volunteer project.
-We don't charge anyone anything to use Apache Struts
-products.
-Committers and other developers work on Apache Struts
-products because they need to use it with their own
-applications.
-If others can use it too, that's "icing on the cake".
-If you
-submit a patch
-for a feature that a Committer finds useful, then that
-Committer may choose to volunteer his or her time to apply
-the patch.
-If you just submit an idea without a patch, it is much
-less likely to be added (since first someone else has to
-volunteer their time to write the patch).
+Struts should work well with any development environment
+that you would like to use, as well as with any
+programmers editor.
+The members of the Struts development team each use their
+own tools such as
+http://www.gnu.org/software/emacs/emacs.html";>
+Emacs,
+http://www.intellij.com/idea/";>IDEA,
+http://www.eclipse.org/";>Eclipse,

Re: [action2] Switching to Dojo widgets

2006-04-12 Thread Martin Cooper
On 4/12/06, Don Brown <[EMAIL PROTECTED]> wrote:
>
> I'm starting to look into replacing the LGPL Javascript components with
> ones provided by Dojo, a toolkit we are already
> using.  Dojo already has the following widgets:
>
>   - date picker -
> http://archive.dojotoolkit.org/nightly/tests/widget/test_DatePicker.html
>   - tooltip -
> http://archive.dojotoolkit.org/nightly/tests/widget/test_Tooltip.html
>   - rich text editor -
> http://archive.dojotoolkit.org/nightly/tests/widget/test_Editor.html
>
> My question is how should we handle the Dojo imports?  Currently Dojo is
> only imported in the header of the ajax theme.
>   I propose we import dojo.js in the header of the simple theme (which is
> imported by the other themes), leaving each
> component to do the dojo.require() call to ensure their widget is
> available.


This makes sense to me.

However, I think we should change the current strategy on the Dojo profile
that's bundled by default. It looks like the kitchen sink profile is what's
bundled today. It would make more sense, IMHO, to bundle the minimal profile
(or at least somewhat more minimal than kitchen sink) by default, and to
provide the kitchen sink as an option and / or provide instructions on how
to construct a custom profile (which is really easy). I'm certainly willing
to help out here.

--
Martin Cooper


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


Re: JS Libraries (was Re: [WebWork2] TODO)

2006-04-12 Thread Martin Cooper
(Yeah, I'm very late catching up...)

On 3/28/06, Joe Germuska <[EMAIL PROTECTED]> wrote:
>
> >I had very bad experiences with Dojo so far, and I brought this into
> >discussion on ww forums. I wouldn't encourage moving to Dojo, because the
> >browser support is still lacking, and from the feeling we got from their
> ml
> >some of the old browsers, that are still used (f.e. IE 5.5) will
> be  missing
> >in the next versions.
>
> If you believe http://thecounter.com/stats/2006/March/browser.php, IE
> 5.5 only has 2% market share.  I wouldn't blame a project for not
> spending a large amount of resources supporting that.


It's not just lack of market share. IE 5.5 has some serious deficiencies
when it comes to DHTML and DOM manipulation. So the question becomes one of
how much effort do you want to put in to support a minimally used browser,
and negatively impact performance on more modern browsers at the same time.
IMHO, the Dojo folks made the right decision.

That said, I think we should try to keep the JS libraries as
> pluggable as possible.  But maybe it's impossible to bundle valuable
> features and still do that -- I was really surprised at how many
> dependencies Webwork accepted, and I'm still trying to work out for
> myself whether that's better in the long run.  I think the Struts
> community philosophy was very conservative about that, but it may do
> us well to challenge that philosophy.
>
> Still, having roots in that philosophy, again my inclination is to
> try to be more library agnostic.  Can that work?


Well, in theory, yes. In practice, in the general case, I seriously doubt
it. To really accomplish that, we'd end up building yet another custom
abstraction. That would (a) negatively impact performance, and (b) eliminate
the option of using certain toolkits (e.g. Dojo) the way they were designed
to be used, viz _without_ an abstraction layer on top of the browser.

--
Martin Cooper


Joe
>
> --
> Joe Germuska
> [EMAIL PROTECTED] * http://blog.germuska.com
>
> "You really can't burn anything out by trying something new, and
> even if you can burn it out, it can be fixed.  Try something new."
> -- Robert Moog
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: JS Libraries (was Re: [WebWork2] TODO)

2006-04-12 Thread Martin Cooper
On 3/28/06, Alexandru Popescu <[EMAIL PROTECTED]> wrote:
>
> Joe, I mostly agree with you. What I've been trying to say is that most of
> the user will not like to have a big dependency on Dojo  for simple
> functionality like a calendar component.


The "size" of the dependency on Dojo is _completely_ up to you. Unlike the
other DHTML toolkits out there, you can very easily build a custom profile
that includes only what you need, and almost none of the code you don't
need.

The minimal profile of Dojo is very small. Right now, it looks like WW uses
the kitchen sink profile, which is pretty much everything Dojo has. I can
understand why you would not want to load all of that for just a calendar.
But you don't have to. That is the beauty of the Dojo profile system.

--
Martin Cooper


And I agree, this is my case too. I
> would prefere something small and working almost everywhere. We have even
> been thinking to add a new AJAX theme based on lighter solutions (a la
> prototype). And if this will work, I would almost sure vote for removing
> the
> dependency on Dojo.  But this is way to personal :-).
>
> ./alex
> --
> .w( the_mindstorm )p.
>
>
> On 3/28/06, Joe Germuska <[EMAIL PROTECTED]> wrote:
> >
> > >I had very bad experiences with Dojo so far, and I brought this into
> > >discussion on ww forums. I wouldn't encourage moving to Dojo, because
> the
> > >browser support is still lacking, and from the feeling we got from
> their
> > ml
> > >some of the old browsers, that are still used (f.e. IE 5.5) will
> > be  missing
> > >in the next versions.
> >
> > If you believe http://thecounter.com/stats/2006/March/browser.php, IE
> > 5.5 only has 2% market share.  I wouldn't blame a project for not
> > spending a large amount of resources supporting that.
> >
> > That said, I think we should try to keep the JS libraries as
> > pluggable as possible.  But maybe it's impossible to bundle valuable
> > features and still do that -- I was really surprised at how many
> > dependencies Webwork accepted, and I'm still trying to work out for
> > myself whether that's better in the long run.  I think the Struts
> > community philosophy was very conservative about that, but it may do
> > us well to challenge that philosophy.
> >
> > Still, having roots in that philosophy, again my inclination is to
> > try to be more library agnostic.  Can that work?
> >
> > Joe
> >
> > --
> > Joe Germuska
> > [EMAIL PROTECTED] * http://blog.germuska.com
> >
> > "You really can't burn anything out by trying something new, and
> > even if you can burn it out, it can be fixed.  Try something new."
> > -- Robert Moog
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>


Re: JS Libraries (was Re: [WebWork2] TODO)

2006-04-12 Thread Martin Cooper
On 3/28/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
>
> On 3/28/06, Alexandru Popescu <[EMAIL PROTECTED]> wrote:
> > I would prefere something small and working almost everywhere. We have
> even
> > been thinking to add a new AJAX theme based on lighter solutions (a la
> > prototype).
>
> Heh, and I considered Prototype too heavy (around 50K) to adopt for my
> project...


Prototype's heaviness is in its feet - it will quite happily stomp all over
any other JavaScript code you have on the page. It's really a very badly
behaved chunk of code.

--
Martin Cooper


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


Re: JS Libraries (was Re: [WebWork2] TODO)

2006-04-12 Thread Don Brown
I think the answer to all this is the built-in themes.  Right now, I'm 
proposing that the current themes use Dojo where an advanced widget is 
needed, however there could very well be a "prototype" theme, or the 
user could replace the default head.ftl (that loads dojo) with their 
own.  Component themes, and the ease of overriding a given template, is 
a very powerful concept.  This is definitely something we'll need to 
document more.


Don

Martin Cooper wrote:

(Yeah, I'm very late catching up...)

On 3/28/06, Joe Germuska <[EMAIL PROTECTED]> wrote:
  

I had very bad experiences with Dojo so far, and I brought this into
discussion on ww forums. I wouldn't encourage moving to Dojo, because the
browser support is still lacking, and from the feeling we got from their
  

ml


some of the old browsers, that are still used (f.e. IE 5.5) will
  

be  missing


in the next versions.
  

If you believe http://thecounter.com/stats/2006/March/browser.php, IE
5.5 only has 2% market share.  I wouldn't blame a project for not
spending a large amount of resources supporting that.




It's not just lack of market share. IE 5.5 has some serious deficiencies
when it comes to DHTML and DOM manipulation. So the question becomes one of
how much effort do you want to put in to support a minimally used browser,
and negatively impact performance on more modern browsers at the same time.
IMHO, the Dojo folks made the right decision.

That said, I think we should try to keep the JS libraries as
  

pluggable as possible.  But maybe it's impossible to bundle valuable
features and still do that -- I was really surprised at how many
dependencies Webwork accepted, and I'm still trying to work out for
myself whether that's better in the long run.  I think the Struts
community philosophy was very conservative about that, but it may do
us well to challenge that philosophy.

Still, having roots in that philosophy, again my inclination is to
try to be more library agnostic.  Can that work?




Well, in theory, yes. In practice, in the general case, I seriously doubt
it. To really accomplish that, we'd end up building yet another custom
abstraction. That would (a) negatively impact performance, and (b) eliminate
the option of using certain toolkits (e.g. Dojo) the way they were designed
to be used, viz _without_ an abstraction layer on top of the browser.

--
Martin Cooper


Joe
  

--
Joe Germuska
[EMAIL PROTECTED] * http://blog.germuska.com

"You really can't burn anything out by trying something new, and
even if you can burn it out, it can be fixed.  Try something new."
-- Robert Moog

-
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: JS Libraries (was Re: [WebWork2] TODO)

2006-04-12 Thread Martin Cooper
On 3/28/06, Ian Roughley <[EMAIL PROTECTED]> wrote:
>
> Alex - I definately agree with you, somewhat ;) - if this is a simple
> calendar,
> or other lightweight widget there is no need to involve an ajax library
> download.  *Any* ajax library download.  But I do think there is a need
> for an
> ajax theme when the user is ready to use one.  So how do we deferentiate
> between these?
>
> Joe - I think the UI tags are very library agnostic.  It was reasonably
> simple
> to add in the dojo support once we had the , 
> etc. tags
> in place.  Dojo just happened to be the initial implementation.  We could
> definately outline what the core components are (JS widget and ajax
> widget) and
> the attributes and functionality that is expected from a tag API
> standpoint, and
> then have different implementations of the tag themes for
> implementation.


The question here is whether the developer should pick one toolkit and run
with it, or should be able to pick different widgets that come from
different toolkits. Most people seem to want to do the latter, but that is
highly problematic. For one thing, few random combinations of DHTML toolkits
will work together properly. For another, the browser will end up
downloading and evaluating much more code than is really necessary,
impacting performance.

Additionally, when talking about this last month (or
> was it longer now?) we
> (Ranier, Rene, Alex and  Mike) were all thinking in the same vein.  One
> thing
> that we wanted to add was an action/inteface that returned JSON so that
> any
> ajax implementation could use the same server implementation to provide
> list
> data.


Yes, a JSON serialiser would be A Good Thing (tm) to have. The hard part,
though, is getting people to agree on what you encode in JSON and how. ;-)
Without that, you don't have interoperability.

--
Martin Cooper


The question really is do we bundle the libaries and the implementations
> with
> the SAF 2.0 release or should there be a seperate project where the
> different
> library integrations live?  Althought we could extract them into a
> optional
> project, I think there is benifit in provide a basic implementation.
>
> /Ian
>
>
> Quoting Alexandru Popescu <[EMAIL PROTECTED]>:
>
> > Joe, I mostly agree with you. What I've been trying to say is that most
> of
> > the user will not like to have a big dependency on Dojo  for simple
> > functionality like a calendar component. And I agree, this is my case
> too. I
> > would prefere something small and working almost everywhere. We have
> even
> > been thinking to add a new AJAX theme based on lighter solutions (a la
> > prototype). And if this will work, I would almost sure vote for removing
> the
> > dependency on Dojo.  But this is way to personal :-).
> >
> > ./alex
> > --
> > .w( the_mindstorm )p.
> >
> >
> > On 3/28/06, Joe Germuska <[EMAIL PROTECTED]> wrote:
> >>
> >> >I had very bad experiences with Dojo so far, and I brought this into
> >> >discussion on ww forums. I wouldn't encourage moving to Dojo, because
> the
> >> >browser support is still lacking, and from the feeling we got from
> their
> >> ml
> >> >some of the old browsers, that are still used (f.e. IE 5.5) will
> >> be  missing
> >> >in the next versions.
> >>
> >> If you believe http://thecounter.com/stats/2006/March/browser.php, IE
> >> 5.5 only has 2% market share.  I wouldn't blame a project for not
> >> spending a large amount of resources supporting that.
> >>
> >> That said, I think we should try to keep the JS libraries as
> >> pluggable as possible.  But maybe it's impossible to bundle valuable
> >> features and still do that -- I was really surprised at how many
> >> dependencies Webwork accepted, and I'm still trying to work out for
> >> myself whether that's better in the long run.  I think the Struts
> >> community philosophy was very conservative about that, but it may do
> >> us well to challenge that philosophy.
> >>
> >> Still, having roots in that philosophy, again my inclination is to
> >> try to be more library agnostic.  Can that work?
> >>
> >> Joe
> >>
> >> --
> >> Joe Germuska
> >> [EMAIL PROTECTED] * http://blog.germuska.com
> >>
> >> "You really can't burn anything out by trying something new, and
> >> even if you can burn it out, it can be fixed.  Try something new."
> >> -- Robert Moog
> >>
> >> -
> >> 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]
>
>


there is a problem in struts validation

2006-04-12 Thread krishnastruts

i want validate the weight box , it takes only integers  i am using struts
validations, but there is problem in that , it takes "Infinity" word as
integer i did not understand why it is taking , plz tell me the reason .

regards
 
--
View this message in context: 
http://www.nabble.com/there-is-a-problem-in-struts-validation-t1442292.html#a3894764
Sent from the Struts - Dev forum at Nabble.com.


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



svn commit: r393718 - in /incubator/webwork2/action/src/main: java/org/apache/struts/action2/views/jsp/ui/TabbedPaneTag.java resources/template/archive/simple/tabbedpane.vm resources/template/archive/

2006-04-12 Thread hermanns
Author: hermanns
Date: Wed Apr 12 22:51:55 2006
New Revision: 393718

URL: http://svn.apache.org/viewcvs?rev=393718&view=rev
Log:
removing old & deprecated TabbedPaneTag and its velocity templates
--> Solving LGPL issue here...

Removed:

incubator/webwork2/action/src/main/java/org/apache/struts/action2/views/jsp/ui/TabbedPaneTag.java

incubator/webwork2/action/src/main/resources/template/archive/simple/tabbedpane.vm

incubator/webwork2/action/src/main/resources/template/archive/xhtml/tabbedpane.vm


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



svn commit: r393719 - /incubator/webwork2/STATUS.txt

2006-04-12 Thread hermanns
Author: hermanns
Date: Wed Apr 12 22:54:27 2006
New Revision: 393719

URL: http://svn.apache.org/viewcvs?rev=393719&view=rev
Log:
updating STATUS doc

Modified:
incubator/webwork2/STATUS.txt

Modified: incubator/webwork2/STATUS.txt
URL: 
http://svn.apache.org/viewcvs/incubator/webwork2/STATUS.txt?rev=393719&r1=393718&r2=393719&view=diff
==
--- incubator/webwork2/STATUS.txt (original)
+++ incubator/webwork2/STATUS.txt Wed Apr 12 22:54:27 2006
@@ -27,11 +27,11 @@
 DISTRIBUTION RIGHTS - LICENSING
 
 JSCalendar for the DatePicker tag
-* Rene has contacted dynarch.com about license change, waiting for response
+* Rene has contacted dynarch.com about license change, waiting for response. 
No answer yet
 * There may also be a Dojo equivalent
 
 FCKEditor for the Richtexteditor tag
-* Toby will contact author about license change
+* Toby contacted the author about license change, no answer yet
 * There may also be a Dojo equivalent
 
 Walter Zorns tooltip library for all UI Tags
@@ -39,6 +39,8 @@
 
 tabbedpane.vm Archived UI template
 * Is this a server-side compoonent, or is there a Dojo equivalent?
+* Component was deprecated and already replaced by TabbedPanel. Simply removed 
the tag implementation
+  and the archived templates
 
 JasperReports
 * Martin will contact Jasper software about license change



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