Client/Server Side Validation for Struts 1.1

2001-06-01 Thread David Winterfeldt
I'd like to get a discussion started on the client/standard validations for Struts 1.1. I thought it would be good to talk about what basic features it would include and implementation. Here are the descriptions from the To Do list for 1.1. Standard Validations. Add the ability to configure st

Re: Struts 1.0 Release Planning

2001-06-01 Thread Craig R. McClanahan
On Fri, 1 Jun 2001, Martin Cooper wrote: > +1. Getting tight for us, but this will work. Anything I can do to help at > this stage? > Pound the heck out of "beta 3" when I post it tomorrow, and report any bugs you find to :-). If you've been monitoring th

Re: Proposed feature: Bean property transformations

2001-06-01 Thread Jonathan Asbell
I think the Barracuda project has done things in this area http://barracuda.enhydra.org/ I am currently beginning to implement struts and have also been reading about the alternatives. Each is developing in its own direction. I like the Barracuda design. It is more OO and does not rely on jsp.

cvs commit: jakarta-struts/doc index.xml

2001-06-01 Thread craigmcc
craigmcc01/06/01 21:08:52 Modified:doc index.xml Log: Subscribe and unsubscribe links. Revision ChangesPath 1.4 +11 -6 jakarta-struts/doc/index.xml Index: index.xml === RCS file: /hom

cvs commit: jakarta-struts/doc index.xml

2001-06-01 Thread craigmcc
craigmcc01/06/01 21:08:12 Modified:doc Tag: STRUTS_1_0_BRANCH index.xml Log: Place both Subscribe and Unsubscribe links to the mailing lists on the main page of the documentation application (and therefore the main page of the Struts web site next time it is updated).

Re: Struts 1.0 Release Planning

2001-06-01 Thread Martin Cooper
+1. Getting tight for us, but this will work. Anything I can do to help at this stage? - Original Message - From: "Craig R. McClanahan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 01, 2001 2:12 PM Subject: Struts 1.0 Release Planning > I *really* wanted to have a 1.0

Struts status items list /\/\/\

