commons-chain.git
15 years agoMoving to TLP tags/CHAIN_1_0 CHAIN_1_0
Henri Yandell [Sun, 29 Jul 2007 03:42:34 +0000 (03:42 +0000)] 
Moving to TLP

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/chain/tags/CHAIN_1_0@560660 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMoving back :) tags/CHAIN_1_0@560659
Henri Yandell [Sun, 29 Jul 2007 03:42:15 +0000 (03:42 +0000)] 
Moving back :)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/tags/CHAIN_1_0@560658 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMoving to TLP tags/CHAIN_1_0@560657
Henri Yandell [Sun, 29 Jul 2007 03:40:41 +0000 (03:40 +0000)] 
Moving to TLP

git-svn-id: https://svn.apache.org/repos/asf/commons/commons/proper/chain/tags/CHAIN_1_0@560657 13f79535-47bb-0310-9956-ffa450edef68

17 years agoThis commit was manufactured by cvs2svn to create tag 'CHAIN_1_0'. tags/CHAIN_1_0@560656
No Author [Fri, 10 Dec 2004 05:11:55 +0000 (05:11 +0000)] 
This commit was manufactured by cvs2svn to create tag 'CHAIN_1_0'.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/tags/CHAIN_1_0@142916 13f79535-47bb-0310-9956-ffa450edef68

17 years agoTweaks to the web site in preparation for 1.0 release. tags/CHAIN_1_0@142915
Martin Cooper [Fri, 10 Dec 2004 05:11:55 +0000 (05:11 +0000)] 
Tweaks to the web site in preparation for 1.0 release.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142915 13f79535-47bb-0310-9956-ffa450edef68

17 years agoMake sure that testPristine() comes first. Relying on the order of methods
Martin Cooper [Thu, 9 Dec 2004 05:23:14 +0000 (05:23 +0000)] 
Make sure that testPristine() comes first. Relying on the order of methods
in the source being the order in which they are called is not exactly a
best practice, but on the eve of a 1.0 release, switching the order of a
couple of methods is the most expedient way to resolve the failing tests.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142914 13f79535-47bb-0310-9956-ffa450edef68

17 years agoNow that the MyFaces version of the JSF API is available at ibiblio, change
Martin Cooper [Wed, 8 Dec 2004 06:33:13 +0000 (06:33 +0000)] 
Now that the MyFaces version of the JSF API is available at ibiblio, change
the Maven and Ant builds to depend on that, rather than the JSF API RI,
which cannot be made available in the same way.

This change should allow the nightly builds of Chain to succeed - or at
least not fail so early because the dependencies were not available.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142913 13f79535-47bb-0310-9956-ffa450edef68

17 years agoFix around 660 Checkstyle errors prior to the 1.0 release.
Martin Cooper [Tue, 30 Nov 2004 05:52:23 +0000 (05:52 +0000)] 
Fix around 660 Checkstyle errors prior to the 1.0 release.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142912 13f79535-47bb-0310-9956-ffa450edef68

17 years agoUpdate version for 1.0 release.
Martin Cooper [Tue, 30 Nov 2004 05:50:08 +0000 (05:50 +0000)] 
Update version for 1.0 release.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142911 13f79535-47bb-0310-9956-ffa450edef68

17 years agoRegenerate Ant build file to pick up changes to project.xml.
Martin Cooper [Mon, 22 Nov 2004 01:59:50 +0000 (01:59 +0000)] 
Regenerate Ant build file to pick up changes to project.xml.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142910 13f79535-47bb-0310-9956-ffa450edef68

17 years agoUpdate BeanUtils and Digester versions; remove Collections dependency;
Martin Cooper [Mon, 22 Nov 2004 01:55:12 +0000 (01:55 +0000)] 
Update BeanUtils and Digester versions; remove Collections dependency;
update version number to 1.0-dev in anticipation of a 1.0 release soon.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142909 13f79535-47bb-0310-9956-ffa450edef68

17 years agoUpdating for 1.0 release, removed old cookbook file
Donald J. Brown [Wed, 17 Nov 2004 08:05:39 +0000 (08:05 +0000)] 
Updating for 1.0 release, removed old cookbook file

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142908 13f79535-47bb-0310-9956-ffa450edef68

