cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ive...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/transformation XMLFormTransformer.java
Date Sat, 28 Sep 2002 19:42:05 GMT
ivelin      2002/09/28 12:42:05

  Modified:    src/java/org/apache/cocoon/transformation
                        XMLFormTransformer.java
  Log:
  added support for xforms HINT and HELP tags,
  by Simon Price <price@bristol.ac.uk>
  
  Revision  Changes    Path
  1.14      +10 -3     xml-cocoon2/src/java/org/apache/cocoon/transformation/XMLFormTransformer.java
  
  Index: XMLFormTransformer.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/transformation/XMLFormTransformer.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- XMLFormTransformer.java	27 Sep 2002 02:51:52 -0000	1.13
  +++ XMLFormTransformer.java	28 Sep 2002 19:42:05 -0000	1.14
  @@ -11,7 +11,7 @@
   
    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.
  @@ -93,7 +93,8 @@
    * @author Andrew Timberlake <andrew@timberlake.co.za>, June 2002
    * @author Michael Ratliff, mratliff@collegenet.com <mratliff@collegenet.com>, May
2002
    * @author Torsten Curdt <tcurdt@dff.st>, March 2002
  -
  + * @author Simon Price <price@bristol.ac.uk>, September 2002
  + * 
    */
   
   public class XMLFormTransformer extends AbstractSAXTransformer
  @@ -167,6 +168,8 @@
     public final static String TAG_RESET = "reset";
   
     public final static String TAG_CAPTION = "caption";
  +  public final static String TAG_HINT = "hint";
  +  public final static String TAG_HELP = "help";
     public final static String TAG_TEXTBOX = "textbox";
     public final static String TAG_TEXTAREA = "textarea";
     public final static String TAG_PASSWORD = "password";
  @@ -518,6 +521,8 @@
             }
             else if (
                       TAG_CAPTION.equals(name) ||
  +                    TAG_HINT.equals(name) ||
  +                    TAG_HELP.equals(name) ||
                       TAG_VALUE.equals(name) 
                      )
            {
  @@ -922,7 +927,9 @@
                   TAG_SELECTMANY.equals(name) ||
                   TAG_SUBMIT.equals(name) ||
                   TAG_CAPTION.equals( name ) ||
  -                TAG_VALUE.equals( name )
  +                TAG_VALUE.equals( name ) ||
  +                TAG_HINT.equals( name ) ||
  +                TAG_HELP.equals( name ) 
                   )
           { 
             super.endElement(uri, name, raw);
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message