Re: [VOTE] Struts as an Apache Top Level Project

2004-03-08 Thread Cedric Dumoulin
+1 to submit the draft TLP resolution. 

 +1 to nominate Craig as VP.

 Cedric



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


Re: Updated Struts-Faces Integration Library

2004-03-08 Thread BaTien Duong
Craig R. McClanahan wrote:

I'm happy to announce the availability of the first nightly build of the
integration library supporting the use of JavaServer Faces and Struts that has
been updated to support the final release of JavaServer Faces 1.0.  This is not
a formal Apache release; however, it is intended to support experimentation and
trigger bug reports so that we can complete a release in the next couple of
months.  Pick up the files dated 20040308 (or later) from:
 http://cvs.apache.org/builds/jakarta-struts/nightly/struts-faces/

Key new features (see the README.txt file for full details):

* Supports the final release of JavaServer Faces 1.0 (previous
 versions supported the beta version).
* Fully worked out examples with and without Tiles.

* You can use value binding expressions ("#{...}") for all attributes
 of the Struts specific components, just like you can with all attributes
 of standard JavaServer Faces components.
* A managed bean named "struts" is available to provide access to
 Struts-internal objects, similar in spirit to the 
 tag in the existing libraries.
* The integration library supports either prefix mapping (/faces/*)
 or extension mapping (*.faces) for the JavaServer Faces servlet.
* You can use the new  tag to expose a Struts
 MessageResources object as a Map, so that messages can be looked
 up using value binding expressions, similar to the way that the
 standard  tag works with resource bundles.  This allows
 you to use your existing Struts application resources seamlessly with
 non-Struts component tags.
Craig McClanahan

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

 

Great Craig.

You are amazing. We are working with both Struts-Faces and Struts-Chain.

Thanks

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


Re: Struts Logo

2004-03-08 Thread Michael Albrecht
Zitat von Steve Raeburn <[EMAIL PROTECTED]>:

> As a sideshow to the Struts TLP proposal, I'd like to resurrect a
> discussion from a few months ago regarding a new logo for the Struts
> project.
> 
> At the time, I put together a site
> (http://www.ninsky.com/struts/logo/logo.do) to allow submission and
> voting for a new logo, should we decide we want one. Please take a look,
> and if there's interest from the committers and community, then we could
> launch a competition for a shiny new logo to go with the (possible)
> shiny new TLP status.

Do you allow everyone submissing logos or is there a special group of
submitters?

I`m asking because I`ve tried to load one logo up yesterday and the submit
action has not been gone wrong, but the logo is not visible at the moment.

Beside this: are there any parameters for the new logo? Width, height,
filesize?

Michael

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



cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/html JavascriptValidatorTag.java

2004-03-08 Thread rleland
rleland 2004/03/08 15:26:58

  Modified:src/share/org/apache/struts/taglib/html
JavascriptValidatorTag.java
  Log:
  Bug 17667 Patch and bug report by Alexander Merk
  Update patch by  Matt Bathje
  This allows multiple forms to be on the same page
  by generating a unique variable name based on form name.
  
  Struts must now be compiled against the nightly validator inorder
  for client side validations to work.
  
  Revision  ChangesPath
  1.48  +7 -5  
jakarta-struts/src/share/org/apache/struts/taglib/html/JavascriptValidatorTag.java
  
  Index: JavascriptValidatorTag.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/html/JavascriptValidatorTag.java,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- JavascriptValidatorTag.java   24 Feb 2004 22:32:54 -  1.47
  +++ JavascriptValidatorTag.java   8 Mar 2004 23:26:58 -   1.48
  @@ -440,6 +440,7 @@
   int jscriptVar = 0;
   String functionName = null;
   
  +
   if (va.getJsFunctionName() != null
   && va.getJsFunctionName().length() > 0) {
   functionName = va.getJsFunctionName();
  @@ -447,7 +448,8 @@
   functionName = va.getName();
   }
   
  -results.append("function " + functionName + " () { \n");
  +String formName = form.getName();
  +results.append("function " + formName + "_" + functionName + " () { 
\n");
   for (Iterator x = form.getFields().iterator(); x.hasNext();) {
   Field field = (Field) x.next();
   
  
  
  

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



cvs commit: jakarta-struts build.properties.sample

2004-03-08 Thread rleland
rleland 2004/03/08 15:27:34

  Modified:.build.properties.sample
  Log:
  Struts must now be compiled against the nightly validator inorder
  for client side validations to work.
  
  Revision  ChangesPath
  1.52  +2 -2  jakarta-struts/build.properties.sample
  
  Index: build.properties.sample
  ===
  RCS file: /home/cvs/jakarta-struts/build.properties.sample,v
  retrieving revision 1.51
  retrieving revision 1.52
  diff -u -r1.51 -r1.52
  --- build.properties.sample   26 Dec 2003 22:14:17 -  1.51
  +++ build.properties.sample   8 Mar 2004 23:27:34 -   1.52
  @@ -56,7 +56,7 @@
   # from the Jakarta Commons project.
   commons-logging.jar=${commons-lib.home}/logging/dist/commons-logging.jar
   
  -# The JAR file containing the Validator package (Version 1.1.0 or later)
  +# The JAR file containing the Validator package (Version 1.1.2 or later)
   # from the Jakarta Commons project.
   commons-validator.jar=${commons-lib.home}/validator/dist/commons-validator.jar
   
  
  
  

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



cvs commit: jakarta-struts project.xml

2004-03-08 Thread rleland
rleland 2004/03/08 15:27:51

  Modified:.project.xml
  Log:
  Struts must now be compiled against the nightly validator inorder
  for client side validations to work.
  
  Revision  ChangesPath
  1.26  +1 -1  jakarta-struts/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-struts/project.xml,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- project.xml   29 Feb 2004 22:55:45 -  1.25
  +++ project.xml   8 Mar 2004 23:27:51 -   1.26
  @@ -215,7 +215,7 @@
   
 commons-validator
 commons-validator
  -  1.1.1
  +  1.1.2-dev
 http://jakarta.apache.org/commons/validator/
 
   true
  
  
  

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



cvs commit: jakarta-struts/doc/userGuide installation.xml

2004-03-08 Thread rleland
rleland 2004/03/08 15:30:09

  Modified:doc/userGuide installation.xml
  Log:
  Struts must now be compiled against the nightly validator version 1.1.2
   inorder for client side validations to work.
  
  Revision  ChangesPath
  1.38  +1 -1  jakarta-struts/doc/userGuide/installation.xml
  
  Index: installation.xml
  ===
  RCS file: /home/cvs/jakarta-struts/doc/userGuide/installation.xml,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- installation.xml  16 Dec 2003 17:12:02 -  1.37
  +++ installation.xml  8 Mar 2004 23:30:09 -   1.38
  @@ -97,7 +97,7 @@
 Commons FileUpload (Version 1.0 or later)
 Commons Lang (Version 2.0 or later)
 Commons Logging (Version 1.0.3 or later when it is 
available)
  -  Commons Validator (Version 1.1.1) 
  +  Commons Validator (Version 1.1.2 or later) 
 Jakarta ORO (Version 2.0.7 or later)
 
 ANTLR is a public domain library; all other libraries are distributed under 
the
  
  
  

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



DO NOT REPLY [Bug 17667] - Client-side validation with multi-form page

2004-03-08 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=17667

Client-side validation with multi-form page

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-03-08 23:32 ---
This is fixed in the Nightly build of Validator as of March 9th.
It may take a few days for the nightly build of Struts to
start using this version, and so it's client side validation
will be broken until that point.

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



Struts nightly build now needs Validator-1.1.2-dev

2004-03-08 Thread [EMAIL PROTECTED]
I just made a change in validator that allows multiple
forms per page. In order for client side validation to work
Struts needs to be build with the nightly version of Validator.

At one time this was true, but then a few weeks ago there was talk about
building it against the released version 1.1.1.

-Rob 



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



DO NOT REPLY [Bug 27384] - Add support for other keys in saveMessages functions

2004-03-08 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=27384

Add support for other keys in saveMessages functions





--- Additional Comments From [EMAIL PROTECTED]  2004-03-09 00:53 ---
Typo -- the related enhancement request is 26668, not 28666 as specified in my
original post.

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



DO NOT REPLY [Bug 26668] - errors messages tags enhancement: make them show only errors/messages

2004-03-08 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=26668

errors messages tags enhancement: make them show only errors/messages





--- Additional Comments From [EMAIL PROTECTED]  2004-03-09 00:56 ---
Partially for one of my own projects, and partially in response to this, I
submitted 27384, which targets this issue from another direction.

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



Re: DO NOT REPLY [Bug 17667] - Client-side validation with multi-form page

2004-03-08 Thread Craig R. McClanahan
> This is fixed in the Nightly build of Validator as of March 9th.
> It may take a few days for the nightly build of Struts to
> start using this version, and so it's client side validation
> will be broken until that point.

I'm picking up the most recent changes for tonight's nightly build.

Obviously, this is not a situation we really want, even for a nightly build.  I
hope we'll see an updated validator dot-dot release soon to pick up the fix.

Craig


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



RE: Struts Logo

2004-03-08 Thread Steve Raeburn
The intention is that anyone will be able to submit a logo.

But first, the committers will have to decide whether they want a new
logo. ** There is no competition yet! **

Regarding your upload, the entries would be have to be checked and
approved before being displayed on the site. Otherwise people would be
posting all kinds of strange pictures 8-) Your submission is waiting in
the queue.

Please monitor this list to see if we actually decide to hold a
competition, at which time the details would be announced. You would
need to re-submit your entry at that time.

Thanks for your enthusiastic interest though!

Steve


> -Original Message-
> From: Michael Albrecht [mailto:[EMAIL PROTECTED]
> Sent: March 8, 2004 9:42 AM
> To: Struts Developers List
> Subject: Re: Struts Logo
>
>
> Zitat von Steve Raeburn <[EMAIL PROTECTED]>:
>
> > As a sideshow to the Struts TLP proposal, I'd like to resurrect a
> > discussion from a few months ago regarding a new logo for the Struts
> > project.
> >
> > At the time, I put together a site
> > (http://www.ninsky.com/struts/logo/logo.do) to allow submission and
> > voting for a new logo, should we decide we want one. Please
> take a look,
> > and if there's interest from the committers and community,
> then we could
> > launch a competition for a shiny new logo to go with the (possible)
> > shiny new TLP status.
>
> Do you allow everyone submissing logos or is there a special group of
> submitters?
>
> I`m asking because I`ve tried to load one logo up yesterday
> and the submit
> action has not been gone wrong, but the logo is not visible
> at the moment.
>
> Beside this: are there any parameters for the new logo? Width, height,
> filesize?
>
> Michael
>
> -
> 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: Struts Logo

2004-03-08 Thread Craig R. McClanahan
Quoting Steve Raeburn <[EMAIL PROTECTED]>:

> The intention is that anyone will be able to submit a logo.
> 
> But first, the committers will have to decide whether they want a new
> logo. ** There is no competition yet! **
> 

For the record, I'm +1 on having a new logo (well, maybe it's really "havig a
logo" :-), +1 on doing it with this kind of a contest, and +1 on the timing of
doing it now.

It seems to me we want to end up with two different sized logos ... one that
would go in the upper right corner (or wherever) of our own website, and a
smaller "powered by" that would hopefully be posted on applications that used
Struts.  We can go spelunk what other projects have done (Geronimo did this not
long ago) for technical details like image sizes.

Craig


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



cvs commit: jakarta-struts/web/example footer.jsp welcome.jsp tour.html Registration.jsp logon.jsp index.jsp

2004-03-08 Thread husted
husted  2004/03/08 20:35:01

  Modified:web/example welcome.jsp tour.html Registration.jsp logon.jsp
index.jsp
  Added:   web/example footer.jsp
  Log:
  Add footer, move resource-test code to action, update tour page.
  
  Revision  ChangesPath
  1.3   +5 -26 jakarta-struts/web/example/welcome.jsp
  
  Index: welcome.jsp
  ===
  RCS file: /home/cvs/jakarta-struts/web/example/welcome.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- welcome.jsp   7 Mar 2004 20:29:31 -   1.2
  +++ welcome.jsp   9 Mar 2004 04:35:01 -   1.3
  @@ -1,29 +1,12 @@
   <%@ page contentType="text/html;charset=UTF-8" language="java" %>
   <%@ taglib uri="/tags/struts-bean" prefix="bean" %>
   <%@ taglib uri="/tags/struts-html" prefix="html" %>
  -<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
   
  -
  +
   
   
  -
  +
   
  -
  -
  -
  -  
  -ERROR:  User database not loaded -- check servlet container logs
  -for error messages.
  -  
  -  
  -
  -
  -
  -  
  -ERROR:  Application resources not loaded -- check servlet container
  -logs for error messages.
  -  
  -
   
   
   
  @@ -31,13 +14,9 @@
   
   
   
  - 
  -
  -
  -
  - 
  +
   
  -
  +
   
   
  -
  +
  
  
  
  1.5   +194 -123  jakarta-struts/web/example/tour.html
  
  Index: tour.html
  ===
  RCS file: /home/cvs/jakarta-struts/web/example/tour.html,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- tour.html 7 Mar 2004 20:22:52 -   1.4
  +++ tour.html 9 Mar 2004 04:35:01 -   1.5
  @@ -16,7 +16,7 @@
   
   This article is meant to introduce a new user to Struts by "walking 
through" an application. See the http://jakarta.apache.org/struts/";>Struts 
Users Guide and Strut's API for more documentation.
   
  -The MailReader application is based on the 1.2.0 build of Struts. To 
follow along, you should install the Mailreader application on your own development 
workstation (e.g. localhost).
  +The MailReader application is based on the 1.2.0 build of Struts. To 
follow along, you should install the MailReader application on your own development 
workstation (e.g. localhost).
   
   The article assumes the reader has a basic understanding of the Java 
language, JavaBeans, web applications, and JavaServer Pages. For background on these 
technologies, see the http://jakarta.apache.org/struts/userGuide/preface.html";>Preface to the Struts 
User Guide.
   
  @@ -92,92 +92,163 @@
   
   index.jsp
   
  +A web application, like any other web site, can specify a list of welcome 
pages. When you open a web application without specifying a particular page, a welcome 
page is used by default.
  +
   Struts allows developers to manage an application through "virtual pages" 
called actions. An accepted practice in Struts is to never link directly to 
server pages, but only to these actions. The actions are listed in a configuration 
file. By linking to actions, developers can "rewire" an application without editing 
the server pages.
   
   
 "Link actions not pages."
   
   
  -A web application, like any other web site, can specify a list of welcome 
pages. Unfortunately, actions cannot be specified as a welcome page. Since there can 
be a list of pages, the web server looks for each page on the list before selecting 
one. Unfortunately, the web server doesn't see actions as pages and will never select 
one as a welcome page. So, how do we follow the Struts best practice of navigating 
through actions rather than pages?
  +Unfortunately, actions cannot be specified as a welcome page. Since there 
can be a list of pages, the web server looks for each page on the list before 
selecting one. The web server doesn't see actions as pages and will never select one 
as a welcome page. So, in the case of a welcome page, how do we follow the Struts best 
practice of navigating through actions rather than pages?
   
   One solution is to use a server page to "bootstrap" a Struts action. A Java 
web application recognizes the idea of "forwarding" from one page to another page (or 
action). We can register the usual "index.jsp" as the welcome page and have it forward 
to a "welcome" action. Here's the MailReader's index.jsp:
   
  - 
  -  <%@ taglib uri="/tags/struts-logic" prefix="logic" %>
  -  
  +
  +  <%@ taglib uri="/tags/struts-logic" prefix="logic" %>
  +  
   
   
   At the top of the page, we import the "struts-logic" JSP tag library. 
(Again, see the http://jakarta.apache.org/struts/userGuide/preface.html";>Preface to the Struts 
User Guide for more about the technologies underlying Struts.) The page itself 
consists of a

cvs commit: jakarta-struts/src/example/org/apache/struts/webapp/example BaseAction.java WelcomeAction.java AlternateApplicationResources.properties ApplicationResources.properties Constants.java

2004-03-08 Thread husted
husted  2004/03/08 20:36:50

  Modified:src/example/org/apache/struts/webapp/example
AlternateApplicationResources.properties
ApplicationResources.properties Constants.java
  Added:   src/example/org/apache/struts/webapp/example BaseAction.java
WelcomeAction.java
  Log:
  Move resource-test code to WelcomeAction.
  
  Revision  ChangesPath
  1.2   +2 -0  
jakarta-struts/src/example/org/apache/struts/webapp/example/AlternateApplicationResources.properties
  
  Index: AlternateApplicationResources.properties
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/example/org/apache/struts/webapp/example/AlternateApplicationResources.properties,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AlternateApplicationResources.properties  4 Nov 2002 06:25:16 -   1.1
  +++ AlternateApplicationResources.properties  9 Mar 2004 04:36:49 -   1.2
  @@ -1 +1,3 @@
   prompt.password=Enter your Password here ==>
  +struts.logo.path=/struts-power.gif
  +struts.logo.alt=Powered by Struts
  
  
  
  1.11  +1 -1  
jakarta-struts/src/example/org/apache/struts/webapp/example/ApplicationResources.properties
  
  Index: ApplicationResources.properties
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/example/org/apache/struts/webapp/example/ApplicationResources.properties,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- ApplicationResources.properties   7 Mar 2004 01:54:55 -   1.10
  +++ ApplicationResources.properties   9 Mar 2004 04:36:49 -   1.11
  @@ -36,7 +36,7 @@
   index.heading=MailReader Demonstration Application Options
   index.logon=Log on to the MailReader Demonstration Application
   index.registration=Register with the MailReader Demonstration Application
  -index.title=MailReader Demonstration Application (Struts 1.1-dev)
  +index.title=MailReader Demonstration Application (Struts 1.2.1-dev)
   index.tour=A Walking Tour of the MailReader Demonstration Application
   linkSubscription.io=I/O Error: {0}
   linkSubscription.noSubscription=No subscription under attribute {0}
  
  
  
  1.6   +37 -5 
jakarta-struts/src/example/org/apache/struts/webapp/example/Constants.java
  
  Index: Constants.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/example/org/apache/struts/webapp/example/Constants.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Constants.java13 Jan 2004 12:48:44 -  1.5
  +++ Constants.java9 Mar 2004 04:36:49 -   1.6
  @@ -75,7 +75,19 @@
   /**
* The package name for this application.
*/
  -public static final String Package = "org.apache.struts.webapp.example";
  +public static final String PACKAGE = "org.apache.struts.webapp.example";
  +
  +
  +/**
  + * The token representing "failure" for this application.
  + */
  +public static final String FAILURE = "failure";
  +
  +
  +/**
  + * The token representing "success" for this application.
  + */
  +public static final String SUCCESS = "success";
   
   
   /**
  @@ -98,5 +110,25 @@
*/
   public static final String USER_KEY = "user";
   
  +
  +/**
  + * A static message in case database resource is not loaded.
  + */
  +public static final String ERROR_DATABASE_NOT_LOADED =
  +"ERROR:  User database not loaded -- check servlet container logs for error 
messages.";
  +
  +
  +/**
  + * A static message in case message resource is not loaded.
  + */
  +public static final String ERROR_MESSAGES_NOT_LOADED =
  +"ERROR:  Message resources not loaded -- check servlet container logs for 
error messages.";
  +
  +
  +/**
  + * The request attributes key under the WelcomeAction stores an ArrayList
  + * of error messages, if required resources are missing.
  + */
  +public static final String ERROR_KEY = "ERROR";
   
   }
  
  
  
  1.1  