17 years agoMade CatalogBase thread-safe by synchronizing the map of commands
Donald J. Brown [Wed, 17 Nov 2004 07:59:18 +0000 (07:59 +0000)] 
Made CatalogBase thread-safe by synchronizing the map of commands
PR: 32015

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142907 13f79535-47bb-0310-9956-ffa450edef68

17 years agoConvert the DocBook chapter into Maven format and add it to the web site
Martin Cooper [Tue, 16 Nov 2004 20:43:03 +0000 (20:43 +0000)] 
Convert the DocBook chapter into Maven format and add it to the web site
as a Cookbook.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142906 13f79535-47bb-0310-9956-ffa450edef68

17 years agoNow that we have CatalogFactory, make LookupCommand leverage it by expecting
Craig R. McClanahan [Fri, 22 Oct 2004 18:06:47 +0000 (18:06 +0000)] 
Now that we have CatalogFactory, make LookupCommand leverage it by expecting
a Catalog name instead of a Catalog instance.  If not specified, the default
Catalog for this application will be consulted.

PR: Bugzilla #31844
Submitted By:  Sean Schofield <sean DOT schofield AT gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142905 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAdjust the example chain configuration file to reflect the default
Craig R. McClanahan [Thu, 21 Oct 2004 05:14:45 +0000 (05:14 +0000)] 
Adjust the example chain configuration file to reflect the default
behavior of expecting a <catalog> outermost element, which will register
the included chains and commands into the default catalog for this app.

PR:  Bugzilla #31807
Submitted by:  Sean Schofield <sean.schofield AT gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142904 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAdd forgotten new class.
Craig R. McClanahan [Mon, 18 Oct 2004 18:47:12 +0000 (18:47 +0000)] 
Add forgotten new class.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142903 13f79535-47bb-0310-9956-ffa450edef68

17 years agoUpdate ChainListener and ChainServlet (and the subordinate servlet related
Craig R. McClanahan [Mon, 18 Oct 2004 01:48:52 +0000 (01:48 +0000)] 
Update ChainListener and ChainServlet (and the subordinate servlet related
processing commands) to make the presence of the attribute init parameter
(org.apache.commons.chain.CONFIG_ATTR) select the previous behavior
where a Catalog is registered as an application scope parameter.  Absence
of this init parameter will trigger the new-style behavior where config
files are assumed to contain <catalog> elements, which will cause the catalogs
to be registered with the CatalogFactory for this application.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142902 13f79535-47bb-0310-9956-ffa450edef68

17 years agoUpdate tests to reflect the modified APIs and logic.
Craig R. McClanahan [Mon, 18 Oct 2004 01:09:06 +0000 (01:09 +0000)] 
Update tests to reflect the modified APIs and logic.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142901 13f79535-47bb-0310-9956-ffa450edef68

17 years agoMake CatalogFactory an abstract class instead of an interface, and make
Craig R. McClanahan [Mon, 18 Oct 2004 01:07:42 +0000 (01:07 +0000)] 
Make CatalogFactory an abstract class instead of an interface, and make
the getInstance() and clear() methods static on this class.  This is
necessary both to avoid applications having to reference CatalogFactoryBase,
but also to ensure that the clear() method actually releases all references
to the relevant class loader -- in the original scheme, we would still have
been leaving garbage lying around.

Refine ConfigRuleSet so that multiple <factory> elements with the same
catalog name will cause the nested chain and command definitions to be
merged, instead of replacing the entire catalog with only the contents
of the last <factory> element.

FIXME: Modify ConfigureListener and ConfigureServlet to use the new
mechanisms that expect a <factory> element -- but find a backwards
compatible way to continue supporting existing use cases.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142900 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAdd a unit test for CatalogFactoryBase.
Craig R. McClanahan [Sun, 17 Oct 2004 22:39:00 +0000 (22:39 +0000)] 
Add a unit test for CatalogFactoryBase.

Hmm ... having to explictly reference CatalogFactoryBase to call getInstance()
seems a little odd ... maybe we should make CatalogFactory itself a concrete
class instead of an interface (analogous to LogFactory in [logging]).

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142899 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAdd a clear() method to CatalogFactory() so that, for example, a web
Craig R. McClanahan [Sun, 17 Oct 2004 01:53:53 +0000 (01:53 +0000)] 
Add a clear() method to CatalogFactory() so that, for example, a web
application can clean up allocated catalogs when it shuts down.

Commit a new CatalogFactoryBase concrete implementation of CatalogFactory,
originally contribted by Sean Schofield, with the following tweaks:

* Use Java2 collections classes (including necessary synchronization)
  instead of Hashtable.

* Make the private string constant used to name the default Catalog
  instance less susceptible to being stepped on by applications.

* Support the getNames() and clear() methods that were added to
  the CatalogFactory interface.

* Factor out the common logic used to look up the relevant class
  loader (also making it more robust by using the class loader that
  loaded this class if there is no thread context class loader)
  and the logic to retrieve the appropriate Map of Catalogs related
  to a particular ClassLoader.

Hint hint ... we still need unit tests for this class :-).

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142898 13f79535-47bb-0310-9956-ffa450edef68

