antonio 2004/02/11 02:43:32
Modified: src/blocks/woody/java/org/apache/cocoon/woody/formmodel BooleanFieldDefinition.java AggregateFieldDefinition.java MessagesDefinitionBuilder.java FieldDefinition.java UnionDefinition.java CannotYetResolveWarning.java ActionDefinitionBuilder.java AbstractContainerDefinition.java Union.java Messages.java Struct.java BooleanField.java AbstractDatatypeWidgetDefinition.java ContainerDefinition.java AbstractWidget.java OutputDefinition.java FieldDefinitionBuilder.java ExpressionContextImpl.java OutputDefinitionBuilder.java ButtonDefinitionBuilder.java FormDefinitionBuilder.java AbstractWidgetDefinition.java ClassDefinitionBuilder.java StructDefinitionBuilder.java MultiValueField.java DuplicateIdException.java SelectableWidget.java ClassDefinition.java MessagesDefinition.java NewDefinition.java Output.java Repeater.java MultiValueFieldDefinitionBuilder.java StructDefinition.java AbstractContainerWidget.java RepeaterDefinitionBuilder.java AbstractDatatypeWidgetDefinitionBuilder.java AbstractWidgetDefinitionBuilder.java MultiValueFieldDefinition.java ActionDefinition.java ContainerDefinitionDelegate.java BooleanFieldDefinitionBuilder.java AggregateFieldDefinitionBuilder.java NewDefinitionBuilder.java FormDefinition.java ContainerWidget.java UnionDefinitionBuilder.java Action.java ContainerDelegate.java RepeaterDefinition.java DataWidget.java src/blocks/woody/java/org/apache/cocoon/woody/samples Form2Bean.java InitForm1Action.java Form1Handler.java Contact.java src/blocks/woody/java/org/apache/cocoon/woody/samples/bindings LenientNotOKBean.java ValuesBean.java LenientBaseBean.java LenientOKBean.java src/blocks/woody/java/org/apache/cocoon/woody/util SimpleServiceSelector.java StringMessage.java src/blocks/woody/java/org/apache/cocoon/woody/flow/javascript Woody.java ScriptableWidget.java src/blocks/woody/java/org/apache/cocoon/woody/flow/javascript/v2 ScriptableWidget.java src/blocks/woody/java/org/apache/cocoon/woody/transformation EffectPipe.java src/blocks/woody/java/org/apache/cocoon/woody/generation WoodyGenerator.java src/blocks/woody/java/org/apache/cocoon/woody/expression ExpressionManager.java Log: Adding @version to files + Add license to 2 files. Revision Changes Path 1.3 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/BooleanFieldDefinition.java Index: BooleanFieldDefinition.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/BooleanFieldDefinition.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- BooleanFieldDefinition.java 24 Sep 2003 20:47:06 -0000 1.2 +++ BooleanFieldDefinition.java 11 Feb 2004 10:43:30 -0000 1.3 @@ -56,6 +56,8 @@ /** * The [EMAIL PROTECTED] WidgetDefinition} part of a BooleanField widget, see [EMAIL PROTECTED] BooleanField} for more information. + * + * @version $Id$ */ public class BooleanFieldDefinition extends AbstractWidgetDefinition { private ValueChangedListener listener; 1.6 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/AggregateFieldDefinition.java Index: AggregateFieldDefinition.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/AggregateFieldDefinition.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- AggregateFieldDefinition.java 5 Feb 2004 21:37:47 -0000 1.5 +++ AggregateFieldDefinition.java 11 Feb 2004 10:43:30 -0000 1.6 @@ -61,6 +61,8 @@ /** * The [EMAIL PROTECTED] WidgetDefinition} part of a AggregateField widget, see [EMAIL PROTECTED] AggregateField} for more information. + * + * @version $Id$ */ public class AggregateFieldDefinition extends AbstractWidgetDefinition { private Expression combineExpr; 1.3 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/MessagesDefinitionBuilder.java Index: MessagesDefinitionBuilder.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/MessagesDefinitionBuilder.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- MessagesDefinitionBuilder.java 19 Dec 2003 21:28:39 -0000 1.2 +++ MessagesDefinitionBuilder.java 11 Feb 2004 10:43:30 -0000 1.3 @@ -54,6 +54,8 @@ /** * Builds [EMAIL PROTECTED] MessagesDefinition}s. + * + * @version $Id$ */ public class MessagesDefinitionBuilder extends AbstractWidgetDefinitionBuilder { public WidgetDefinition buildWidgetDefinition(Element widgetElement) throws Exception { 1.3 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/FieldDefinition.java Index: FieldDefinition.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/FieldDefinition.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- FieldDefinition.java 28 Jul 2003 15:57:15 -0000 1.2 +++ FieldDefinition.java 11 Feb 2004 10:43:30 -0000 1.3 @@ -52,6 +52,8 @@ /** * The [EMAIL PROTECTED] WidgetDefinition} part of a Field widget, see [EMAIL PROTECTED] Field} for more information. + * + * @version $Id$ */ public class FieldDefinition extends AbstractDatatypeWidgetDefinition { private boolean required; 1.3 +1 -1 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/UnionDefinition.java Index: UnionDefinition.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/UnionDefinition.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- UnionDefinition.java 29 Dec 2003 17:52:12 -0000 1.2 +++ UnionDefinition.java 11 Feb 2004 10:43:30 -0000 1.3 @@ -54,8 +54,8 @@ /** * The [EMAIL PROTECTED] WidgetDefinition} corresponding to a [EMAIL PROTECTED] Union} widget. * - * CVS $Id$ * @author Timothy Larson + * @version $Id$ */ public class UnionDefinition extends AbstractContainerDefinition { private String caseWidgetId; 1.2 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/CannotYetResolveWarning.java Index: CannotYetResolveWarning.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/CannotYetResolveWarning.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- CannotYetResolveWarning.java 22 Apr 2003 12:04:19 -0000 1.1 +++ CannotYetResolveWarning.java 11 Feb 2004 10:43:30 -0000 1.2 @@ -54,6 +54,8 @@ * This exception is thrown by [EMAIL PROTECTED] ExpressionContextImpl} when it asked for * the value of a required field, when that required field does not yet have * a value. + * + * @version $Id$ */ public class CannotYetResolveWarning extends RuntimeException { public String getMessage() { 1.6 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/ActionDefinitionBuilder.java Index: ActionDefinitionBuilder.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/ActionDefinitionBuilder.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- ActionDefinitionBuilder.java 19 Dec 2003 21:28:39 -0000 1.5 +++ ActionDefinitionBuilder.java 11 Feb 2004 10:43:30 -0000 1.6 @@ -58,6 +58,8 @@ /** * Builds [EMAIL PROTECTED] ActionDefinition}s. + * + * @version $Id$ */ public class ActionDefinitionBuilder extends AbstractWidgetDefinitionBuilder { public WidgetDefinition buildWidgetDefinition(Element widgetElement) throws Exception { 1.3 +1 -1 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/AbstractContainerDefinition.java Index: AbstractContainerDefinition.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/AbstractContainerDefinition.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- AbstractContainerDefinition.java 6 Feb 2004 16:06:32 -0000 1.2 +++ AbstractContainerDefinition.java 11 Feb 2004 10:43:30 -0000 1.3 @@ -56,8 +56,8 @@ /** * The [EMAIL PROTECTED] AbstractContainerDefinition} corresponding to an [EMAIL PROTECTED] AbstractContainerWidget}. * - * CVS $Id$ * @author Timothy Larson + * @version $Id$ */ public abstract class AbstractContainerDefinition extends AbstractWidgetDefinition implements ContainerDefinition { 1.3 +1 -1 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/Union.java Index: Union.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/Union.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Union.java 23 Jan 2004 13:56:46 -0000 1.2 +++ Union.java 11 Feb 2004 10:43:30 -0000 1.3 @@ -63,8 +63,8 @@ * for the widget id, just wrap the widget(s) in a container widget named * with the desired case id. * - * CVS $Id$ * @author Timothy Larson + * @version $Id$ */ public class Union extends AbstractContainerWidget { private static final String ELEMENT = "field"; 1.3 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/Messages.java Index: Messages.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/Messages.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Messages.java 19 Dec 2003 21:28:39 -0000 1.2 +++ Messages.java 11 Feb 2004 10:43:30 -0000 1.3 @@ -67,6 +67,8 @@ * * <p>This widget is typically used to communicate extra validation errors or other messages * to the user, that aren't associated with any other widget in particular. + * + * @version $Id$ */ public class Messages extends AbstractWidget { private ArrayList messages = new ArrayList(); 1.2 +1 -1 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/Struct.java Index: Struct.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/Struct.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Struct.java 29 Dec 2003 06:14:49 -0000 1.1 +++ Struct.java 11 Feb 2004 10:43:30 -0000 1.2 @@ -58,8 +58,8 @@ /** * A container [EMAIL PROTECTED] Widget} which can hold zero or more child widgets. * - * CVS $Id$ * @author Timothy Larson + * @version $Id$ */ public class Struct extends AbstractContainerWidget { private static final String ELEMENT = "struct"; 1.10 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/BooleanField.java Index: BooleanField.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/BooleanField.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- BooleanField.java 4 Feb 2004 17:25:57 -0000 1.9 +++ BooleanField.java 11 Feb 2004 10:43:30 -0000 1.10 @@ -70,6 +70,8 @@ * has no purpose here (there would always be only 2 choices: true or false), * and the manner in which the request parameter of this widget is interpreted * is different (missing or empty request parameter means 'false', rather than null value). + * + * @version $Id$ */ public class BooleanField extends AbstractWidget { // FIXME(SW) : should the initial value be false or null ? This would allow 1.7 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/AbstractDatatypeWidgetDefinition.java Index: AbstractDatatypeWidgetDefinition.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/AbstractDatatypeWidgetDefinition.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- AbstractDatatypeWidgetDefinition.java 15 Nov 2003 04:21:30 -0000 1.6 +++ AbstractDatatypeWidgetDefinition.java 11 Feb 2004 10:43:30 -0000 1.7 @@ -63,6 +63,8 @@ /** * Base class for WidgetDefinitions that use a Datatype and SelectionList. + * + * @version $Id$ */ public abstract class AbstractDatatypeWidgetDefinition extends AbstractWidgetDefinition implements Serviceable { private Datatype datatype; 1.3 +1 -1 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/ContainerDefinition.java Index: ContainerDefinition.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/ContainerDefinition.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ContainerDefinition.java 29 Dec 2003 17:52:12 -0000 1.2 +++ ContainerDefinition.java 11 Feb 2004 10:43:30 -0000 1.3 @@ -56,8 +56,8 @@ /** * Interface to be implemented by WidgetDefinitions for Widgets which contain other widgets. * - * CVS $Id$ * @author Timothy Larson + * @version $Id$ */ public interface ContainerDefinition extends WidgetDefinition { 1.10 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/AbstractWidget.java Index: AbstractWidget.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/AbstractWidget.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- AbstractWidget.java 4 Feb 2004 17:25:57 -0000 1.9 +++ AbstractWidget.java 11 Feb 2004 10:43:30 -0000 1.10 @@ -66,6 +66,8 @@ /** * Abstract base class for Widget implementations. Provides functionality * common to many widgets. + * + * @version $Id$ */ public abstract class AbstractWidget implements Widget { private String location; 1.2 +52 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/OutputDefinition.java Index: OutputDefinition.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/OutputDefinition.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- OutputDefinition.java 12 Aug 2003 12:54:45 -0000 1.1 +++ OutputDefinition.java 11 Feb 2004 10:43:30 -0000 1.2 @@ -1,7 +1,59 @@ +/* + + ============================================================================ + 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 modifica- + tion, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + 3. The end-user documentation included with the redistribution, if any, must + include the following acknowledgment: "This product includes software + developed by the Apache Software Foundation (http://www.apache.org/)." + Alternately, this acknowledgment may appear in the software itself, if + and wherever such third-party acknowledgments normally appear. + + 4. The names "Apache Cocoon" and "Apache Software Foundation" must not be + used to endorse or promote products derived from this software without + prior written permission. For written permission, please contact + [EMAIL PROTECTED] + + 5. Products derived from this software may not be called "Apache", nor may + "Apache" appear in their name, without prior written permission of the + Apache Software Foundation. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU- + DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + This software consists of voluntary contributions made by many individuals + on behalf of the Apache Software Foundation and was originally created by + Stefano Mazzocchi <[EMAIL PROTECTED]>. For more information on the Apache + Software Foundation, please see <http://www.apache.org/>. + + */ package org.apache.cocoon.woody.formmodel; /** * The [EMAIL PROTECTED] WidgetDefinition} part of a [EMAIL PROTECTED] Output} widget. + * + * @version $Id$ */ public class OutputDefinition extends AbstractDatatypeWidgetDefinition { public Widget createInstance() { 1.8 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/FieldDefinitionBuilder.java Index: FieldDefinitionBuilder.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/FieldDefinitionBuilder.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- FieldDefinitionBuilder.java 4 Feb 2004 17:25:57 -0000 1.7 +++ FieldDefinitionBuilder.java 11 Feb 2004 10:43:30 -0000 1.8 @@ -60,6 +60,8 @@ /** * Builds {FieldDefinition}s. + * + * @version $Id$ */ public class FieldDefinitionBuilder extends AbstractDatatypeWidgetDefinitionBuilder { 1.5 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/ExpressionContextImpl.java Index: ExpressionContextImpl.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/ExpressionContextImpl.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- ExpressionContextImpl.java 31 Oct 2003 09:48:52 -0000 1.4 +++ ExpressionContextImpl.java 11 Feb 2004 10:43:30 -0000 1.5 @@ -57,6 +57,8 @@ /** * Implementation of the ExpressionContext required for the evaluation of * expressions by xReporter expression interpreter. + * + * @version $Id$ */ public class ExpressionContextImpl implements ExpressionContext { private Widget widget; 1.4 +53 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/OutputDefinitionBuilder.java Index: OutputDefinitionBuilder.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/OutputDefinitionBuilder.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- OutputDefinitionBuilder.java 19 Dec 2003 21:28:39 -0000 1.3 +++ OutputDefinitionBuilder.java 11 Feb 2004 10:43:30 -0000 1.4 @@ -1,3 +1,54 @@ +/* + + ============================================================================ + 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 modifica- + tion, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + 3. The end-user documentation included with the redistribution, if any, must + include the following acknowledgment: "This product includes software + developed by the Apache Software Foundation (http://www.apache.org/)." + Alternately, this acknowledgment may appear in the software itself, if + and wherever such third-party acknowledgments normally appear. + + 4. The names "Apache Cocoon" and "Apache Software Foundation" must not be + used to endorse or promote products derived from this software without + prior written permission. For written permission, please contact + [EMAIL PROTECTED] + + 5. Products derived from this software may not be called "Apache", nor may + "Apache" appear in their name, without prior written permission of the + Apache Software Foundation. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU- + DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + This software consists of voluntary contributions made by many individuals + on behalf of the Apache Software Foundation and was originally created by + Stefano Mazzocchi <[EMAIL PROTECTED]>. For more information on the Apache + Software Foundation, please see <http://www.apache.org/>. + + */ + package org.apache.cocoon.woody.formmodel; import org.w3c.dom.Element; @@ -7,6 +58,8 @@ /** * Builds [EMAIL PROTECTED] OutputDefinition}s. + * + * @version $Id$ */ public class OutputDefinitionBuilder extends AbstractDatatypeWidgetDefinitionBuilder { public WidgetDefinition buildWidgetDefinition(Element widgetElement) throws Exception { 1.4 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/ButtonDefinitionBuilder.java Index: ButtonDefinitionBuilder.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/ButtonDefinitionBuilder.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- ButtonDefinitionBuilder.java 3 Sep 2003 08:25:38 -0000 1.3 +++ ButtonDefinitionBuilder.java 11 Feb 2004 10:43:30 -0000 1.4 @@ -56,6 +56,8 @@ /** * The ButtonDefinitionBuilder has been replaced by [EMAIL PROTECTED] ActionDefinitionBuilder}. This implementation * is only left here to give a warning to users. + * + * @version $Id$ */ public class ButtonDefinitionBuilder implements WidgetDefinitionBuilder { public WidgetDefinition buildWidgetDefinition(Element widgetElement) throws Exception { 1.8 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/FormDefinitionBuilder.java Index: FormDefinitionBuilder.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/FormDefinitionBuilder.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- FormDefinitionBuilder.java 4 Feb 2004 17:25:57 -0000 1.7 +++ FormDefinitionBuilder.java 11 Feb 2004 10:43:30 -0000 1.8 @@ -56,6 +56,8 @@ /** * Builds [EMAIL PROTECTED] FormDefinition}s. + * + * @version $Id$ */ public class FormDefinitionBuilder extends AbstractWidgetDefinitionBuilder { 1.8 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/AbstractWidgetDefinition.java Index: AbstractWidgetDefinition.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/AbstractWidgetDefinition.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- AbstractWidgetDefinition.java 4 Feb 2004 18:07:51 -0000 1.7 +++ AbstractWidgetDefinition.java 11 Feb 2004 10:43:30 -0000 1.8 @@ -64,6 +64,8 @@ /** * Provides functionality that is common across many WidgetDefinition implementations. + * + * @version $Id$ */ public abstract class AbstractWidgetDefinition implements WidgetDefinition { private FormDefinition formDefinition; 1.3 +1 -1 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/ClassDefinitionBuilder.java Index: ClassDefinitionBuilder.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/ClassDefinitionBuilder.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ClassDefinitionBuilder.java 4 Feb 2004 17:25:57 -0000 1.2 +++ ClassDefinitionBuilder.java 11 Feb 2004 10:43:30 -0000 1.3 @@ -57,8 +57,8 @@ /** * Builds {ClassDefinition}s. * - * CVS $Id$ * @author Timothy Larson + * @version $Id$ */ public class ClassDefinitionBuilder extends AbstractWidgetDefinitionBuilder { 1.3 +1 -1 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/StructDefinitionBuilder.java Index: StructDefinitionBuilder.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/StructDefinitionBuilder.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- StructDefinitionBuilder.java 4 Feb 2004 17:25:57 -0000 1.2 +++ StructDefinitionBuilder.java 11 Feb 2004 10:43:30 -0000 1.3 @@ -57,8 +57,8 @@ /** * Builds {StructDefinition}s. * - * CVS $Id$ * @author Timothy Larson + * @version $Id$ */ public class StructDefinitionBuilder extends AbstractWidgetDefinitionBuilder { 1.16 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/MultiValueField.java Index: MultiValueField.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/MultiValueField.java,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- MultiValueField.java 10 Feb 2004 23:35:32 -0000 1.15 +++ MultiValueField.java 11 Feb 2004 10:43:30 -0000 1.16 @@ -78,6 +78,8 @@ * always return true, and this in return has an influence on the kind of validation rules that * can be used with the Datatype (see [EMAIL PROTECTED] org.apache.cocoon.woody.datatype.Datatype Datatype} * description for more information). + * + * @version $Id$ */ public class MultiValueField extends AbstractWidget implements ValidationErrorAware, SelectableWidget { private SelectionList selectionList; 1.2 +3 -1 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/DuplicateIdException.java Index: DuplicateIdException.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/DuplicateIdException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- DuplicateIdException.java 22 Apr 2003 12:04:19 -0000 1.1 +++ DuplicateIdException.java 11 Feb 2004 10:43:30 -0000 1.2 @@ -54,7 +54,9 @@ * This exception is thrown by WidgetDefinitions that contain other WidgetDefinitions, * such as the [EMAIL PROTECTED] FormDefinition} or the [EMAIL PROTECTED] RepeaterDefinition}, in case * one tries to add a WidgetDefinition that has the same id as another, - * previously added, WidgetDefinition.. + * previously added, WidgetDefinition. + * + * @version $Id$ */ public class DuplicateIdException extends Exception { public DuplicateIdException(String message) { 1.2 +4 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/SelectableWidget.java Index: SelectableWidget.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/SelectableWidget.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- SelectableWidget.java 10 Feb 2004 23:35:32 -0000 1.1 +++ SelectableWidget.java 11 Feb 2004 10:43:30 -0000 1.2 @@ -52,6 +52,10 @@ import org.apache.cocoon.woody.datatype.SelectionList; +/** + * @version $Id$ + * + */ public interface SelectableWidget extends Widget { public void setSelectionList(SelectionList selectionList); 1.2 +1 -1 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/ClassDefinition.java Index: ClassDefinition.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/ClassDefinition.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ClassDefinition.java 29 Dec 2003 06:14:49 -0000 1.1 +++ ClassDefinition.java 11 Feb 2004 10:43:30 -0000 1.2 @@ -54,8 +54,8 @@ * A [EMAIL PROTECTED] WidgetDefinition} which holds a collection of [EMAIL PROTECTED] Widget}s * and which can be instantiated with a [EMAIL PROTECTED] NewDefinition}. * - * CVS $Id$ * @author Timothy Larson + * @version $Id$ */ public class ClassDefinition extends AbstractContainerDefinition { public Widget createInstance() { 1.2 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/MessagesDefinition.java Index: MessagesDefinition.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/MessagesDefinition.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- MessagesDefinition.java 14 Nov 2003 09:44:40 -0000 1.1 +++ MessagesDefinition.java 11 Feb 2004 10:43:30 -0000 1.2 @@ -52,6 +52,8 @@ /** * The [EMAIL PROTECTED] WidgetDefinition} part of a Messages widget, see [EMAIL PROTECTED] Messages} for more information. + * + * @version $Id$ */ public class MessagesDefinition extends AbstractWidgetDefinition { public Widget createInstance() { 1.2 +1 -1 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/NewDefinition.java Index: NewDefinition.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/NewDefinition.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- NewDefinition.java 29 Dec 2003 06:14:49 -0000 1.1 +++ NewDefinition.java 11 Feb 2004 10:43:30 -0000 1.2 @@ -60,8 +60,8 @@ * [EMAIL PROTECTED] ClassDefinition}. The resolve step replaces this definition with * the definitions contained in the referenced [EMAIL PROTECTED] ClassDefinition}. * - * CVS $Id$ * @author Timothy Larson + * @version $Id$ */ public class NewDefinition extends AbstractWidgetDefinition { private boolean resolving; 1.8 +52 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/Output.java Index: Output.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/Output.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- Output.java 10 Feb 2004 23:35:32 -0000 1.7 +++ Output.java 11 Feb 2004 10:43:30 -0000 1.8 @@ -1,3 +1,53 @@ +/* + + ============================================================================ + 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 modifica- + tion, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + 3. The end-user documentation included with the redistribution, if any, must + include the following acknowledgment: "This product includes software + developed by the Apache Software Foundation (http://www.apache.org/)." + Alternately, this acknowledgment may appear in the software itself, if + and wherever such third-party acknowledgments normally appear. + + 4. The names "Apache Cocoon" and "Apache Software Foundation" must not be + used to endorse or promote products derived from this software without + prior written permission. For written permission, please contact + [EMAIL PROTECTED] + + 5. Products derived from this software may not be called "Apache", nor may + "Apache" appear in their name, without prior written permission of the + Apache Software Foundation. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU- + DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + This software consists of voluntary contributions made by many individuals + on behalf of the Apache Software Foundation and was originally created by + Stefano Mazzocchi <[EMAIL PROTECTED]>. For more information on the Apache + Software Foundation, please see <http://www.apache.org/>. + + */ package org.apache.cocoon.woody.formmodel; import org.apache.cocoon.woody.FormContext; @@ -15,6 +65,8 @@ * [EMAIL PROTECTED] org.apache.cocoon.woody.datatype.Datatype Datatype}. * * <p>An Output widget is always valid and never required. + * + * @version $Id$ */ public class Output extends AbstractWidget implements DataWidget { private OutputDefinition definition; 1.18 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/Repeater.java Index: Repeater.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/Repeater.java,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- Repeater.java 4 Feb 2004 17:25:57 -0000 1.17 +++ Repeater.java 11 Feb 2004 10:43:30 -0000 1.18 @@ -69,6 +69,8 @@ * * <p>Using the methods [EMAIL PROTECTED] #getSize} and [EMAIL PROTECTED] #getWidget(int, java.lang.String)} * you can access all of the repeated widget instances. + * + * @version $Id$ */ public class Repeater extends AbstractWidget implements ContainerWidget { private RepeaterDefinition repeaterDefinition; 1.8 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/MultiValueFieldDefinitionBuilder.java Index: MultiValueFieldDefinitionBuilder.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/MultiValueFieldDefinitionBuilder.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- MultiValueFieldDefinitionBuilder.java 4 Feb 2004 17:25:57 -0000 1.7 +++ MultiValueFieldDefinitionBuilder.java 11 Feb 2004 10:43:30 -0000 1.8 @@ -60,6 +60,8 @@ /** * Builds [EMAIL PROTECTED] MultiValueFieldDefinition}s. + * + * @version $Id$ */ public class MultiValueFieldDefinitionBuilder extends AbstractDatatypeWidgetDefinitionBuilder { public WidgetDefinition buildWidgetDefinition(Element widgetElement) throws Exception { 1.2 +1 -1 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/StructDefinition.java Index: StructDefinition.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/StructDefinition.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- StructDefinition.java 29 Dec 2003 06:14:49 -0000 1.1 +++ StructDefinition.java 11 Feb 2004 10:43:30 -0000 1.2 @@ -53,8 +53,8 @@ /** * The [EMAIL PROTECTED] WidgetDefinition} corresponding to a [EMAIL PROTECTED] Struct} widget. * - * CVS $Id$ * @author Timothy Larson + * @version $Id$ */ public class StructDefinition extends AbstractContainerDefinition { 1.5 +1 -1 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/AbstractContainerWidget.java Index: AbstractContainerWidget.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/AbstractContainerWidget.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- AbstractContainerWidget.java 4 Feb 2004 17:25:57 -0000 1.4 +++ AbstractContainerWidget.java 11 Feb 2004 10:43:30 -0000 1.5 @@ -61,8 +61,8 @@ /** * A general-purpose abstract Widget which can hold zero or more widgets. * - * CVS $Id$ * @author Timothy Larson + * @version $Id$ */ public abstract class AbstractContainerWidget extends AbstractWidget implements ContainerWidget { protected ContainerDelegate widgets; 1.9 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/RepeaterDefinitionBuilder.java Index: RepeaterDefinitionBuilder.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/RepeaterDefinitionBuilder.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- RepeaterDefinitionBuilder.java 4 Feb 2004 17:25:57 -0000 1.8 +++ RepeaterDefinitionBuilder.java 11 Feb 2004 10:43:30 -0000 1.9 @@ -56,6 +56,8 @@ /** * Builds [EMAIL PROTECTED] RepeaterDefinition}s. + * + * @version $Id$ */ public class RepeaterDefinitionBuilder extends AbstractWidgetDefinitionBuilder { 1.6 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/AbstractDatatypeWidgetDefinitionBuilder.java Index: AbstractDatatypeWidgetDefinitionBuilder.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/AbstractDatatypeWidgetDefinitionBuilder.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- AbstractDatatypeWidgetDefinitionBuilder.java 9 Nov 2003 18:00:50 -0000 1.5 +++ AbstractDatatypeWidgetDefinitionBuilder.java 11 Feb 2004 10:43:30 -0000 1.6 @@ -59,6 +59,8 @@ /** * Abstract base class for WidgetDefinitionBuilders that build widgets that have datatypes/selection lists. + * + * @version $Id$ */ public abstract class AbstractDatatypeWidgetDefinitionBuilder extends AbstractWidgetDefinitionBuilder { 1.11 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/AbstractWidgetDefinitionBuilder.java Index: AbstractWidgetDefinitionBuilder.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/AbstractWidgetDefinitionBuilder.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- AbstractWidgetDefinitionBuilder.java 4 Feb 2004 18:07:51 -0000 1.10 +++ AbstractWidgetDefinitionBuilder.java 11 Feb 2004 10:43:30 -0000 1.11 @@ -77,6 +77,8 @@ /** * Abstract base class for WidgetDefinitionBuilders. Provides functionality * common to many implementations. + * + * @version $Id$ */ public abstract class AbstractWidgetDefinitionBuilder implements WidgetDefinitionBuilder, Serviceable, Disposable { protected ServiceSelector widgetDefinitionBuilderSelector; 1.2 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/MultiValueFieldDefinition.java Index: MultiValueFieldDefinition.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/MultiValueFieldDefinition.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- MultiValueFieldDefinition.java 22 Apr 2003 12:04:19 -0000 1.1 +++ MultiValueFieldDefinition.java 11 Feb 2004 10:43:30 -0000 1.2 @@ -52,6 +52,8 @@ /** * The [EMAIL PROTECTED] WidgetDefinition} part of a MultiValueField widget, see [EMAIL PROTECTED] MultiValueField} for more information. + * + * @version $Id$ */ public class MultiValueFieldDefinition extends FieldDefinition { public Widget createInstance() { 1.3 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/ActionDefinition.java Index: ActionDefinition.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/ActionDefinition.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ActionDefinition.java 24 Sep 2003 20:47:06 -0000 1.2 +++ ActionDefinition.java 11 Feb 2004 10:43:30 -0000 1.3 @@ -56,6 +56,8 @@ /** * The [EMAIL PROTECTED] WidgetDefinition} part of a Action widget, see [EMAIL PROTECTED] Action} for more information. + * + * @version $Id$ */ public class ActionDefinition extends AbstractWidgetDefinition { private String actionCommand; 1.3 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/ContainerDefinitionDelegate.java Index: ContainerDefinitionDelegate.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/ContainerDefinitionDelegate.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ContainerDefinitionDelegate.java 29 Dec 2003 06:14:49 -0000 1.2 +++ ContainerDefinitionDelegate.java 11 Feb 2004 10:43:30 -0000 1.3 @@ -61,6 +61,8 @@ /** * Helper class for the Definition implementation of widgets containing * other widgets. + * + * @version $Id$ */ public class ContainerDefinitionDelegate { private List widgetDefinitions = new ArrayList(); 1.6 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/BooleanFieldDefinitionBuilder.java Index: BooleanFieldDefinitionBuilder.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/BooleanFieldDefinitionBuilder.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- BooleanFieldDefinitionBuilder.java 19 Dec 2003 21:28:39 -0000 1.5 +++ BooleanFieldDefinitionBuilder.java 11 Feb 2004 10:43:30 -0000 1.6 @@ -57,6 +57,8 @@ /** * Builds [EMAIL PROTECTED] BooleanFieldDefinition}s. + * + * @version $Id$ */ public class BooleanFieldDefinitionBuilder extends AbstractWidgetDefinitionBuilder { public WidgetDefinition buildWidgetDefinition(Element widgetElement) throws Exception { 1.8 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/AggregateFieldDefinitionBuilder.java Index: AggregateFieldDefinitionBuilder.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/AggregateFieldDefinitionBuilder.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- AggregateFieldDefinitionBuilder.java 4 Feb 2004 17:25:57 -0000 1.7 +++ AggregateFieldDefinitionBuilder.java 11 Feb 2004 10:43:30 -0000 1.8 @@ -64,6 +64,8 @@ /** * Builds [EMAIL PROTECTED] AggregateFieldDefinition}s. + * + * @version $Id$ */ public class AggregateFieldDefinitionBuilder extends AbstractWidgetDefinitionBuilder { public WidgetDefinition buildWidgetDefinition(Element widgetElement) throws Exception { 1.2 +1 -1 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/NewDefinitionBuilder.java Index: NewDefinitionBuilder.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/NewDefinitionBuilder.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- NewDefinitionBuilder.java 29 Dec 2003 06:14:49 -0000 1.1 +++ NewDefinitionBuilder.java 11 Feb 2004 10:43:30 -0000 1.2 @@ -55,8 +55,8 @@ /** * Builds {NewDefinition}s. * - * CVS $Id$ * @author Timothy Larson + * @version $Id$ */ public class NewDefinitionBuilder extends AbstractWidgetDefinitionBuilder { 1.4 +4 -1 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/FormDefinition.java Index: FormDefinition.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/FormDefinition.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- FormDefinition.java 29 Dec 2003 06:14:49 -0000 1.3 +++ FormDefinition.java 11 Feb 2004 10:43:30 -0000 1.4 @@ -50,7 +50,8 @@ */ package org.apache.cocoon.woody.formmodel; -import java.util.*; +import java.util.ArrayList; +import java.util.List; import org.apache.cocoon.woody.event.ProcessingPhaseEvent; import org.apache.cocoon.woody.event.ProcessingPhaseListener; @@ -58,6 +59,8 @@ /** * The [EMAIL PROTECTED] WidgetDefinition} part of a Form widget, see [EMAIL PROTECTED] Form} for more information. + * + * @version $Id$ */ public class FormDefinition extends AbstractContainerDefinition { private ProcessingPhaseListener listener; 1.6 +1 -1 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/ContainerWidget.java Index: ContainerWidget.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/ContainerWidget.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- ContainerWidget.java 29 Jan 2004 16:36:17 -0000 1.5 +++ ContainerWidget.java 11 Feb 2004 10:43:30 -0000 1.6 @@ -54,8 +54,8 @@ /** * Interface to be implemented by Widgets which contain other widgets. * - * CVS $Id$ * @author Timothy Larson + * @version $Id$ */ public interface ContainerWidget extends Widget { 1.3 +1 -1 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/UnionDefinitionBuilder.java Index: UnionDefinitionBuilder.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/UnionDefinitionBuilder.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- UnionDefinitionBuilder.java 4 Feb 2004 17:25:57 -0000 1.2 +++ UnionDefinitionBuilder.java 11 Feb 2004 10:43:30 -0000 1.3 @@ -57,8 +57,8 @@ /** * Builds {UnionDefinition}s. * - * CVS $Id$ * @author Timothy Larson + * @version $Id$ */ public class UnionDefinitionBuilder extends AbstractWidgetDefinitionBuilder { 1.9 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/Action.java Index: Action.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/Action.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- Action.java 4 Feb 2004 17:25:57 -0000 1.8 +++ Action.java 11 Feb 2004 10:43:30 -0000 1.9 @@ -69,6 +69,8 @@ * or as a hidden field which gets its value set by javascript. The Action widget will generate its associated * ActionEvent when a requestparameter is present with as name the id of this Action widget, and as * value a non-empty value. + * + * @version $Id$ */ public class Action extends AbstractWidget { protected ActionDefinition definition; 1.4 +1 -1 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/ContainerDelegate.java Index: ContainerDelegate.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/ContainerDelegate.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- ContainerDelegate.java 6 Jan 2004 12:36:07 -0000 1.3 +++ ContainerDelegate.java 11 Feb 2004 10:43:30 -0000 1.4 @@ -65,8 +65,8 @@ /** * Helper class for the implementation of widgets containing other widgets. * - * CVS $Id$ * @author Timothy Larson + * @version $Id$ */ public class ContainerDelegate { // private WidgetDefinition definition; 1.6 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/RepeaterDefinition.java Index: RepeaterDefinition.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/RepeaterDefinition.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- RepeaterDefinition.java 29 Dec 2003 17:52:12 -0000 1.5 +++ RepeaterDefinition.java 11 Feb 2004 10:43:30 -0000 1.6 @@ -52,6 +52,8 @@ /** * The [EMAIL PROTECTED] WidgetDefinition} part of a Repeater widget, see [EMAIL PROTECTED] Repeater} for more information. + * + * @version $Id$ */ public class RepeaterDefinition extends AbstractContainerDefinition { private int initialSize = 0; 1.2 +4 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/DataWidget.java Index: DataWidget.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/DataWidget.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- DataWidget.java 10 Feb 2004 23:35:32 -0000 1.1 +++ DataWidget.java 11 Feb 2004 10:43:30 -0000 1.2 @@ -52,6 +52,10 @@ import org.apache.cocoon.woody.datatype.Datatype; +/** + * @version $Id$ + * + */ public interface DataWidget extends Widget { public Datatype getDatatype(); 1.5 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/samples/Form2Bean.java Index: Form2Bean.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/samples/Form2Bean.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- Form2Bean.java 6 Nov 2003 22:58:37 -0000 1.4 +++ Form2Bean.java 11 Feb 2004 10:43:32 -0000 1.5 @@ -56,6 +56,8 @@ /** * Sample bean used in the form2 binding demo. + * + * @version $Id$ */ public class Form2Bean { private String email; 1.5 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/samples/InitForm1Action.java Index: InitForm1Action.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/samples/InitForm1Action.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- InitForm1Action.java 15 Jul 2003 14:12:25 -0000 1.4 +++ InitForm1Action.java 11 Feb 2004 10:43:32 -0000 1.5 @@ -67,6 +67,8 @@ * An action that creates an instance of a specific example form included with Woody, * and adds some rows to its repeater widget. This example is meant to illustrate * how you can prepopulate a Form instance before its initial display. + * + * @version $Id$ */ public class InitForm1Action extends AbstractWoodyAction { public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) 1.6 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/samples/Form1Handler.java Index: Form1Handler.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/samples/Form1Handler.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- Form1Handler.java 31 Oct 2003 12:24:55 -0000 1.5 +++ Form1Handler.java 11 Feb 2004 10:43:32 -0000 1.6 @@ -57,6 +57,8 @@ /** * Example FormHandler for the "Form1" sample form. * This implementation currently doesn't do anything interesting. + * + * @version $Id$ */ public class Form1Handler extends AbstractFormHandler { public void handleActionEvent(ActionEvent actionEvent) { 1.3 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/samples/Contact.java Index: Contact.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/samples/Contact.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Contact.java 18 Sep 2003 20:17:03 -0000 1.2 +++ Contact.java 11 Feb 2004 10:43:32 -0000 1.3 @@ -52,6 +52,8 @@ /** * Contact belongs to the [EMAIL PROTECTED] Form2Bean} demo. + * + * @version $Id$ */ public class Contact { private long id; 1.2 +1 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/samples/bindings/LenientNotOKBean.java Index: LenientNotOKBean.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/samples/bindings/LenientNotOKBean.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- LenientNotOKBean.java 30 Dec 2003 17:27:30 -0000 1.1 +++ LenientNotOKBean.java 11 Feb 2004 10:43:32 -0000 1.2 @@ -9,6 +9,7 @@ /** * LenientNotOKBean + * @version $Id$ */ public class LenientNotOKBean extends LenientBaseBean{ 1.2 +1 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/samples/bindings/ValuesBean.java Index: ValuesBean.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/samples/bindings/ValuesBean.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ValuesBean.java 30 Dec 2003 17:27:30 -0000 1.1 +++ ValuesBean.java 11 Feb 2004 10:43:32 -0000 1.2 @@ -7,6 +7,7 @@ /** * ValuesBean used in the 01values test. + * @version $Id$ */ public class ValuesBean { private String simple = "Simple"; 1.2 +1 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/samples/bindings/LenientBaseBean.java Index: LenientBaseBean.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/samples/bindings/LenientBaseBean.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- LenientBaseBean.java 30 Dec 2003 17:27:30 -0000 1.1 +++ LenientBaseBean.java 11 Feb 2004 10:43:32 -0000 1.2 @@ -9,6 +9,7 @@ /** * LenientBaseBean + * @version $Id$ */ public class LenientBaseBean { protected String breakingField; 1.2 +1 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/samples/bindings/LenientOKBean.java Index: LenientOKBean.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/samples/bindings/LenientOKBean.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- LenientOKBean.java 30 Dec 2003 17:27:30 -0000 1.1 +++ LenientOKBean.java 11 Feb 2004 10:43:32 -0000 1.2 @@ -9,6 +9,7 @@ /** * LenientOKBean + * @version $Id$ */ public class LenientOKBean extends LenientBaseBean{ 1.6 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/util/SimpleServiceSelector.java Index: SimpleServiceSelector.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/util/SimpleServiceSelector.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- SimpleServiceSelector.java 31 Dec 2003 03:41:34 -0000 1.5 +++ SimpleServiceSelector.java 11 Feb 2004 10:43:32 -0000 1.6 @@ -68,6 +68,8 @@ /** * A very simple ServiceSelector for ThreadSafe services. + * + * @version $Id$ */ public class SimpleServiceSelector extends AbstractLogEnabled implements ServiceSelector, Configurable, LogEnabled, Serviceable, Disposable { 1.2 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/util/StringMessage.java Index: StringMessage.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/util/StringMessage.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- StringMessage.java 13 Nov 2003 13:15:19 -0000 1.1 +++ StringMessage.java 11 Feb 2004 10:43:32 -0000 1.2 @@ -58,6 +58,8 @@ * A string in an XMLizable form. * * Will produce exactly one characters call, no start/endDocument calls. + * + * @version $Id$ */ public class StringMessage implements XMLizable { private char[] ch; 1.2 +50 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/flow/javascript/Woody.java Index: Woody.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/flow/javascript/Woody.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Woody.java 22 Jul 2003 08:36:26 -0000 1.1 +++ Woody.java 11 Feb 2004 10:43:32 -0000 1.2 @@ -1,3 +1,52 @@ +/* + ============================================================================ + 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 modifica- + tion, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + 3. The end-user documentation included with the redistribution, if any, must + include the following acknowledgment: "This product includes software + developed by the Apache Software Foundation (http://www.apache.org/)." + Alternately, this acknowledgment may appear in the software itself, if + and wherever such third-party acknowledgments normally appear. + + 4. The names "Apache Cocoon" and "Apache Software Foundation" must not be + used to endorse or promote products derived from this software without + prior written permission. For written permission, please contact + [EMAIL PROTECTED] + + 5. Products derived from this software may not be called "Apache", nor may + "Apache" appear in their name, without prior written permission of the + Apache Software Foundation. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU- + DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + This software consists of voluntary contributions made by many individuals + on behalf of the Apache Software Foundation and was originally created by + Stefano Mazzocchi <[EMAIL PROTECTED]>. For more information on the Apache + Software Foundation, please see <http://www.apache.org/>. + + */ package org.apache.cocoon.woody.flow.javascript; import org.mozilla.javascript.ScriptableObject; @@ -10,6 +59,7 @@ /** * Woody-flowscript integration helper class. + * @version $Id$ */ public class Woody extends ScriptableObject { FOM_Cocoon cocoon; 1.6 +4 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/flow/javascript/ScriptableWidget.java Index: ScriptableWidget.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/flow/javascript/ScriptableWidget.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- ScriptableWidget.java 29 Jan 2004 03:18:05 -0000 1.5 +++ ScriptableWidget.java 11 Feb 2004 10:43:32 -0000 1.6 @@ -63,6 +63,10 @@ import org.mozilla.javascript.Undefined; import org.mozilla.javascript.Wrapper; +/** + * @version $Id$ + * + */ public class ScriptableWidget extends ScriptableObject { Widget delegate; 1.10 +4 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/flow/javascript/v2/ScriptableWidget.java Index: ScriptableWidget.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/flow/javascript/v2/ScriptableWidget.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- ScriptableWidget.java 10 Feb 2004 23:38:46 -0000 1.9 +++ ScriptableWidget.java 11 Feb 2004 10:43:32 -0000 1.10 @@ -85,6 +85,10 @@ import java.util.Map; import java.util.HashMap; +/** + * @version $Id$ + * + */ public class ScriptableWidget extends ScriptableObject { final static String WIDGETS_PROPERTY = "__widgets__"; 1.8 +1 -1 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/transformation/EffectPipe.java Index: EffectPipe.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/transformation/EffectPipe.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- EffectPipe.java 21 Jan 2004 14:57:49 -0000 1.7 +++ EffectPipe.java 11 Feb 2004 10:43:32 -0000 1.8 @@ -69,8 +69,8 @@ * Base class for XMLPipe's. Allows the structure of the source code of * the XMLPipe to match the structure of the data being transformed. * - * CVS $Id$ * @author Timothy Larson + * @version $Id$ */ public class EffectPipe extends AbstractXMLPipe { 1.7 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/generation/WoodyGenerator.java Index: WoodyGenerator.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/generation/WoodyGenerator.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- WoodyGenerator.java 29 Dec 2003 15:43:58 -0000 1.6 +++ WoodyGenerator.java 11 Feb 2004 10:43:32 -0000 1.7 @@ -77,6 +77,8 @@ * generator as a sitemap parameter called "attribute-name".</li> * <li> Or else at its default-location in the flow context-object.</li> * </ol> + * + * @version $Id$ */ public class WoodyGenerator extends AbstractGenerator { 1.3 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/expression/ExpressionManager.java Index: ExpressionManager.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/expression/ExpressionManager.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ExpressionManager.java 4 Jul 2003 17:55:16 -0000 1.2 +++ ExpressionManager.java 11 Feb 2004 10:43:32 -0000 1.3 @@ -58,6 +58,8 @@ * Work interface for the component that creates Expression objects. * The reason for centralising the creation of expressions is so that * new functions can be registered in one place. + * + * @version $Id$ */ public interface ExpressionManager {