jakarta-struts/src/example/org/apache/struts/webapp/example/BaseAction.java
  
  Index: BaseAction.java
  ===
  /*
   * $Header: 
/home/cvs/jakarta-struts/src/example/org/apache/struts/webapp/example/BaseAction.java,v
 1.1 2004/03/09 04:36:49 husted Exp $
   * $Revision: 1.1 $
   * $Date: 2004/03/09 04:36:49 $
   *
   * 
   *
   * The Apache Software License, Version 1.1
   *
   * Copyright (c) 1999-2003 The Apache Software Foundation.  All rights
   * reserved.
   *
   * Redistribution and use in source and binary forms, with or without
   * modification, are permitted provided that the f

cvs commit: jakarta-struts/src/example/org/apache/struts/webapp/example LICENSE.txt

2004-03-08 Thread husted
husted  2004/03/08 20:37:26

  Added:   src/example/org/apache/struts/webapp/example LICENSE.txt
  Log:
  Add ASL 2.0 license file.
  
  Revision  ChangesPath
  1.1  
jakarta-struts/src/example/org/apache/struts/webapp/example/LICENSE.txt
  
  Index: LICENSE.txt
  ===
   Apache License
 Version 2.0, January 2004
  http://www.apache.org/licenses/
  
 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
  
 1. Definitions.
  
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
  
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
  
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
  
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
  
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
  
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
  
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
  
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
  
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
  
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
  
 2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
  
 3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contrib

cvs commit: jakarta-struts/web/example Error.jsp

2004-03-08 Thread husted
husted  2004/03/08 20:38:05

  Added:   web/example Error.jsp
  Log:
  Add generic Error page.
  
  Revision  ChangesPath
  1.1  jakarta-struts/web/example/Error.jsp
  
  Index: Error.jsp
  ===
  <%-- Errors.jsp - Display unexpected errors, such as a JSP exception
   or missing resources --%>
  <%--
   $Header: /home/cvs/jakarta-struts/web/example/Error.jsp,v 1.1 2004/03/09 04:38:05 
husted Exp $
   $Revision: 1.1 $
   $Date: 2004/03/09 04:38:05 $
  
   Copyright 2000-2004 Apache Software Foundation
  
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at
  
  http://www.apache.org/licenses/LICENSE-2.0
  
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
  --%>
  <%@ page contentType="text/html;charset=UTF-8" language="java" %>
  <%@ page import="org.apache.struts.Globals" %>
  <%@ page import="org.apache.struts.webapp.example.Constants" %>
  <%@ taglib uri="/tags/struts-bean" prefix="bean" %>
  <%@ taglib uri="/tags/struts-html" prefix="html" %>
  <%@ taglib uri="/tags/struts-logic" prefix="logic" %>
  
  
  Unexpected Error
  
  
  
  An unexpected error has occured
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

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



cvs commit: jakarta-struts/web/example/WEB-INF web.xml struts-config.xml struts-config-registration.xml

2004-03-08 Thread husted
husted  2004/03/08 20:40:53

  Modified:web/example/WEB-INF web.xml struts-config.xml
struts-config-registration.xml
  Log:
  Add generic Error page, license references.
  
  Revision  ChangesPath
  1.20  +6 -0  jakarta-struts/web/example/WEB-INF/web.xml
  
  Index: web.xml
  ===
  RCS file: /home/cvs/jakarta-struts/web/example/WEB-INF/web.xml,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- web.xml   7 Mar 2004 20:29:31 -   1.19
  +++ web.xml   9 Mar 2004 04:40:53 -   1.20
  @@ -31,6 +31,12 @@
   index.jsp
 
   
  +  
  +  
  +   java.lang.Exception
  +   \Error.jsp
  +  
  +
 
 
   /tags/app
  
  
  
  1.39  +25 -7 jakarta-struts/web/example/WEB-INF/struts-config.xml
  
  Index: struts-config.xml
  ===
  RCS file: /home/cvs/jakarta-struts/web/example/WEB-INF/struts-config.xml,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- struts-config.xml 7 Mar 2004 20:22:52 -   1.38
  +++ struts-config.xml 9 Mar 2004 04:40:53 -   1.39
  @@ -1,10 +1,26 @@
   
  -
   http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd";>
  -
  -
  +
   
 

cvs commit: jakarta-struts/web/example/WEB-INF database.xml

2004-03-08 Thread husted
husted  2004/03/08 20:41:21

  Modified:web/example/WEB-INF database.xml
  Log:
  Conform format with Digester output
  
  Revision  ChangesPath
  1.4   +6 -12 jakarta-struts/web/example/WEB-INF/database.xml
  
  Index: database.xml
  ===
  RCS file: /home/cvs/jakarta-struts/web/example/WEB-INF/database.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- database.xml  15 Oct 2000 03:35:58 -  1.3
  +++ database.xml  9 Mar 2004 04:41:21 -   1.4
  @@ -1,15 +1,9 @@
  +
   
  -
  -  
  -
  - 
  - 
  -
  +  
  +
  +
  +
  +
 
  -
   
  
  
  

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



cvs commit: jakarta-struts/web/example/WEB-INF webtest.xml webtest.properties.sample WebTest.dtd

2004-03-08 Thread husted
husted  2004/03/08 20:43:12

  Added:   web/example/WEB-INF webtest.xml webtest.properties.sample
WebTest.dtd
  Log:
  Add Canoo WebTest files.
  
  Revision  ChangesPath
  1.1  jakarta-struts/web/example/WEB-INF/webtest.xml
  
  http://cvs.apache.org/viewcvs/jakarta-struts/web/example/WEB-INF/webtest.xml?rev=1.1
  
  
  1.1  jakarta-struts/web/example/WEB-INF/webtest.properties.sample
  
  
http://cvs.apache.org/viewcvs/jakarta-struts/web/example/WEB-INF/webtest.properties.sample?rev=1.1
  
  
  1.1  jakarta-struts/web/example/WEB-INF/WebTest.dtd
  
  http://cvs.apache.org/viewcvs/jakarta-struts/web/example/WEB-INF/WebTest.dtd?rev=1.1
  
  

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



cvs commit: jakarta-struts/web/example/WEB-INF/entities - New directory

2004-03-08 Thread husted
husted  2004/03/08 20:43:46

  jakarta-struts/web/example/WEB-INF/entities - New directory

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



cvs commit: jakarta-struts/web/example/WEB-INF/entities config-debug.xml config-tidy.xml config.xml

2004-03-08 Thread husted
husted  2004/03/08 20:44:07

  Added:   web/example/WEB-INF/entities config-debug.xml
config-tidy.xml config.xml
  Log:
  Add Canoo WebTest files.
  
  Revision  ChangesPath
  1.1  jakarta-struts/web/example/WEB-INF/entities/config-debug.xml
  
  Index: config-debug.xml
  ===

  
  
  
  
  1.1  jakarta-struts/web/example/WEB-INF/entities/config-tidy.xml
  
  Index: config-tidy.xml
  ===

  
  
  
  1.1  jakarta-struts/web/example/WEB-INF/entities/config.xml
  
  Index: config.xml
  ===

  
  
  
  

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



RE: Struts Logo

2004-03-08 Thread Marc Peabody
Well, I'm having fun playing around with different ideas. I hope other contributors 
are too.
 
IMHO, the committers should pursue a new logo. What's the worst that could happen - 
sticking with the old one? Besides, it should be a good break from staring at tags all 
day, right? :-)
 
 
- Marc



-
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster.

Updated Struts-Faces Integration Library

2004-03-08 Thread Craig R. McClanahan
I'm happy to announce the availability of the first nightly build of the
integration library supporting the use of JavaServer Faces and Struts that has
been updated to support the final release of JavaServer Faces 1.0.  This is not
a formal Apache release; however, it is intended to support experimentation and
trigger bug reports so that we can complete a release in the next couple of
months.  Pick up the files dated 20040308 (or later) from:

  http://cvs.apache.org/builds/jakarta-struts/nightly/struts-faces/

Key new features (see the README.txt file for full details):

* Supports the final release of JavaServer Faces 1.0 (previous
  versions supported the beta version).

* Fully worked out examples with and without Tiles.

* You can use value binding expressions ("#{...}") for all attributes
  of the Struts specific components, just like you can with all attributes
  of standard JavaServer Faces components.

* A managed bean named "struts" is available to provide access to
  Struts-internal objects, similar in spirit to the 
  tag in the existing libraries.

* The integration library supports either prefix mapping (/faces/*)
  or extension mapping (*.faces) for the JavaServer Faces servlet.

* You can use the new  tag to expose a Struts
  MessageResources object as a Map, so that messages can be looked
  up using value binding expressions, similar to the way that the
  standard  tag works with resource bundles.  This allows
  you to use your existing Struts application resources seamlessly with
  non-Struts component tags.

Craig McClanahan


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