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 bean:struts
 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 s:loadMessages 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 f:loadBundle 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 @@
   dependency
 groupIdcommons-validator/groupId
 artifactIdcommons-validator/artifactId
  -  version1.1.1/version
  +  version1.1.2-dev/version
 urlhttp://jakarta.apache.org/commons/validator//url
 properties
   war.bundletrue/war.bundle
  
  
  

-
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 @@
 liemCommons FileUpload/em (Version 1.0 or later)/li
 liemCommons Lang/em (Version 2.0 or later)/li
 liemCommons Logging/em (Version 1.0.3 or later when it is 
available)/li
  -  liemCommons Validator/em (Version 1.1.1) /li
  +  liemCommons Validator/em (Version 1.1.2 or later) /li
 liemJakarta ORO/em (Version 2.0.7 or later)/li
 /ul
 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
http://issues.apache.org/bugzilla/show_bug.cgi?id=17667.
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
http://issues.apache.org/bugzilla/show_bug.cgi?id=27384.
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
http://issues.apache.org/bugzilla/show_bug.cgi?id=26668.
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 %
   
  -html:html locale=true
  +html
   head
   titlebean:message key=index.title//title
  -html:base/
  +link rel=stylesheet type=text/css href=base.css /
   /head
  -body bgcolor=white
  -
  -logic:notPresent name=database scope=application
  -  font color=red
  -ERROR:  User database not loaded -- check servlet container logs
  -for error messages.
  -  /font
  -  hr
  -/logic:notPresent
  -
  -logic:notPresent name=org.apache.struts.action.MESSAGE scope=application
  -  font color=red
  -ERROR:  Application resources not loaded -- check servlet container
  -logs for error messages.
  -  /font
  -/logic:notPresent
   
   h3bean:message key=index.heading//h3
   ul
  @@ -31,13 +14,9 @@
   lihtml:link action=/logonbean:message key=index.logon//html:link/li
   /ul
   
  -pnbsp;/p
  -html:link action=/tour
  -font size=-1bean:message key=index.tour//font
  -/html:link
  -pnbsp;/p
  +phtml:link action=/tourbean:message key=index.tour//html:link/p
   
  -html:img page=/struts-power.gif alt=Powered by Struts/
  +phtml:img bundle=alternate pageKey=struts.logo.path 
altKey=struts.logo.alt//p
   
   /body
  -/html:html
  +/html
  
  
  
  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 @@
   
   piThis article is meant to introduce a new user to Struts by walking 
through an application. See the a href=http://jakarta.apache.org/struts/;Struts 
Users Guide and Strut's API/a for more documentation./i/p
   
  -piThe 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)./i/p
  +piThe 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)./i/p
   
   piThe 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 a 
href=http://jakarta.apache.org/struts/userGuide/preface.html;Preface to the Struts 
User Guide/a./i/p
   hr /
  @@ -92,92 +92,163 @@
   
   h3a name=index.jsp id=index.jspindex.jsp/a/h3
   
  +pA 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./p
  +
   pStruts allows developers to manage an application through virtual pages 
called iactions/i. 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./p
   
   blockquote
 pfont class=hintLink actions not pages./font/p
   /blockquote
   
  -pA 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?/p
  +pUnfortunately, 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 

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 Contribution(s)
with the 

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 %
  html:html
  head
  titleUnexpected Error/title
  html:base/
  /head
  
  h3An unexpected error has occured/h3
  logic:present name=%=Constants.ERROR_KEY%
  ul
  logic:iterate id=error name=%=Constants.ERROR_KEY%
  libean:write name=error //li
  /logic:iterate
  /ul
  /logic:present
  logic:present name=%=Globals.EXCEPTION_KEY%
  pbean:write name=%=Globals.EXCEPTION_KEY% property=message //p
  /logic:present
  
  /body
  /html:html
  
  
  