17 years agoPer discussion on the Commons Developer list, remove the getInstance() method
Craig R. McClanahan [Sun, 17 Oct 2004 01:23:01 +0000 (01:23 +0000)] 
Per discussion on the Commons Developer list, remove the getInstance() method
that doesn't really belong here.  Also, add a getNames() method to iterate
over the names of all known catalogs, similar to how Catalog can iterate over
the names of all known commands.

Finally, change line endings from DOS to UNIX (which will probably make the
diff report unreadable, but only this time) since I'm committing on a Unix
system.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142897 13f79535-47bb-0310-9956-ffa450edef68

18 years agoCommit the proposed CatalogFactory interface, from Sean Schofield. This is
Craig R. McClanahan [Sat, 2 Oct 2004 19:20:55 +0000 (19:20 +0000)] 
Commit the proposed CatalogFactory interface, from Sean Schofield.  This is
primarily for discussion at this point; I'm not (quite) ready to consider it
to be part of the final API for [chain].

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142896 13f79535-47bb-0310-9956-ffa450edef68

18 years agoUpdating Pluto url
Donald J. Brown [Wed, 29 Sep 2004 19:18:54 +0000 (19:18 +0000)] 
Updating Pluto url

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142895 13f79535-47bb-0310-9956-ffa450edef68

18 years agoChanged all servlet Map implementations to use the Map.Entry implementation
Donald J. Brown [Fri, 10 Sep 2004 22:43:20 +0000 (22:43 +0000)] 
Changed all servlet Map implementations to use the Map.Entry implementation
MapEntry, rather than returning the values which caused Map.putAll() to
throw confusing ClassCastExceptions

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142894 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdding postGoal to copy css stylesheets from commons-build when site is generated...
Mark R. Diggory [Tue, 17 Aug 2004 15:38:44 +0000 (15:38 +0000)] 
Adding postGoal to copy css stylesheets from commons-build when site is generated. Please maintain this modification for consistent look and feel across commons subprojects.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142893 13f79535-47bb-0310-9956-ffa450edef68

18 years agoEnhance the readability/writeability of configuration files for command
Craig R. McClanahan [Fri, 16 Jul 2004 19:06:01 +0000 (19:06 +0000)] 
Enhance the readability/writeability of configuration files for command
chains, by supporting a new <define> element that dynamically adds new
Digester rules to the running instance, allowing use of elements without
having to specify the command or chain implementation class every time.
For example, assume you wanted to use two different instances of a
particular command in two different chains:

  <chains>
    ...
    <chain ...>
      ...
      <command className="com.mycompany.mycommands.FooCommand"/>
      ...
    </chain>
    <chain ...>
      ...
      <command clasName="com.mycompany.mycommands.FooCommand"/>
      ...
    </chain>
    ...
  </chains>

