struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@locus.apache.org
Subject cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/form ButtonTag.java CancelTag.java CheckboxTag.java FileTag.java FormTag.java HiddenTag.java MultiboxTag.java OptionTag.java OptionsTag.java PasswordTag.java RadioTag.java ResetTag.java SelectTag.java SubmitTag.java TextTag.java TextareaTag.java
Date Sat, 04 Nov 2000 01:27:04 GMT
craigmcc    00/11/03 17:27:04

  Modified:    src/share/org/apache/struts/taglib/form ButtonTag.java
                        CancelTag.java CheckboxTag.java FileTag.java
                        FormTag.java HiddenTag.java MultiboxTag.java
                        OptionTag.java OptionsTag.java PasswordTag.java
                        RadioTag.java ResetTag.java SelectTag.java
                        SubmitTag.java TextTag.java TextareaTag.java
  Log:
  Remove "final" modifiers on tag classes, and change "private" instance
  variables to "protected", to make it easier to subclass these tags to
  provide customized functionality.
  
  Revision  Changes    Path
  1.2       +7 -7      jakarta-struts/src/share/org/apache/struts/taglib/form/ButtonTag.java
  
  Index: ButtonTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/ButtonTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ButtonTag.java	2000/11/03 18:44:58	1.1
  +++ ButtonTag.java	2000/11/04 01:26:58	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/ButtonTag.java,v
1.1 2000/11/03 18:44:58 craigmcc Exp $
  - * $Revision: 1.1 $
  - * $Date: 2000/11/03 18:44:58 $
  + * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/ButtonTag.java,v