2001-06-01 Thread Jonathan Asbell
Can any one of you put together a list? We need to know: 1) what can currently be thrown out (assuming I have the most recent evenings build) 2) what are, and where can we obtain all of the recently contributed pieces which are under consideration, being worked on or tested (the Token mechan

RE: Need a Good Example Which uses Struts

2001-06-01 Thread Ravindra Sharma
Never mind this I found it in the Struts Zip file. Thanks. -ravi -Original Message- From: Ravindra Sharma Sent: Friday, June 01, 2001 1:20 PM To: '[EMAIL PROTECTED]' Subject: RE: Need a Good Example Which uses Struts Hi Ted, I was reading the "A Walking Tour of the Struts Example Ap

Re: Need a Good Example Which uses Struts

2001-06-01 Thread Ted Husted
The example application is bundled with the Struts distribution. That article is now too. Ravindra Sharma wrote: > > Hi Ted, > > I was reading the "A Walking Tour of the Struts Example Application". I was >wondering where do I find source code the example discussed in this aritcle. Is it >av

Re: cvs commit: jakarta-struts/src/share/org/apache/struts/util RequestUtils.java

2001-06-01 Thread Jonathan
Just thought I would mention this in case someone was not sure, and I hope I'm not preaching to the choir. The life cycle is as follows: If the form or link has an ampersand it always gets escaped as %26. The container than translates it back as "&" so getParameter() will get the already decoded "

cvs commit: jakarta-struts/doc release-notes-1.0-b3.xml project.xml

2001-06-01 Thread craigmcc
craigmcc01/06/01 15:30:26 Modified:doc Tag: STRUTS_1_0_BRANCH project.xml Added: doc Tag: STRUTS_1_0_BRANCH release-notes-1.0-b3.xml Log: Add release notes for 1.0-b3 (up to date with current changes). Revision ChangesPath No revision

RE: cvs commit: jakarta-struts/src/share/org/apache/struts/util RequestUtils.java

2001-06-01 Thread Deadman, Hal
Sounds good. I don't have access to other browsers but they probably work too. > -Original Message- > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 01, 2001 5:31 PM > To: [EMAIL PROTECTED] > Subject: RE: cvs commit: > jakarta-struts/src/share/org/apache/struts/

Re: Bugzilla #1879 (Connection Pool handling of Stale Connections)

2001-06-01 Thread Craig R. McClanahan
On Fri, 1 Jun 2001, Ted Husted wrote: > "Craig R. McClanahan" wrote: > > Therefore, it seems to me that allowing the configuration of an optional > > "do nothing" SQL command that GenericConnectionPool can use to test the > > validity of the connection would be a better approach. Does that mak

Re: Bugzilla #1879 (Connection Pool handling of Stale Connections)

2001-06-01 Thread Ted Husted
"Craig R. McClanahan" wrote: > Therefore, it seems to me that allowing the configuration of an optional > "do nothing" SQL command that GenericConnectionPool can use to test the > validity of the connection would be a better approach. Does that make > sense to folks? So, we'd add a testConnectio

RE: Need a Good Example Which uses Struts

2001-06-01 Thread Ravindra Sharma
Hi Ted, I was reading the "A Walking Tour of the Struts Example Application". I was wondering where do I find source code the example discussed in this aritcle. Is it available? -ravi -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Friday, June 01, 2001 6:55 AM To:

RE: Bugzilla #1879 (Connection Pool handling of Stale Connections)

2001-06-01 Thread Deadman, Hal
I agree, isClosed() won't work. An option for a testing a connection with a do-nothing SQL statement is needed. This is pretty standard for most connection pools that I have seen. > -Original Message- > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 01, 2001 5:4

Bugzilla #1879 (Connection Pool handling of Stale Connections)

2001-06-01 Thread Craig R. McClanahan
For the details of this bug report, see http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1879 As the report points out, GenericConnectionPool does not do anything about "stale" connections (i.e. those that the database has timed out, or what will happen to all of them if the database is reboo

Re: Logic tags and string properties

2001-06-01 Thread Ted Husted
+1 on an empty attribute I've been adding logic to my value beans to turn empty Strings back to nulls when retrieving properties from the database (where I don't permit nulls), so this would save me that workaround. "Craig R. McClanahan" wrote: > A third option would be to add an "empty" attribu

Re: Struts 1.0 Release Planning

2001-06-01 Thread Ted Husted
+1 "Craig R. McClanahan" wrote: > > I *really* wanted to have a 1.0 final release in time for JavaOne. But > the recent events on the Apache server (a cracker got in), plus the fact > that rebuilding things took Bugzilla down for a while, has made that > basically impossible :-(. > > Instead,

RE: cvs commit: jakarta-struts/src/share/org/apache/struts/utilRequestUtils.java

2001-06-01 Thread Craig R. McClanahan
On Fri, 1 Jun 2001, Deadman, Hal wrote: > Does this change mean that there will be a link generated that looks like > this: > > some.jsp?test=1&test=2 > instead of > some.jsp?test=1&test=2 > Yes, in the generated HTML code of the page (i.e. when you do a view source). > If so, I don't think

RE: cvs commit: jakarta-struts/src/share/org/apache/struts/util RequestUtils.java

2001-06-01 Thread Deadman, Hal
Does this change mean that there will be a link generated that looks like this: some.jsp?test=1&test=2 instead of some.jsp?test=1&test=2 If so, I don't think that will work. It doesn't work on Weblogic 6.0. Calling getParameterValues() only sees the first value. Hal > -Original Message---

RE: Struts 1.0 Release Planning

2001-06-01 Thread SCHACHTER,MICHAEL (HP-NewJersey,ex2)
+1, timing is nothing as long as it's stable -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Friday, June 01, 2001 5:13 PM To: [EMAIL PROTECTED] Subject: Struts 1.0 Release Planning I *really* wanted to have a 1.0 final release in time for JavaOne. But the

Struts 1.0 Release Planning

2001-06-01 Thread Craig R. McClanahan
I *really* wanted to have a 1.0 final release in time for JavaOne. But the recent events on the Apache server (a cracker got in), plus the fact that rebuilding things took Bugzilla down for a while, has made that basically impossible :-(. Instead, what I would like to propose is to cut a Beta 3

Re: String indexed bean fields

2001-06-01 Thread Ted Husted
So, would this then give us access to things like RowSet objects which have accessors like getString(1) ? "Craig R. McClanahan" wrote: > Yep. Something like this is part of the enhancements I see in Struts 1.1. > On Wed, 30 May 2001, Rapheal Kaplan wrote: > > Has anyone thought about allo

Re: jakarta.apache.org and ssh

2001-06-01 Thread Craig R. McClanahan
On Fri, 1 Jun 2001, SCHACHTER,MICHAEL (HP-NewJersey,ex2) wrote: > I sent this to the jakarta-general list, but I figured I'd send it here > too... > > jakarta.apache.org keeps refusing my password when I ssh to it, anyone else > know of this problem? Craig? > Yep. The apache.org site was the

cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/html BaseHandlerTag.java CheckboxTag.java MultiboxTag.java OptionTag.java OptionsTag.java RadioTag.java SelectTag.java

2001-06-01 Thread craigmcc
craigmcc01/06/01 13:43:21 Modified:src/share/org/apache/struts/taglib/html BaseHandlerTag.java CheckboxTag.java MultiboxTag.java OptionTag.java OptionsTag.java RadioTag.java SelectTag.java Log: Port the fixes for attribute minimization

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

2001-06-01 Thread craigmcc
craigmcc01/06/01 13:42:28 Modified:src/share/org/apache/struts/taglib/html Tag: STRUTS_1_0_BRANCH RadioTag.java Log: Oops, missed on the attribute minimization fix. Revision ChangesPath No revision No r

cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/html BaseHandlerTag.java CheckboxTag.java MultiboxTag.java OptionTag.java OptionsTag.java SelectTag.java

2001-06-01 Thread craigmcc
craigmcc01/06/01 13:39:43 Modified:src/share/org/apache/struts/taglib/html Tag: STRUTS_1_0_BRANCH BaseHandlerTag.java CheckboxTag.java MultiboxTag.java OptionTag.java OptionsTag.java SelectTag.java Log: Replace

cvs commit: jakarta-struts/src/share/org/apache/struts/util RequestUtils.java

2001-06-01 Thread craigmcc
craigmcc01/06/01 13:22:22 Modified:src/share/org/apache/struts/util RequestUtils.java Log: Port the fix for generating & instead of &. Revision ChangesPath 1.16 +7 -7 jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java Index: RequestUtils.ja

jakarta.apache.org and ssh

2001-06-01 Thread SCHACHTER,MICHAEL (HP-NewJersey,ex2)
I sent this to the jakarta-general list, but I figured I'd send it here too... jakarta.apache.org keeps refusing my password when I ssh to it, anyone else know of this problem? Craig?

cvs commit: jakarta-struts/src/share/org/apache/struts/util RequestUtils.java

2001-06-01 Thread craigmcc
craigmcc01/06/01 13:21:41 Modified:src/share/org/apache/struts/util Tag: STRUTS_1_0_BRANCH RequestUtils.java Log: Generate "&" instead of "&" in request URIs so that the output is still legal XML syntax in the value returned by computeURL(). PR: Bugzi

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

2001-06-01 Thread craigmcc
craigmcc01/06/01 13:16:03 Modified:src/share/org/apache/struts/taglib/html OptionsTag.java Log: Port the fix for bugzilla #1936. Revision ChangesPath 1.9 +25 -3 jakarta-struts/src/share/org/apache/struts/taglib/html/OptionsTag.java Index: OptionsTag.java

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

2001-06-01 Thread craigmcc
craigmcc01/06/01 13:14:47 Modified:src/share/org/apache/struts/taglib/html Tag: STRUTS_1_0_BRANCH OptionsTag.java Log: Report the correct property name if the labelProperty attribute is incorrect on an tag. PR: Bugzilla #1936 Submitted by: Zane Rock

RE: display xml format

2001-06-01 Thread Wu, Ying (LNG-CIS)
Ted, It works! Thanks and have a nice weekend. Ying -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Friday, June 01, 2001 3:44 PM To: [EMAIL PROTECTED] Subject: Re: display xml format I'm not sure if this is the answer to your question, but if you are writing dir

Re: display xml format

2001-06-01 Thread Ted Husted
I'm not sure if this is the answer to your question, but if you are writing directly to the client from Action.perform() you can return null to tell the ActionServlet that the request has already been fulfilled. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Servic

cvs commit: jakarta-struts build.xml

2001-06-01 Thread craigmcc
craigmcc01/06/01 12:19:31 Modified:.build.xml Log: Update the version number in build.xml to reflect that the HEAD branch is focused on 1.1 development. PR: Bugzilla #1913 Submitted by: Martin Cooper <[EMAIL PROTECTED]> Revision ChangesPath 1.54 +1 -1

cvs commit: jakarta-struts/web/exercise-taglib/WEB-INF struts-config.xml

2001-06-01 Thread craigmcc
craigmcc01/06/01 11:58:48 Modified:doc struts-html.xml src/share/org/apache/struts/util RequestUtils.java web/exercise-taglib index.jsp web/exercise-taglib/WEB-INF struts-config.xml Added: web/exercise-taglib html-link.jsp Log:

cvs commit: jakarta-struts/doc struts-html.xml

2001-06-01 Thread craigmcc
craigmcc01/06/01 11:50:50 Modified:doc Tag: STRUTS_1_0_BRANCH struts-html.xml Log: Relax the constraint on what can be in a Map used to add dynamic request parameters to the URL created by the , , and tags. Now, the Map values can be: * A String * A String array (crea

cvs commit: jakarta-struts/web/exercise-taglib html-link.jsp

2001-06-01 Thread craigmcc
craigmcc01/06/01 11:45:10 Modified:src/share/org/apache/struts/util Tag: STRUTS_1_0_BRANCH RequestUtils.java web/exercise-taglib Tag: STRUTS_1_0_BRANCH html-link.jsp Log: Update RequestUtils.computeURL() so that it will properly deal with non

cvs commit: jakarta-struts/web/exercise-taglib/WEB-INF struts-config.xml

2001-06-01 Thread craigmcc
craigmcc01/06/01 11:14:32 Modified:web/exercise-taglib Tag: STRUTS_1_0_BRANCH index.jsp web/exercise-taglib/WEB-INF Tag: STRUTS_1_0_BRANCH struts-config.xml Added: web/exercise-taglib Tag: STRUTS_1_0_BRANCH html-link.jsp Log: Add a test

Extention of struts - BeanFactory

2001-06-01 Thread Oleg V Alexeev
Hello struts-dev, I am glad to publish pre-alpha version of BeanFactory - extention of struts framework, intended to simplify processes of data publishing. Main idea of it - to move functionality to declarations. You can find short info about BeanFactory, sources, precompiled bina

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

2001-06-01 Thread craigmcc
craigmcc01/06/01 10:13:39 Modified:src/share/org/apache/struts/taglib/html ButtonTag.java Log: Port fix for Bugzilla #1890. Revision ChangesPath 1.4 +20 -4 jakarta-struts/src/share/org/apache/struts/taglib/html/ButtonTag.java Index: ButtonTag.java =

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

2001-06-01 Thread craigmcc
craigmcc01/06/01 10:11:47 Modified:src/share/org/apache/struts/taglib/html Tag: STRUTS_1_0_BRANCH ButtonTag.java Log: Restore the ability of the tag to grab it's text from the nested body content (typically an internationalized message). Thanks to Hal

Re: [GUMP] Build Failure - Struts

2001-06-01 Thread Paul Speed
"Craig R. McClanahan" wrote: > > As Sam Ruby warned us, GUMP is currently experimenting with using the JDK > 1.4 beta release for Linux. The failures below are caused by the addition > of new methods to some of the javax.sql interfaces -- everything works > fine in JDK 1.2 and 1.3. > > For wh

Re: [GUMP] Build Failure - Struts

2001-06-01 Thread Craig R. McClanahan
As Sam Ruby warned us, GUMP is currently experimenting with using the JDK 1.4 beta release for Linux. The failures below are caused by the addition of new methods to some of the javax.sql interfaces -- everything works fine in JDK 1.2 and 1.3. For what it's worth, this is the kind of thing that

[GUMP] Build Failure - Struts

2001-06-01 Thread Craig McClanahan
This email is autogenerated from the output from: Buildfile: build.xml init: [echo] - jakarta-struts 1.0-b

display xml format

2001-06-01 Thread Wu, Ying (LNG-CIS)
I need to send a string which represents a xml file to browser, I need to call response.setContentType("text/xml"). But it is at ActionServlet level and is default to "text/html" thus browser ignores xml tags, "long" will only show "long". I can do the output at MyAction.perform() level, but how

Re: Need a Good Example Which uses Struts

2001-06-01 Thread Ted Husted
I believe everything written about Struts is referenced at < http://www.husted.com/about/struts/ > (And if I missed anything, someone please let me know!) If the one you mentioned is "Strut by Strut", note that it was just updated a few days ago, with some more about integrating Struts with yo

Re: Proposed feature: Bean property transformations

2001-06-01 Thread Ted Husted
What I'm missing is a comprehensive, general package for converting data types and formatting properties for presentation. Most of this functionality is available somewhere in java and javax space, but it's spread around. What would be most useful, I think, is a single, generic package that provi