Now, you can define an alias for this command and reuse it:

  <chains>
    ...
    <define name="foo" className="com.mycompany.mycommands.FooCommand"/>
    ...
    <chain ...>
      ...
      <foo>
      ...
    </chain>
    <chain ...>
      ...
      <foo>
      ...
    </chain>
    ...
  </chains>

The dynamically generated rules include a Set Properties rule, so that you
can configure properties on aliased commands just like you can with the
<chain> or <command> elements directly.

See the unit test input file (test-config-2.xml) below for more examples.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142892 13f79535-47bb-0310-9956-ffa450edef68

18 years agoReformat to restore indentation. No functional changes.
Craig R. McClanahan [Fri, 16 Jul 2004 17:53:39 +0000 (17:53 +0000)] 
Reformat to restore indentation.  No functional changes.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142891 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAllow a global default to be set for the o.a.c.c.Chain implementation class
Craig R. McClanahan [Fri, 9 Jul 2004 00:03:25 +0000 (00:03 +0000)] 
Allow a global default to be set for the o.a.c.c.Chain implementation class
to be used when instantiating a new chain.

Submitted by:  Manfred Wolff <wolff AT manfred-wolff.de>

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142890 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdded deploy info based of jxpath's config
Donald J. Brown [Sat, 3 Jul 2004 18:51:48 +0000 (18:51 +0000)] 
Added deploy info based of jxpath's config

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142889 13f79535-47bb-0310-9956-ffa450edef68

18 years agoGot the site to build completely
Donald J. Brown [Thu, 1 Jul 2004 21:46:45 +0000 (21:46 +0000)] 
Got the site to build completely

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142888 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdding checkstyle config from jxpath, modified maven build to get
Donald J. Brown [Thu, 1 Jul 2004 21:34:09 +0000 (21:34 +0000)] 
Adding checkstyle config from jxpath, modified maven build to get
unit tests to run and documents built

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142887 13f79535-47bb-0310-9956-ffa450edef68

18 years agoChanged references from sandbox to commons proper, added self to dev
Donald J. Brown [Thu, 1 Jul 2004 21:19:21 +0000 (21:19 +0000)] 
Changed references from sandbox to commons proper, added self to dev
list, modified maven config to get it to build

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142886 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd properties for sdocbook plugin. Several JARs have to be downloaded manually,...
Ted Nathan Husted [Mon, 21 Jun 2004 17:50:49 +0000 (17:50 +0000)] 
Add properties for sdocbook plugin. Several JARs have to be downloaded manually, making the sdocbook plugin a pain to install.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142885 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd generated HTML while we adjust the build. Edits should be made to sdocbook/chapte...
Ted Nathan Husted [Mon, 21 Jun 2004 17:49:43 +0000 (17:49 +0000)] 
Add generated HTML while we adjust the build. Edits should be made to sdocbook/chapter-chain.xml.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142884 13f79535-47bb-0310-9956-ffa450edef68

18 years agoMove to default sdocbook directory
Ted Nathan Husted [Mon, 21 Jun 2004 17:48:42 +0000 (17:48 +0000)] 
Move to default sdocbook directory

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142883 13f79535-47bb-0310-9956-ffa450edef68

18 years agoInitial checkin of the Commons Chain Cookbook. This is in DocBook and needs to be...
Ted Nathan Husted [Mon, 21 Jun 2004 16:48:08 +0000 (16:48 +0000)] 
Initial checkin of the Commons Chain Cookbook. This is in DocBook and needs to be integrated with the Maven build, but I wanted to get it under CVS. We may need to downsize it to Simplified DocBook.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142882 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd controller application.
Ted Nathan Husted [Tue, 1 Jun 2004 00:56:48 +0000 (00:56 +0000)] 
Add controller application.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142881 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd tests.
Ted Nathan Husted [Tue, 1 Jun 2004 00:52:47 +0000 (00:52 +0000)] 
Add tests.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142880 13f79535-47bb-0310-9956-ffa450edef68

18 years agoJavadoc and code formatting.
Ted Nathan Husted [Tue, 1 Jun 2004 00:51:18 +0000 (00:51 +0000)] 
Javadoc and code formatting.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142879 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd simple CommandAction class.
Ted Nathan Husted [Tue, 1 Jun 2004 00:49:17 +0000 (00:49 +0000)] 
Add simple CommandAction class.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142878 13f79535-47bb-0310-9956-ffa450edef68