1.2 2000/11/04 01:26:58 craigmcc Exp $
  + * $Revision: 1.2 $
  + * $Date: 2000/11/04 01:26:58 $
    *
    * ====================================================================
    *
  @@ -74,10 +74,10 @@
    * Renders an HTML BUTTON tag within the Struts framework.
    *
    * @author Don Clasen
  - * @version $Revision: 1.1 $ $Date: 2000/11/03 18:44:58 $
  + * @version $Revision: 1.2 $ $Date: 2000/11/04 01:26:58 $
    */
   
  -public final class ButtonTag extends BaseHandlerTag {
  +public class ButtonTag extends BaseHandlerTag {
   
   
       // ----------------------------------------------------- Instance Variables
  @@ -85,13 +85,13 @@
       /**
        * The property name of the generated button.
        */
  -    private String property = null;
  +    protected String property = null;
   
   
       /**
        * The value of the button label.
        */
  -    private String value = null;
  +    protected String value = null;
   
   
       // ------------------------------------------------------------- Properties
  
  
  
  1.2       +8 -8      jakarta-struts/src/share/org/apache/struts/taglib/form/CancelTag.java
  
  Index: CancelTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/CancelTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CancelTag.java	2000/11/03 18:44:58	1.1
  +++ CancelTag.java	2000/11/04 01:26:58	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/CancelTag.java,v
1.1 2000/11/03 18:44:58 craigmcc Exp $
  - * $Revision: 1.1 $
  - * $Date: 2000/11/03 18:44:58 $
  + * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/CancelTag.java,v
1.2 2000/11/04 01:26:58 craigmcc Exp $
  + * $Revision: 1.2 $
  + * $Date: 2000/11/04 01:26:58 $
    *
    * ====================================================================
    *
  @@ -76,10 +76,10 @@
    * Tag for input fields of type "cancel".
    *
    * @author Jeff Hutchinson
  - * @version $Revision: 1.1 $ $Date: 2000/11/03 18:44:58 $
  + * @version $Revision: 1.2 $ $Date: 2000/11/04 01:26:58 $
    */
   
  -public final class CancelTag extends BaseHandlerTag {
  +public class CancelTag extends BaseHandlerTag {
   
   
       // ----------------------------------------------------- Instance Variables
  @@ -87,7 +87,7 @@
       /**
        * The message resources for this package.
        */
  -    private static MessageResources messages =
  +    protected static MessageResources messages =
   	MessageResources.getMessageResources
   	("org.apache.struts.taglib.LocalStrings");
   
  @@ -95,13 +95,13 @@
       /**
        * The property name of the generated button.
        */
  -    private String property = Constants.CANCEL_PROPERTY;
  +    protected String property = Constants.CANCEL_PROPERTY;
   
   
       /**
        * The value of the button label.
        */
  -    private String value = null;
  +    protected String value = null;
   
   
       // ------------------------------------------------------------- Properties
  
  
  
  1.2       +8 -8      jakarta-struts/src/share/org/apache/struts/taglib/form/CheckboxTag.java
  
  Index: CheckboxTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/CheckboxTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CheckboxTag.java	2000/11/03 18:44:58	1.1
  +++ CheckboxTag.java	2000/11/04 01:26:58	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/CheckboxTag.java,v
1.1 2000/11/03 18:44:58 craigmcc Exp $
  - * $Revision: 1.1 $
  - * $Date: 2000/11/03 18:44:58 $
  + * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/CheckboxTag.java,v
1.2 2000/11/04 01:26:58 craigmcc Exp $
  + * $Revision: 1.2 $
  + * $Date: 2000/11/04 01:26:58 $
    *
    * ====================================================================
    *
  @@ -77,10 +77,10 @@
    * Tag for input fields of type "checkbox".
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.1 $ $Date: 2000/11/03 18:44:58 $
  + * @version $Revision: 1.2 $ $Date: 2000/11/04 01:26:58 $
    */
   
  -public final class CheckboxTag extends BaseHandlerTag {
  +public class CheckboxTag extends BaseHandlerTag {
   
   
       // ----------------------------------------------------- Instance Variables
  @@ -97,7 +97,7 @@
       /**
        * The name of the bean containing our underlying property.
        */
  -    private String name = Constants.BEAN_KEY;
  +    protected String name = Constants.BEAN_KEY;
   
       public String getName() {
   	return (this.name);
  @@ -111,13 +111,13 @@
       /**
        * The property name for this field.
        */
  -    private String property = null;
  +    protected String property = null;
   
   
       /**
        * The server value for this option.
        */
  -    private String value = null;
  +    protected String value = null;
   
   
       // ------------------------------------------------------------- Properties
  
  
  
  1.2       +5 -5      jakarta-struts/src/share/org/apache/struts/taglib/form/FileTag.java
  
  Index: FileTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/FileTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FileTag.java	2000/11/03 18:44:58	1.1
  +++ FileTag.java	2000/11/04 01:26:58	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/FileTag.java,v
1.1 2000/11/03 18:44:58 craigmcc Exp $
  - * $Revision: 1.1 $
  - * $Date: 2000/11/03 18:44:58 $
  + * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/FileTag.java,v
1.2 2000/11/04 01:26:58 craigmcc Exp $
  + * $Revision: 1.2 $
  + * $Date: 2000/11/04 01:26:58 $
    *
    * ====================================================================
    * 
  @@ -67,10 +67,10 @@
    * Custom tag for input fields of type "file".
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.1 $ $Date: 2000/11/03 18:44:58 $
  + * @version $Revision: 1.2 $ $Date: 2000/11/04 01:26:58 $
    */
   
  -public final class FileTag extends BaseFieldTag {
  +public class FileTag extends BaseFieldTag {
   
   
       /**
  
  
  
  1.2       +16 -16    jakarta-struts/src/share/org/apache/struts/taglib/form/FormTag.java
  
  Index: FormTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/FormTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FormTag.java	2000/11/03 18:44:58	1.1
  +++ FormTag.java	2000/11/04 01:26:58	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/FormTag.java,v
1.1 2000/11/03 18:44:58 craigmcc Exp $
  - * $Revision: 1.1 $
  - * $Date: 2000/11/03 18:44:58 $
  + * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/FormTag.java,v
1.2 2000/11/04 01:26:58 craigmcc Exp $
  + * $Revision: 1.2 $
  + * $Date: 2000/11/04 01:26:58 $
    *
    * ====================================================================
    *
  @@ -79,10 +79,10 @@
    * properties correspond to the various fields of the form.
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.1 $ $Date: 2000/11/03 18:44:58 $
  + * @version $Revision: 1.2 $ $Date: 2000/11/04 01:26:58 $
    */
   
  -public final class FormTag extends TagSupport {
  +public class FormTag extends TagSupport {
   
   
       // ----------------------------------------------------- Instance Variables
  @@ -91,13 +91,13 @@
       /**
        * The action URL to which this form should be submitted, if any.
        */
  -    private String action = null;
  +    protected String action = null;
   
   
       /**
        * The content encoding to be used on a POST submit.
        */
  -    private String enctype = null;
  +    protected String enctype = null;
   
       public String getEnctype() {
   	return (this.enctype);
  @@ -111,7 +111,7 @@
       /**
        * The name of the field to receive focus, if any.
        */
  -    private String focus = null;
  +    protected String focus = null;
   
   
       /**
  @@ -125,44 +125,44 @@
       /**
        * The request method used when submitting this form.
        */
  -    private String method = "POST";
  +    protected String method = "POST";
   
   
       /**
        * The attribute key under which our associated bean is stored.
        */
  -    private String name = null;
  +    protected String name = null;
   
   
       /**
        * The onReset event script.
        */
  -    private String onreset = null;
  +    protected String onreset = null;
   
   
       /**
        * The onSubmit event script.
        */
  -    private String onsubmit = null;
  +    protected String onsubmit = null;
   
   
       /**
        * The scope (request or session) under which our associated bean
        * is stored.
        */
  -    private String scope = "session";
  +    protected String scope = "session";
   
   
       /**
        * The style attribute associated with this tag.
        */
  -    private String style = null;
  +    protected String style = null;
   
   
       /**
        * The style class associated with this tag.
        */
  -    private String styleClass = null;
  +    protected String styleClass = null;
   
   
       /**
  @@ -174,7 +174,7 @@
       /**
        * The Java class name of the bean to be created, if necessary.
        */
  -    private String type = null;
  +    protected String type = null;
   
   
       // ------------------------------------------------------------- Properties
  
  
  
  1.2       +5 -5      jakarta-struts/src/share/org/apache/struts/taglib/form/HiddenTag.java
  
  Index: HiddenTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/HiddenTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- HiddenTag.java	2000/11/03 18:44:58	1.1
  +++ HiddenTag.java	2000/11/04 01:26:59	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/HiddenTag.java,v
1.1 2000/11/03 18:44:58 craigmcc Exp $
  - * $Revision: 1.1 $
  - * $Date: 2000/11/03 18:44:58 $
  + * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/HiddenTag.java,v
1.2 2000/11/04 01:26:59 craigmcc Exp $
  + * $Revision: 1.2 $
  + * $Date: 2000/11/04 01:26:59 $
    *
    * ====================================================================
    * 
  @@ -67,10 +67,10 @@
    * Custom tag for input fields of type "text".
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.1 $ $Date: 2000/11/03 18:44:58 $
  + * @version $Revision: 1.2 $ $Date: 2000/11/04 01:26:59 $
    */
   
  -public final class HiddenTag extends BaseFieldTag {
  +public class HiddenTag extends BaseFieldTag {
   
   
       /**
  
  
  
  1.2       +8 -8      jakarta-struts/src/share/org/apache/struts/taglib/form/MultiboxTag.java
  
  Index: MultiboxTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/MultiboxTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MultiboxTag.java	2000/11/03 18:44:59	1.1
  +++ MultiboxTag.java	2000/11/04 01:26:59	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/MultiboxTag.java,v
1.1 2000/11/03 18:44:59 craigmcc Exp $
  - * $Revision: 1.1 $
  - * $Date: 2000/11/03 18:44:59 $
  + * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/MultiboxTag.java,v
1.2 2000/11/04 01:26:59 craigmcc Exp $
  + * $Revision: 1.2 $
  + * $Date: 2000/11/04 01:26:59 $
    *
    * ====================================================================
    *
  @@ -82,10 +82,10 @@
    *
    * @author Ralph Schaer
    * @author Craig R. McClanahan
  - * @version $Revision: 1.1 $ $Date: 2000/11/03 18:44:59 $
  + * @version $Revision: 1.2 $ $Date: 2000/11/04 01:26:59 $
    */
   
  -public final class MultiboxTag extends BaseHandlerTag {
  +public class MultiboxTag extends BaseHandlerTag {
   
   
       // ----------------------------------------------------- Instance Variables
  @@ -102,7 +102,7 @@
       /**
        * The name of the bean containing our underlying property.
        */
  -    private String name = Constants.BEAN_KEY;
  +    protected String name = Constants.BEAN_KEY;
   
       public String getName() {
   	return (this.name);
  @@ -116,14 +116,14 @@
       /**
        * The property name for this field.
        */
  -    private String property = null;
  +    protected String property = null;
   
   
       /**
        * The value which will mark this checkbox as "checked" if present
        * in the array returned by our property getter.
        */
  -    private String value = null;
  +    protected String value = null;
   
   
       // ------------------------------------------------------------- Properties
  
  
  
  1.2       +6 -6      jakarta-struts/src/share/org/apache/struts/taglib/form/OptionTag.java
  
  Index: OptionTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/OptionTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- OptionTag.java	2000/11/03 18:44:59	1.1
  +++ OptionTag.java	2000/11/04 01:26:59	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/OptionTag.java,v
1.1 2000/11/03 18:44:59 craigmcc Exp $
  - * $Revision: 1.1 $
  - * $Date: 2000/11/03 18:44:59 $
  + * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/OptionTag.java,v
1.2 2000/11/04 01:26:59 craigmcc Exp $
  + * $Revision: 1.2 $
  + * $Date: 2000/11/04 01:26:59 $
    *
    * ====================================================================
    *
  @@ -80,10 +80,10 @@
    * the server if this option is selected.
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.1 $ $Date: 2000/11/03 18:44:59 $
  + * @version $Revision: 1.2 $ $Date: 2000/11/04 01:26:59 $
    */
   
  -public final class OptionTag extends BodyTagSupport {
  +public class OptionTag extends BodyTagSupport {
   
   
       // ----------------------------------------------------- Instance Variables
  @@ -100,7 +100,7 @@
       /**
        * The server value for this option.
        */
  -    private String value = null;
  +    protected String value = null;
   
   
       // ------------------------------------------------------------- Properties
  
  
  
  1.2       +7 -7      jakarta-struts/src/share/org/apache/struts/taglib/form/OptionsTag.java
  
  Index: OptionsTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/OptionsTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- OptionsTag.java	2000/11/03 18:44:59	1.1
  +++ OptionsTag.java	2000/11/04 01:26:59	1.2
  @@ -84,7 +84,7 @@
    * @author Craig McClanahan
    */
   
  -public final class OptionsTag extends TagSupport {
  +public class OptionsTag extends TagSupport {
   
       /**
        * The message resources for this package.
  @@ -96,7 +96,7 @@
       /**
        * The name of the bean containing the labels collection.
        */
  -    private String labelName = null;
  +    protected String labelName = null;
   
       public String getLabelName() {
   	return labelName;
  @@ -109,7 +109,7 @@
       /**
        * The bean property containing the labels collection.
        */
  -    private String labelProperty = null;
  +    protected String labelProperty = null;
   
       public String getLabelProperty() {
   	return labelProperty;
  @@ -122,7 +122,7 @@
       /**
        * The name of the bean containing the values collection.
        */
  -    private String name=null;
  +    protected String name=null;
   
       public String getName() {
   	return name;
  @@ -136,7 +136,7 @@
       /**
        * The name of the property to use to build the values collection.
        */
  -    private String property=null;
  +    protected String property=null;
   
       public String getProperty() {
   	return property;
  @@ -225,7 +225,7 @@
       }
   
   
  -    // -------------------------------------------------------- Private Methods
  +    // ------------------------------------------------------ Protected Methods
   
   
       /**
  @@ -237,7 +237,7 @@
        *
        * @exception JspException if an error occurs
        */
  -    private Iterator getIterator(String name, String property)
  +    protected Iterator getIterator(String name, String property)
           throws JspException {
   
   	// Identify the bean containing our collection
  
  
  
  1.2       +5 -5      jakarta-struts/src/share/org/apache/struts/taglib/form/PasswordTag.java
  
  Index: PasswordTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/PasswordTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PasswordTag.java	2000/11/03 18:44:59	1.1
  +++ PasswordTag.java	2000/11/04 01:26:59	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/PasswordTag.java,v
1.1 2000/11/03 18:44:59 craigmcc Exp $
  - * $Revision: 1.1 $
  - * $Date: 2000/11/03 18:44:59 $
  + * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/PasswordTag.java,v
1.2 2000/11/04 01:26:59 craigmcc Exp $
  + * $Revision: 1.2 $
  + * $Date: 2000/11/04 01:26:59 $
    *
    * ====================================================================
    * 
  @@ -67,10 +67,10 @@
    * Custom tag for input fields of type "text".
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.1 $ $Date: 2000/11/03 18:44:59 $
  + * @version $Revision: 1.2 $ $Date: 2000/11/04 01:26:59 $
    */
   
  -public final class PasswordTag extends BaseFieldTag {
  +public class PasswordTag extends BaseFieldTag {
   
   
       /**
  
  
  
  1.2       +8 -8      jakarta-struts/src/share/org/apache/struts/taglib/form/RadioTag.java
  
  Index: RadioTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/RadioTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- RadioTag.java	2000/11/03 18:44:59	1.1
  +++ RadioTag.java	2000/11/04 01:26:59	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/RadioTag.java,v
1.1 2000/11/03 18:44:59 craigmcc Exp $
  - * $Revision: 1.1 $
  - * $Date: 2000/11/03 18:44:59 $
  + * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/RadioTag.java,v
1.2 2000/11/04 01:26:59 craigmcc Exp $
  + * $Revision: 1.2 $
  + * $Date: 2000/11/04 01:26:59 $
    *
    * ====================================================================
    *
  @@ -77,10 +77,10 @@
    * Tag for input fields of type "radio".
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.1 $ $Date: 2000/11/03 18:44:59 $
  + * @version $Revision: 1.2 $ $Date: 2000/11/04 01:26:59 $
    */
   
  -public final class RadioTag extends BaseHandlerTag {
  +public class RadioTag extends BaseHandlerTag {
   
   
       // ----------------------------------------------------- Instance Variables
  @@ -97,7 +97,7 @@
       /**
        * The name of the bean containing our underlying property.
        */
  -    private String name = Constants.BEAN_KEY;
  +    protected String name = Constants.BEAN_KEY;
   
       public String getName() {
   	return (this.name);
  @@ -111,13 +111,13 @@
       /**
        * The property name for this field.
        */
  -    private String property = null;
  +    protected String property = null;
   
   
       /**
        * The server value for this option.
        */
  -    private String value = null;
  +    protected String value = null;
   
   
       // ------------------------------------------------------------- Properties
  
  
  
  1.2       +7 -7      jakarta-struts/src/share/org/apache/struts/taglib/form/ResetTag.java
  
  Index: ResetTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/ResetTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ResetTag.java	2000/11/03 18:44:59	1.1
  +++ ResetTag.java	2000/11/04 01:26:59	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/ResetTag.java,v
1.1 2000/11/03 18:44:59 craigmcc Exp $
  - * $Revision: 1.1 $
  - * $Date: 2000/11/03 18:44:59 $
  + * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/ResetTag.java,v
1.2 2000/11/04 01:26:59 craigmcc Exp $
  + * $Revision: 1.2 $
  + * $Date: 2000/11/04 01:26:59 $
    *
    * ====================================================================
    *
  @@ -76,10 +76,10 @@
    * Tag for input fields of type "reset".
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.1 $ $Date: 2000/11/03 18:44:59 $
  + * @version $Revision: 1.2 $ $Date: 2000/11/04 01:26:59 $
    */
   
  -public final class ResetTag extends BaseHandlerTag {
  +public class ResetTag extends BaseHandlerTag {
   
   
       // ----------------------------------------------------- Instance Variables
  @@ -96,13 +96,13 @@
       /**
        * The name of the generated input field.
        */
  -    private String name = "reset";
  +    protected String name = "reset";
   
   
       /**
        * The value of the button label.
        */
  -    private String value = null;
  +    protected String value = null;
   
   
       // ------------------------------------------------------------- Properties
  
  
  
  1.2       +11 -11    jakarta-struts/src/share/org/apache/struts/taglib/form/SelectTag.java
  
  Index: SelectTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/SelectTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SelectTag.java	2000/11/03 18:44:59	1.1
  +++ SelectTag.java	2000/11/04 01:26:59	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/SelectTag.java,v
1.1 2000/11/03 18:44:59 craigmcc Exp $
  - * $Revision: 1.1 $
  - * $Date: 2000/11/03 18:44:59 $
  + * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/SelectTag.java,v
1.2 2000/11/04 01:26:59 craigmcc Exp $
  + * $Revision: 1.2 $
  + * $Date: 2000/11/04 01:26:59 $
    *
    * ====================================================================
    *
  @@ -80,10 +80,10 @@
    * inside a form tag.
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.1 $ $Date: 2000/11/03 18:44:59 $
  + * @version $Revision: 1.2 $ $Date: 2000/11/04 01:26:59 $
    */
   
  -public final class SelectTag extends BaseHandlerTag {
  +public class SelectTag extends BaseHandlerTag {
   
   
       // ----------------------------------------------------- Instance Variables
  @@ -92,7 +92,7 @@
       /**
        * The actual value we will match against, calculated in doStartTag().
        */
  -    private String match = null;
  +    protected String match = null;
   
   
       /**
  @@ -107,7 +107,7 @@
        * Should multiple selections be allowed?  Any non-null value will
        * trigger rendering this.
        */
  -    private String multiple = null;
  +    protected String multiple = null;
   
       public String getMultiple() {
   	return (this.multiple);
  @@ -121,7 +121,7 @@
       /**
        * The name of the bean containing our underlying property.
        */
  -    private String name = Constants.BEAN_KEY;
  +    protected String name = Constants.BEAN_KEY;
   
       public String getName() {
   	return (this.name);
  @@ -135,14 +135,14 @@
       /**
        * The property name we are associated with.
        */
  -    private String property = null;
  +    protected String property = null;
   
   
       /**
        * How many available options should be displayed when this element
        * is rendered?
        */
  -    private String size = null;
  +    protected String size = null;
   
       public String getSize() {
   	return (this.size);
  @@ -156,7 +156,7 @@
       /**
        * The value to compare with for marking an option selected.
        */
  -    private String value = null;
  +    protected String value = null;
   
   
       // ------------------------------------------------------------- Properties
  
  
  
  1.2       +7 -7      jakarta-struts/src/share/org/apache/struts/taglib/form/SubmitTag.java
  
  Index: SubmitTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/SubmitTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SubmitTag.java	2000/11/03 18:44:59	1.1
  +++ SubmitTag.java	2000/11/04 01:27:00	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/SubmitTag.java,v
1.1 2000/11/03 18:44:59 craigmcc Exp $
  - * $Revision: 1.1 $
  - * $Date: 2000/11/03 18:44:59 $
  + * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/SubmitTag.java,v
1.2 2000/11/04 01:27:00 craigmcc Exp $
  + * $Revision: 1.2 $
  + * $Date: 2000/11/04 01:27:00 $
    *
    * ====================================================================
    *
  @@ -76,10 +76,10 @@
    * Tag for input fields of type "submit".
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.1 $ $Date: 2000/11/03 18:44:59 $
  + * @version $Revision: 1.2 $ $Date: 2000/11/04 01:27:00 $
    */
   
  -public final class SubmitTag extends BaseHandlerTag {
  +public class SubmitTag extends BaseHandlerTag {
   
   
       // ----------------------------------------------------- Instance Variables
  @@ -96,13 +96,13 @@
       /**
        * The name of the generated input field.
        */
  -    private String property = "submit";
  +    protected String property = "submit";
   
   
       /**
        * The value of the button label.
        */
  -    private String value = null;
  +    protected String value = null;
   
   
       // ------------------------------------------------------------- Properties
  
  
  
  1.2       +5 -5      jakarta-struts/src/share/org/apache/struts/taglib/form/TextTag.java
  
  Index: TextTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/TextTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TextTag.java	2000/11/03 18:45:00	1.1
  +++ TextTag.java	2000/11/04 01:27:00	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/TextTag.java,v
1.1 2000/11/03 18:45:00 craigmcc Exp $
  - * $Revision: 1.1 $
  - * $Date: 2000/11/03 18:45:00 $
  + * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/TextTag.java,v
1.2 2000/11/04 01:27:00 craigmcc Exp $
  + * $Revision: 1.2 $
  + * $Date: 2000/11/04 01:27:00 $
    *
    * ====================================================================
    * 
  @@ -67,10 +67,10 @@
    * Custom tag for input fields of type "text".
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.1 $ $Date: 2000/11/03 18:45:00 $
  + * @version $Revision: 1.2 $ $Date: 2000/11/04 01:27:00 $
    */
   
  -public final class TextTag extends BaseFieldTag {
  +public class TextTag extends BaseFieldTag {
   
   
       /**
  
  
  
  1.2       +5 -5      jakarta-struts/src/share/org/apache/struts/taglib/form/TextareaTag.java
  
  Index: TextareaTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/TextareaTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TextareaTag.java	2000/11/03 18:45:00	1.1
  +++ TextareaTag.java	2000/11/04 01:27:00	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/TextareaTag.java,v
1.1 2000/11/03 18:45:00 craigmcc Exp $
  - * $Revision: 1.1 $
  - * $Date: 2000/11/03 18:45:00 $
  + * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/form/TextareaTag.java,v
1.2 2000/11/04 01:27:00 craigmcc Exp $
  + * $Revision: 1.2 $
  + * $Date: 2000/11/04 01:27:00 $
    *
    * ====================================================================
    *
  @@ -78,7 +78,7 @@
    * Custom tag for input fields of type "textarea".
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.1 $ $Date: 2000/11/03 18:45:00 $
  + * @version $Revision: 1.2 $ $Date: 2000/11/04 01:27:00 $
    */
   
   public class TextareaTag extends BaseInputTag {
  @@ -90,7 +90,7 @@
       /**
        * The name of the bean containing our underlying property.
        */
  -    private String name = Constants.BEAN_KEY;
  +    protected String name = Constants.BEAN_KEY;
   
       public String getName() {
   	return (this.name);
  
  
  

Mime
View raw message