-
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 @@
   welcome-fileindex.jsp/welcome-file
 /welcome-file-list
   
  +  !-- The default error page --
  +  error-page
  +   exception-typejava.lang.Exception/exception-type
  +   location\Error.jsp/location
  +  /error-page
  +
 !-- Application Tag Library Descriptor --
 taglib
   taglib-uri/tags/app/taglib-uri
  
  
  
  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 @@
   ?xml version=1.0 encoding=ISO-8859-1 ?
  -
   !DOCTYPE struts-config PUBLIC
 -//Apache Software Foundation//DTD Struts Configuration 1.2//EN
 http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd;
  -
  -
  +!--
  + $Header$
  + $Revision$
  + $Date$
  +
  + 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.
  +--
   struts-config
 display-name![CDATA[
account maintenance
  @@ -45,11 +61,14 @@
   
 !-- Display welcome page --
 actionpath=/welcome
  - forward=/welcome.jsp/
  + type=org.apache.struts.webapp.example.WelcomeAction
  +  forward name=failure path=/Error.jsp /
  +  forward name=success path=/welcome.jsp /
  +  /action
   
 !-- Display registration page --
 actionpath=/registration
  - forward=/registration.jsp/
  + forward=/Registration.jsp/
   
 !-- Display logon page --
 actionpath=/mainMenu
  @@ -120,8 +139,7 @@
   
 message-resources
   parameter=org.apache.struts.webapp.example.AlternateApplicationResources
  -key=alternate
  -  /message-resources
  +key=alternate/
   
   
 !-- == Plug Ins Configuration == --
  
  
  
  1.6   +20 -3 
jakarta-struts/web/example/WEB-INF/struts-config-registration.xml
  
  Index: struts-config-registration.xml
  ===
  RCS file: 
/home/cvs/jakarta-struts/web/example/WEB-INF/struts-config-registration.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- struts-config-registration.xml21 Dec 2003 22:43:52 -  1.5
  +++ struts-config-registration.xml9 Mar 2004 04:40:53 -   1.6
  @@ -1,9 +1,26 @@
   ?xml version=1.0 encoding=ISO-8859-1 ?
  -
   !DOCTYPE struts-config PUBLIC
 -//Apache Software Foundation//DTD Struts Configuration 1.2//EN
 http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd;
  -
  +!--
  + $Header$
  + $Revision$
  + $Date$
  +
  + 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.
  +--
   struts-config
 display-name![CDATA[
registration
  @@ -26,7 +43,7 @@
   
 !-- == Global Forward Definitions == --
 global-forwards
  -forward   

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 @@
  +?xml version='1.0'?
   database
  -
  -  user username=user
  -password=pass
  -fullName=John Q. User
  - fromAddress=[EMAIL PROTECTED]
  -
  - subscription host=mail.yahoo.com type=imap
  -   username=jquser password=foo/
  - subscription host=mail.hotmail.com   type=pop3
  -   username=user1234   password=bar/
  -
  +  user username=user fromAddress=[EMAIL PROTECTED] fullName=John Q. User 
password=pass
  +subscription host=mail.hotmail.com autoConnect=false password=bar 
type=pop3 username=user1234
  +/subscription
  +subscription host=mail.yahoo.com autoConnect=false password=foo 
type=imap username=jquser
  +/subscription
 /user
  -
   /database
  
  
  

-
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
  ===
config
   host=localhost
   port=8080
   protocol=http
   basepath=example
   summary=true
   saveresponse=true
   resultpath=results
   resultfile=result.txt
   showhtmlparseroutput=true
   verbose=true/
  
  
  
  
  1.1  jakarta-struts/web/example/WEB-INF/entities/config-tidy.xml
  
  Index: config-tidy.xml
  ===
config
   host=localhost
   port=8080
   protocol=http
   basepath=example
   summary=false
   saveresponse=false
   resultpath=results
   resultfile=result.txt
   showhtmlparseroutput=true
   verbose=false/
  
  
  
  1.1  jakarta-struts/web/example/WEB-INF/entities/config.xml
  
  Index: config.xml
  ===
config
   host=localhost
   port=8080
   protocol=http
   basepath=example /
  
  
  
  

-
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 bean:struts
  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 s:loadMessages 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 f:loadBundle 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]