18 years agoJavadoc updates.
Ted Nathan Husted [Tue, 1 Jun 2004 00:48:41 +0000 (00:48 +0000)] 
Javadoc updates.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142877 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd ProfileCheck and Profile classes.
Ted Nathan Husted [Tue, 1 Jun 2004 00:48:05 +0000 (00:48 +0000)] 
Add ProfileCheck and Profile classes.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142876 13f79535-47bb-0310-9956-ffa450edef68

18 years agoupdate to commons l&f, new navigation, license info
Dirk Verbeeck [Sun, 30 May 2004 21:02:21 +0000 (21:02 +0000)] 
update to commons l&f, new navigation, license info

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142875 13f79535-47bb-0310-9956-ffa450edef68

18 years agoTweak build.xml to allow property substitution of the Maven executable
Craig R. McClanahan [Sat, 10 Apr 2004 21:23:06 +0000 (21:23 +0000)] 
Tweak build.xml to allow property substitution of the Maven executable
to actually work on a Unix system.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142874 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd entry for RegisterAdd mapping
Ted Nathan Husted [Fri, 9 Apr 2004 00:39:04 +0000 (00:39 +0000)] 
Add entry for RegisterAdd mapping

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142873 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd OpenOffice presentation
Ted Nathan Husted [Thu, 8 Apr 2004 23:41:34 +0000 (23:41 +0000)] 
Add OpenOffice presentation

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142872 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd LogonUser Command
Ted Nathan Husted [Thu, 8 Apr 2004 23:33:33 +0000 (23:33 +0000)] 
Add LogonUser Command

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142871 13f79535-47bb-0310-9956-ffa450edef68

18 years agoMove validation config under struts-config, convert to finely-grained
Ted Nathan Husted [Thu, 8 Apr 2004 23:32:34 +0000 (23:32 +0000)] 
Move validation config under struts-config, convert to finely-grained

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142870 13f79535-47bb-0310-9956-ffa450edef68

18 years agoSimplify checklogin tag
Ted Nathan Husted [Thu, 8 Apr 2004 23:31:54 +0000 (23:31 +0000)] 
Simplify checklogin tag

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142869 13f79535-47bb-0310-9956-ffa450edef68

18 years agoExpand Logon action
Ted Nathan Husted [Thu, 8 Apr 2004 23:29:32 +0000 (23:29 +0000)] 
Expand Logon action

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142868 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd Menu mapping
Ted Nathan Husted [Thu, 8 Apr 2004 23:28:32 +0000 (23:28 +0000)] 
Add Menu mapping

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142867 13f79535-47bb-0310-9956-ffa450edef68

18 years agoOptimize imports
Ted Nathan Husted [Thu, 8 Apr 2004 23:26:07 +0000 (23:26 +0000)] 
Optimize imports

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142866 13f79535-47bb-0310-9956-ffa450edef68

18 years agoRefactor entry keys
Ted Nathan Husted [Thu, 8 Apr 2004 23:24:48 +0000 (23:24 +0000)] 
Refactor entry keys

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142865 13f79535-47bb-0310-9956-ffa450edef68

18 years agoJavadoc, refactorings
Ted Nathan Husted [Thu, 8 Apr 2004 23:23:47 +0000 (23:23 +0000)] 
Javadoc, refactorings

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142864 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd LogonAction to postcheck state
Ted Nathan Husted [Thu, 8 Apr 2004 23:21:02 +0000 (23:21 +0000)] 
Add LogonAction to postcheck state

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142863 13f79535-47bb-0310-9956-ffa450edef68

18 years agoRemove development cruft
Ted Nathan Husted [Thu, 8 Apr 2004 23:19:59 +0000 (23:19 +0000)] 
Remove development cruft

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142862 13f79535-47bb-0310-9956-ffa450edef68

18 years agowhite component logo
Dirk Verbeeck [Mon, 5 Apr 2004 20:11:50 +0000 (20:11 +0000)] 
white component logo

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142861 13f79535-47bb-0310-9956-ffa450edef68

18 years agoCorrect scope reference
Ted Nathan Husted [Thu, 1 Apr 2004 03:39:16 +0000 (03:39 +0000)] 
Correct scope reference

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142860 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd LogonUser command
Ted Nathan Husted [Thu, 1 Apr 2004 03:38:22 +0000 (03:38 +0000)] 
Add LogonUser command

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142859 13f79535-47bb-0310-9956-ffa450edef68

18 years ago"Simplified" version using conventional Struts signatures
Ted Nathan Husted [Thu, 1 Apr 2004 03:37:20 +0000 (03:37 +0000)] 
"Simplified" version using conventional Struts signatures

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142858 13f79535-47bb-0310-9956-ffa450edef68

18 years agoImplement code to pass LogonUser test. Test for failure.
Ted Nathan Husted [Mon, 29 Mar 2004 02:34:20 +0000 (02:34 +0000)] 
Implement code to pass LogonUser test. Test for failure.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142857 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd LogonUser test.
Ted Nathan Husted [Mon, 29 Mar 2004 01:37:39 +0000 (01:37 +0000)] 
Add LogonUser test.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142856 13f79535-47bb-0310-9956-ffa450edef68

18 years agoEnable LocaleChange action
Ted Nathan Husted [Mon, 29 Mar 2004 00:54:59 +0000 (00:54 +0000)] 
Enable LocaleChange action

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142855 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd LocaleChange test
Ted Nathan Husted [Mon, 29 Mar 2004 00:54:23 +0000 (00:54 +0000)] 
Add LocaleChange test

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142854 13f79535-47bb-0310-9956-ffa450edef68

18 years agoCome current
Ted Nathan Husted [Mon, 29 Mar 2004 00:53:28 +0000 (00:53 +0000)] 
Come current

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142853 13f79535-47bb-0310-9956-ffa450edef68

18 years agoRefactor class and packages naming.
Ted Nathan Husted [Mon, 29 Mar 2004 00:52:22 +0000 (00:52 +0000)] 
Refactor class and packages naming.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142852 13f79535-47bb-0310-9956-ffa450edef68

18 years agoRemove obsolete file (using version under Struts example)
Ted Nathan Husted [Mon, 29 Mar 2004 00:49:38 +0000 (00:49 +0000)] 
Remove obsolete file (using version under Struts example)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142851 13f79535-47bb-0310-9956-ffa450edef68

18 years agoRefactor MailReader and related classes
Ted Nathan Husted [Sun, 28 Mar 2004 03:20:56 +0000 (03:20 +0000)] 
Refactor MailReader and related classes

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142850 13f79535-47bb-0310-9956-ffa450edef68

18 years agoExtend design of CommandAction
Ted Nathan Husted [Sat, 27 Mar 2004 18:21:30 +0000 (18:21 +0000)] 
Extend design of CommandAction

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142849 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd test and code for LocaleCommand
Ted Nathan Husted [Sat, 27 Mar 2004 03:58:02 +0000 (03:58 +0000)] 
Add test and code for LocaleCommand

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142848 13f79535-47bb-0310-9956-ffa450edef68

18 years agoRename ActionContext as Helper objects.
Ted Nathan Husted [Sat, 27 Mar 2004 03:56:20 +0000 (03:56 +0000)] 
Rename ActionContext as Helper objects.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142847 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd Junit dependency for testing.
Ted Nathan Husted [Fri, 26 Mar 2004 18:22:41 +0000 (18:22 +0000)] 
Add Junit dependency for testing.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142846 13f79535-47bb-0310-9956-ffa450edef68

18 years agoInterpose interface for ActionContext; clean up comments; add Locale method.
Ted Nathan Husted [Fri, 26 Mar 2004 18:21:48 +0000 (18:21 +0000)] 
Interpose interface for ActionContext; clean up comments; add Locale method.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142845 13f79535-47bb-0310-9956-ffa450edef68

18 years agoInitial import of MailReader Example application for Commons Chain
Ted Nathan Husted [Thu, 25 Mar 2004 12:42:04 +0000 (12:42 +0000)] 
Initial import of MailReader Example application for Commons Chain

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142844 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd status subsection around status
Stephen Colebourne [Sat, 28 Feb 2004 17:21:11 +0000 (17:21 +0000)] 
Add status subsection around status

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142843 13f79535-47bb-0310-9956-ffa450edef68

18 years agoChange to Apache License 2.0
Stephen Colebourne [Wed, 25 Feb 2004 00:01:07 +0000 (00:01 +0000)] 
Change to Apache License 2.0

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142842 13f79535-47bb-0310-9956-ffa450edef68

18 years agoTidy formatting
Ted Nathan Husted [Fri, 9 Jan 2004 03:32:53 +0000 (03:32 +0000)] 
Tidy formatting

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142841 13f79535-47bb-0310-9956-ffa450edef68

18 years agoUpdate portlet and jsf dependencies; migrate deprecated id element to groupId and...
Ted Nathan Husted [Fri, 9 Jan 2004 03:32:07 +0000 (03:32 +0000)] 
Update portlet and jsf dependencies; migrate deprecated id element to groupId and artifactId

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142840 13f79535-47bb-0310-9956-ffa450edef68

18 years agoUpdate for current jsf-1.0-beta release.
Ted Nathan Husted [Fri, 9 Jan 2004 03:29:41 +0000 (03:29 +0000)] 
Update for current jsf-1.0-beta release.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142839 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd imports for class names used in {@link ...} tags in the Javadocs, to
Craig R. McClanahan [Sun, 9 Nov 2003 01:57:21 +0000 (01:57 +0000)] 
Add imports for class names used in {@link ...} tags in the Javadocs, to
avoid warning messages from the javadoc tool in 1.4.2.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142838 13f79535-47bb-0310-9956-ffa450edef68

18 years agoDeal correctly with null passed in as the "resources" parameter value (which
Craig R. McClanahan [Sun, 9 Nov 2003 01:51:51 +0000 (01:51 +0000)] 
Deal correctly with null passed in as the "resources" parameter value (which
the Javadocs say is perfectly legal).

Submitted by:  Jeff Caddel <jcaddel at cox.net>

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142837 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd minimal Mavenisation, so that we can create a web site. The main page
Martin Cooper [Thu, 23 Oct 2003 06:27:40 +0000 (06:27 +0000)] 
Add minimal Mavenisation, so that we can create a web site. The main page
is pretty much the same as the 'Rationale' section of the initial proposal,
with minor changes. (Thanks, Craig!) The download page was borrowed from
Commons FileUpload.

IMPORTANT NOTE: I deliberately did NOT include incl_nav.xml in the nav menu
because that seems to push project-specific pages to the very bottom of the
menu, which, IMHO, is a *very bad thing*.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142836 13f79535-47bb-0310-9956-ffa450edef68

18 years agoCheckstyle cleanup.
Martin Cooper [Wed, 22 Oct 2003 06:21:24 +0000 (06:21 +0000)] 
Checkstyle cleanup.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142835 13f79535-47bb-0310-9956-ffa450edef68

18 years agoRemove unused imports & trailing whitespace.
Martin Cooper [Tue, 21 Oct 2003 15:55:10 +0000 (15:55 +0000)] 
Remove unused imports & trailing whitespace.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142834 13f79535-47bb-0310-9956-ffa450edef68

18 years agoFix log class name.
Martin Cooper [Mon, 20 Oct 2003 17:12:07 +0000 (17:12 +0000)] 
Fix log class name.

PR: 23940
Submitted by: Otis Gospodnetic

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142833 13f79535-47bb-0310-9956-ffa450edef68

18 years agoRemove unused imports.
Martin Cooper [Mon, 20 Oct 2003 05:25:41 +0000 (05:25 +0000)] 
Remove unused imports.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142832 13f79535-47bb-0310-9956-ffa450edef68

18 years agoReplace tabs with spaces.
Martin Cooper [Sat, 18 Oct 2003 05:30:19 +0000 (05:30 +0000)] 
Replace tabs with spaces.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142831 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd myself as a committer.
Martin Cooper [Sat, 18 Oct 2003 05:28:58 +0000 (05:28 +0000)] 
Add myself as a committer.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142830 13f79535-47bb-0310-9956-ffa450edef68

18 years agoFixed types in apache licenses
Robert Burrell Donkin [Sun, 12 Oct 2003 09:11:53 +0000 (09:11 +0000)] 
Fixed types in apache licenses

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142829 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd a simple servlet that lets you dispatch incoming requests to an
Craig R. McClanahan [Fri, 10 Oct 2003 03:55:51 +0000 (03:55 +0000)] 
Add a simple servlet that lets you dispatch incoming requests to an
appropriate chain.  Three sample mapping commands (by path info,
extension matching, or a named request parameter) were checked in earlier.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142828 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd a trio of useful Command implementations suitable for use as the
Craig R. McClanahan [Sun, 5 Oct 2003 03:02:34 +0000 (03:02 +0000)] 
Add a trio of useful Command implementations suitable for use as the
"default" command to be executed by CommandProcessor.  They support
mapping of an incoming request to a particular command based on the
extra path information (PathInfoMapper), a specified request parameter
value (RequsetParameterMapper), or the servlet path information
(ServletPathMapper) from the incoming request.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142827 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMerge configuration from class loader resources (as well as webapp
Craig R. McClanahan [Sat, 4 Oct 2003 22:54:10 +0000 (22:54 +0000)] 
Merge configuration from class loader resources (as well as webapp
resources) from ChainListener2 into ChainListener.

Correct ChainListener so that it doesn't complain about JAR files in
/WEB-INF/lib that do not have a META-INF/chain-config.xml resource.

Unify the behavior and configuration parameter names for ChainListener
and ChainServlet so that they behave similarly (except that ChainListener
will also scan JAR files).

ChainServlet uses *servlet* init parameters, while ChainListener uses
*context* init parameters, so they can both be used in the same webapp
if desired (for example, multiple instances of ChainServlet could be
used to initialize different catalogs.

TODO:  Unit tests to verify correct behavior.

TODO:  Subclass of ChainServlet that dispatches requests to a named command
in the default catalog, for stand alone testing and/or a "poor man's
MVC controller" environments.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142826 13f79535-47bb-0310-9956-ffa450edef68

19 years agoContextListener that loads resoruces from classpath on demand.
Ted Nathan Husted [Wed, 1 Oct 2003 17:04:02 +0000 (17:04 +0000)] 
ContextListener that loads resoruces from classpath on demand.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142825 13f79535-47bb-0310-9956-ffa450edef68

19 years agoConform license and Javadoc; no code changes.
Ted Nathan Husted [Wed, 1 Oct 2003 12:41:07 +0000 (12:41 +0000)] 
Conform license and Javadoc; no code changes.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142824 13f79535-47bb-0310-9956-ffa450edef68

19 years agoConform license.
Ted Nathan Husted [Wed, 1 Oct 2003 12:32:03 +0000 (12:32 +0000)] 
Conform license.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142823 13f79535-47bb-0310-9956-ffa450edef68

19 years agoCorrect copyright date.
Ted Nathan Husted [Wed, 1 Oct 2003 12:31:50 +0000 (12:31 +0000)] 
Correct copyright date.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142822 13f79535-47bb-0310-9956-ffa450edef68

19 years agoTweak the build.xml "compile.tests" target to represent that Digester depends on...
Ted Nathan Husted [Wed, 1 Oct 2003 12:28:01 +0000 (12:28 +0000)] 
Tweak the build.xml "compile.tests" target to represent  that Digester depends on BeanUtils and Collections also being present.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142821 13f79535-47bb-0310-9956-ffa450edef68

19 years agoUpdate sample properties file for beanutils and collections libraries.
Craig R. McClanahan [Wed, 1 Oct 2003 04:25:35 +0000 (04:25 +0000)] 
Update sample properties file for beanutils and collections libraries.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/chain/trunk@142820 13f79535-47bb-0310-9956-ffa450edef68