You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by gr...@apache.org on 2005/05/11 18:45:12 UTC

svn commit: r169655 [5/8] - in /myfaces/trunk: src/cactus/org/apache/myfaces/renderkit/html/ src/cactus/org/apache/myfaces/taglib/core/ src/cactus/org/apache/myfaces/taglib/html/ src/components/org/apache/myfaces/renderkit/html/ext/ src/components/org/apache/myfaces/taglib/html/ext/ src/junit/org/apache/myfaces/renderkit/ src/junit/org/apache/myfaces/renderkit/html/ src/junit/org/apache/myfaces/renderkit/html/util/ src/junit/org/apache/myfaces/util/ src/junit/org/apache/myfaces/webapp/ src/myfaces/org/apache/myfaces/lifecycle/ src/myfaces/org/apache/myfaces/portlet/ src/myfaces/org/apache/myfaces/renderkit/ src/myfaces/org/apache/myfaces/renderkit/html/ src/myfaces/org/apache/myfaces/taglib/core/ src/myfaces/org/apache/myfaces/taglib/html/ src/myfaces/org/apache/myfaces/util/ src/myfaces/org/apache/myfaces/webapp/ src/myfaces/org/apache/myfaces/webapp/filter/ src/share/org/apache/myfaces/renderkit/ src/share/org/apache/myfaces/renderkit/html/ src/share/org/apache/myfaces/renderkit/html/util/ src/share/org/apache/myfaces/taglib/ src/share/org/apache/myfaces/taglib/core/ src/share/org/apache/myfaces/taglib/html/ src/share/org/apache/myfaces/util/ src/share/org/apache/myfaces/webapp/webxml/ src/wml/org/apache/myfaces/wap/base/ src/wml/org/apache/myfaces/wap/def/ src/wml/org/apache/myfaces/wap/renderkit/ src/wml/org/apache/myfaces/wap/renderkit/wml/ src/xdoclet/org/apache/myfaces/xdoclet/ webapps/src/example/org/apache/myfaces/examples/validate/

Modified: myfaces/trunk/src/share/org/apache/myfaces/util/StringUtils.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/share/org/apache/myfaces/util/StringUtils.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/share/org/apache/myfaces/util/StringUtils.java (original)
+++ myfaces/trunk/src/share/org/apache/myfaces/util/StringUtils.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
 /*
  * Copyright 2004 The Apache Software Foundation.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -28,32 +28,6 @@
  *
  * @author Anton Koinov (latest modification by $Author$)
  * @version $Revision$ $Date$
- * 
- * $Log$
- * Revision 1.4  2004/10/13 11:51:01  matze
- * renamed packages to org.apache
- *
- * Revision 1.3  2004/08/23 05:15:32  dave0000
- * be user friendly, do not return null
- *
- * Revision 1.2  2004/08/20 07:16:09  manolito
- * moved StringUtils to share source tree
- *
- * Revision 1.1  2004/08/19 16:18:54  manolito
- * moved to share dir
- *
- *
- * old cvs log (myfaces dir):
- * 
- * Revision 1.9  2004/07/01 22:05:15  mwessendorf
- * ASF switch
- *
- * Revision 1.8  2004/06/17 03:51:22  dave0000
- * Use EMPTY_STRING_ARRAY from ArrayUtils
- *
- * Revision 1.7  2004/03/30 07:42:53  dave0000
- * minIndex()
- *
  */
 public class StringUtils
 {
@@ -61,7 +35,7 @@
     {
         // utility class, no instantiation
     }
-    
+
     //~ Methods ------------------------------------------------------------------------------------
 
     /**
@@ -299,13 +273,13 @@
 
         StringBuffer sb     = new StringBuffer(end - begin);
         int          begin_ = begin; // need begin later
-        for (; (end_ >= 0) && (end_ < end); 
+        for (; (end_ >= 0) && (end_ < end);
             end_ = str.indexOf(quote, begin_ = end_ + 2))
         {
             if (((end_ + 1) >= end) || (str.charAt(end_ + 1) != quote))
             {
                 throw new IllegalArgumentException(
-                    "Internal quote not doubled in string '" 
+                    "Internal quote not doubled in string '"
                     + str.substring(begin, end) + "'");
             }
 
@@ -355,7 +329,7 @@
         if ((str.length() < 2) || (str.charAt(_end) != quote))
         {
             throw new IllegalArgumentException(
-                "Closing quote missing in string '" 
+                "Closing quote missing in string '"
                 + substring(str, begin, end) + "'");
         }
 
@@ -377,7 +351,7 @@
         int          len     = repl.length();
         int          lendiff = with.length() - repl.length();
         StringBuffer out     =
-            new StringBuffer((lendiff <= 0) ? str.length() 
+            new StringBuffer((lendiff <= 0) ? str.length()
                 : (str.length() + (10 * lendiff)));
         for (; pos >= 0; pos = str.indexOf(repl, lastindex = pos + len))
         {
@@ -401,7 +375,7 @@
         int          len       = str.length();
         int          lendiff   = with.length() - 1;
         StringBuffer out       =
-            new StringBuffer((lendiff <= 0) ? str.length() 
+            new StringBuffer((lendiff <= 0) ? str.length()
                 : (str.length() + (10 * lendiff)));
         int          lastindex = 0;
         for (; pos >= 0; pos = str.indexOf(repl, lastindex = pos + 1))
@@ -505,7 +479,7 @@
                 if ((pos < len) && (str.charAt(pos) != separator))
                 {
                     throw new IllegalArgumentException(
-                        "Separator must follow closing quote in string '" 
+                        "Separator must follow closing quote in string '"
                         + str + "'");
                 }
             }
@@ -520,7 +494,7 @@
             }
 
             list.add(
-                quoted ? dequote(str, oldPos + 1, pos - 1, quote) 
+                quoted ? dequote(str, oldPos + 1, pos - 1, quote)
                     : substring(str, oldPos, pos));
         }
 
@@ -547,9 +521,9 @@
 
         int lastTokenIndex = 0;
 
-        // Step 1: how many substrings? 
+        // Step 1: how many substrings?
         //      We exchange double scan time for less memory allocation
-        for (int pos = str.indexOf(separator); 
+        for (int pos = str.indexOf(separator);
             pos >= 0; pos = str.indexOf(separator, pos + 1))
         {
             lastTokenIndex++;
@@ -596,7 +570,7 @@
             return ArrayUtils.EMPTY_STRING_ARRAY;
         }
 
-        // Step 1: how many substrings? 
+        // Step 1: how many substrings?
         //      We exchange double scan time for less memory allocation
         int tokenCount = 0;
         for (int pos = 0; pos < len; pos++)
@@ -623,7 +597,7 @@
                 if ((pos < len) && (str.charAt(pos) != separator))
                 {
                     throw new IllegalArgumentException(
-                        "Separator must follow closing quote in strng '" 
+                        "Separator must follow closing quote in strng '"
                         + str + "'");
                 }
             }
@@ -646,8 +620,8 @@
         // Step 2: allocate exact size array
         String[] list = new String[tokenCount];
 
-        // Step 3: retrieve substrings 
-        // Note: on this pass we do not check for correctness, 
+        // Step 3: retrieve substrings
+        // Note: on this pass we do not check for correctness,
         //       since we have already done so
         tokenCount--; // we want to stop one token short
 
@@ -669,7 +643,7 @@
                 if (str.charAt(pos) != separator)
                 {
                     throw new IllegalArgumentException(
-                        "Separator must follow closing quote in strng '" 
+                        "Separator must follow closing quote in strng '"
                         + str + "'");
                 }
             }
@@ -680,7 +654,7 @@
             }
 
             list[i] =
-                quoted ? dequote(str, oldPos + 1, pos - 1, quote) 
+                quoted ? dequote(str, oldPos + 1, pos - 1, quote)
                     : substring(str, oldPos, pos);
         }
 
@@ -713,20 +687,20 @@
 
         return strings;
     }
-    
-    /** 
+
+    /**
      * Returns the minimum index >= 0, if any
-     * 
+     *
      * <p>
      * Use to find the first of two characters in a string:<br>
      * <code>minIndex(s.indexOf('/'), indexOf('\'))</code>
-     * </p> 
-     * 
+     * </p>
+     *
      */
     public static int minIndex(int a, int b)
     {
-        return (a < 0) ? b 
-            : (b < 0) ? a 
+        return (a < 0) ? b
+            : (b < 0) ? a
                 : (a < b) ? a : b;
     }
 }

Modified: myfaces/trunk/src/share/org/apache/myfaces/webapp/webxml/WebXml.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/share/org/apache/myfaces/webapp/webxml/WebXml.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/share/org/apache/myfaces/webapp/webxml/WebXml.java (original)
+++ myfaces/trunk/src/share/org/apache/myfaces/webapp/webxml/WebXml.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
 /*
  * Copyright 2004 The Apache Software Foundation.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -27,22 +27,6 @@
 /**
  * @author Manfred Geiler (latest modification by $Author$)
  * @version $Revision$ $Date$
- * $Log$
- * Revision 1.3  2004/10/13 11:51:01  matze
- * renamed packages to org.apache
- *
- * Revision 1.2  2004/08/10 10:57:39  manolito
- * fixed StackOverflow in ClassUtils and cleaned up ClassUtils methods
- *
- * Revision 1.1  2004/07/16 15:16:10  royalts
- * moved org.apache.myfaces.webapp.webxml and org.apache.util.xml to share src-tree (needed WebXml for JspTilesViewHandlerImpl)
- *
- * Revision 1.10  2004/07/01 22:05:16  mwessendorf
- * ASF switch
- *
- * Revision 1.9  2004/04/19 13:03:21  manolito
- * Log
- *
  */
 public class WebXml
 {
@@ -91,7 +75,7 @@
             String servletName = (String)entry.getKey();
             if (null == entry.getValue())
             {
-                // the value is null in the case of jsp files listed as servlets 
+                // the value is null in the case of jsp files listed as servlets
                 // in cactus
                 // <servlet>
                 //   <servlet-name>JspRedirector</servlet-name>

Modified: myfaces/trunk/src/wml/org/apache/myfaces/wap/base/ActionSourceTagBase.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/wml/org/apache/myfaces/wap/base/ActionSourceTagBase.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/wml/org/apache/myfaces/wap/base/ActionSourceTagBase.java (original)
+++ myfaces/trunk/src/wml/org/apache/myfaces/wap/base/ActionSourceTagBase.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
 /*
  * Copyright 2004 The Apache Software Foundation.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -33,39 +33,35 @@
  * </ol>
  *
  * @author  <a href="mailto:Jiri.Zaloudek@ivancice.cz">Jiri Zaloudek</a> (latest modification by $Author$)
- * @version $Revision$ $Date$ 
- * $Log$
- * Revision 1.1  2004/12/30 09:37:27  matzew
- * added a new RenderKit for WML. Thanks to Jirí Žaloudek
- *
+ * @version $Revision$ $Date$
  */
 public abstract class ActionSourceTagBase extends ComponentTagBase {
     private static Log log = LogFactory.getLog(ActionSourceTagBase.class);
-    
+
     /* properties */
     private String action = null;
     private String actionListener = null;
     private String immediate = null;
-    
+
     /** Creates a new instance of CommandTag */
     public ActionSourceTagBase() {
         super();
     }
-    
+
     public abstract String getRendererType();
-    
+
     public void release() {
         super.release();
         this.action = null;
         this.actionListener = null;
         this.immediate = null;
     }
-    
+
     protected void setProperties(UIComponent component) {
         super.setProperties(component);
-        
+
         Class[] mbParams = {ActionEvent.class};
-        
+
         if (action != null) {
             if (!(component instanceof ActionSource)) {
                 throw new IllegalArgumentException("Component " + component.getId() + " is no ActionSource, cannot set 'action' attribute.");
@@ -75,10 +71,10 @@
                 mb = FacesContext.getCurrentInstance().getApplication().createMethodBinding(action, null);
             else
                 mb = new ConstantMethodBinding(action);
-            
+
             ((ActionSource)component).setAction(mb);
         }
-        
+
         if (actionListener != null) {
             if (!(component instanceof ActionSource)) {
                 throw new IllegalArgumentException("Component " + component.getId() + " is no ActionSource, cannot set 'actionListener' attribute.");
@@ -91,7 +87,7 @@
                 log.error("Invalid expression " + actionListener);
             }
         }
-        
+
         if (immediate != null) {
             if (component instanceof ActionSource) {
                 if (isValueReference(immediate)) {
@@ -102,29 +98,29 @@
                     Boolean imm = Boolean.valueOf(immediate);
                     ((ActionSource)component).setImmediate(imm.booleanValue());
                 }
-                
+
             }
             else log.error("Component " + component.getClass().getName() + " is no ActionSource, cannot set 'immediate' attribute.");
         }
     }
-    
+
     // ----------------------------------------------------- Getters and Setters
     public String getAction() {
         return action;
     }
-    
+
     public void setAction(String action) {
         this.action = action;
     }
-    
+
     public String getActionListener() {
         return actionListener;
     }
-    
+
     public void setActionListener(String actionListener) {
         this.actionListener = actionListener;
     }
-    
+
     /**
      * Getter for property immediate.
      * @return value of property immediate.
@@ -132,7 +128,7 @@
     public String getImmediate() {
         return immediate;
     }
-    
+
     /**
      * Setter for property immediate.
      * @param converter new value of property immediate.

Modified: myfaces/trunk/src/wml/org/apache/myfaces/wap/base/ComponentTagBase.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/wml/org/apache/myfaces/wap/base/ComponentTagBase.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/wml/org/apache/myfaces/wap/base/ComponentTagBase.java (original)
+++ myfaces/trunk/src/wml/org/apache/myfaces/wap/base/ComponentTagBase.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
 /*
  * Copyright 2004 The Apache Software Foundation.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -20,8 +20,8 @@
 import javax.faces.el.ValueBinding;
 import javax.faces.webapp.UIComponentTag;
 
-/** 
- * Implements attributes: 
+/**
+ * Implements attributes:
  * <ol>
  * <li>id
  * <li>renderer
@@ -29,41 +29,37 @@
  * </ol>
  *
  * @author  <a href="mailto:Jiri.Zaloudek@ivancice.cz">Jiri Zaloudek</a> (latest modification by $Author$)
- * @version $Revision$ $Date$ 
- * $Log$
- * Revision 1.1  2004/12/30 09:37:27  matzew
- * added a new RenderKit for WML. Thanks to Jirí Žaloudek
- *
+ * @version $Revision$ $Date$
  */
 
 public abstract class ComponentTagBase extends UIComponentTag {
-    
+
     /* properties */
     private String id = null;
     private String rendered = null;
     private String binding = null;
-    
+
     /** Creates a new instance of UIComponentTagBase */
     public ComponentTagBase() {
         super();
     }
-    
+
     public abstract String getRendererType();
-    
+
     public void release() {
         super.release();
         this.id = null;
         this.rendered = null;
         this.binding = null;
     }
-    
+
     protected void setProperties(UIComponent component) {
         super.setProperties(component);
-                
+
         if (getRendererType() != null) {
             component.setRendererType(getRendererType());
         }
-        
+
         if (id != null) {
             if (isValueReference(id)) {
                 ValueBinding vb = FacesContext.getCurrentInstance().getApplication().createValueBinding(id);
@@ -72,7 +68,7 @@
                 component.setId(id);
             }
         }
-        
+
         if (rendered != null) {
             if (isValueReference(rendered)) {
                 ValueBinding vb = FacesContext.getCurrentInstance().getApplication().createValueBinding(rendered);
@@ -93,7 +89,7 @@
         }
     }
     // ----------------------------------------------------- Getters and Setters
-    
+
     /**
      * Getter for property id.
      * @return value of property id.
@@ -101,7 +97,7 @@
     public String getId() {
         return id;
     }
-    
+
     /**
      * Setter for property id.
      * @param id new value of property id.
@@ -116,7 +112,7 @@
     public String getRendered() {
         return rendered;
     }
-    
+
     /**
      * Setter for property rendered.
      * @param rendered new value of property rendered.
@@ -124,7 +120,7 @@
     public void setRendered(String rendered) {
         this.rendered = rendered;
     }
-    
+
     /**
      * Setter for property binding.
      * @param binding new value of property binding.

Modified: myfaces/trunk/src/wml/org/apache/myfaces/wap/base/ConstantMethodBinding.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/wml/org/apache/myfaces/wap/base/ConstantMethodBinding.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/wml/org/apache/myfaces/wap/base/ConstantMethodBinding.java (original)
+++ myfaces/trunk/src/wml/org/apache/myfaces/wap/base/ConstantMethodBinding.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
 /*
  * Copyright 2004 The Apache Software Foundation.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -23,20 +23,16 @@
 /**
  *
  * @author  <a href="mailto:Jiri.Zaloudek@ivancice.cz">Jiri Zaloudek</a> (latest modification by $Author$)
- * @version $Revision$ $Date$ 
- * $Log$
- * Revision 1.1  2004/12/30 09:37:27  matzew
- * added a new RenderKit for WML. Thanks to Jirí Žaloudek
- *
+ * @version $Revision$ $Date$
  */
 public class ConstantMethodBinding extends MethodBinding implements StateHolder {
     private String outCome;
     private boolean _transient;
-    
+
     /** Creates a new instance of ConstantMethodBinding */
     public ConstantMethodBinding() {
     }
-    
+
     public ConstantMethodBinding(String outCome) {
         this.outCome = outCome;
     }
@@ -44,12 +40,12 @@
     public Class getType(FacesContext facesContext) throws MethodNotFoundException {
         return(String.class);
     }
-    
+
     public Object invoke(FacesContext facesContext, Object[] obj) throws EvaluationException, MethodNotFoundException {
         return(outCome);
     }
-    
-    
+
+
     public void restoreState(FacesContext facesContext, Object obj) {
         this.outCome = (String)obj;
     }
@@ -64,5 +60,5 @@
 
     public void setTransient(boolean _transient) {
         this._transient = _transient;
-    }        
+    }
 }

Modified: myfaces/trunk/src/wml/org/apache/myfaces/wap/base/EditableValueHolderTagBase.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/wml/org/apache/myfaces/wap/base/EditableValueHolderTagBase.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/wml/org/apache/myfaces/wap/base/EditableValueHolderTagBase.java (original)
+++ myfaces/trunk/src/wml/org/apache/myfaces/wap/base/EditableValueHolderTagBase.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
 /*
  * Copyright 2004 The Apache Software Foundation.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -34,42 +34,38 @@
  * </ol>
  *
  * @author  <a href="mailto:Jiri.Zaloudek@ivancice.cz">Jiri Zaloudek</a> (latest modification by $Author$)
- * @version $Revision$ $Date$ 
- * $Log$
- * Revision 1.1  2004/12/30 09:37:27  matzew
- * added a new RenderKit for WML. Thanks to Jirí Žaloudek
- *
+ * @version $Revision$ $Date$
  */
 public abstract class EditableValueHolderTagBase extends ValueHolderTagBase {
     private static Log log = LogFactory.getLog(EditableValueHolderTagBase.class);
-    
+
     /* properties */
     private String immediate = null;
     private String required = null;
     private String validator = null;
     private String valueChangeListener = null;
-    
+
     /** Creates a new instance of UIComponentTagBase */
     public EditableValueHolderTagBase() {
         super();
     }
-    
+
     public abstract String getRendererType();
-    
+
     public void release() {
-        super.release();        
+        super.release();
         this.immediate = null;
         this.required = null;
         this.validator = null;
         this.valueChangeListener = null;
     }
-    
+
     protected void setProperties(UIComponent component) {
         super.setProperties(component);
-        
+
         /* method binding parameters */
         Class[] mbParams = {FacesContext.class, UIComponent.class, Object.class};
-        
+
         if (immediate != null) {
             if (component instanceof EditableValueHolder) {
                 if (isValueReference(immediate)) {
@@ -80,13 +76,13 @@
                     boolean imm = stringToBoolean(immediate);
                     ((EditableValueHolder)component).setImmediate(imm);
                 }
-                
+
             }
             else log.error("Component " + component.getClass().getName() + " is no ValueHolder, cannot set 'immediate' attribute.");
         }
-        
+
         if (required != null) {
-            if (component instanceof EditableValueHolder) {                
+            if (component instanceof EditableValueHolder) {
                 if (isValueReference(required)) {
                     ValueBinding vb = FacesContext.getCurrentInstance().getApplication().createValueBinding(required);
                     component.setValueBinding("required", vb);
@@ -99,12 +95,12 @@
                 log.error("Component " + component.getClass().getName() + " is no EditableValueHolder, cannot set 'required'.");
             }
         }
-        
+
         if (validator != null) {
             if (component instanceof EditableValueHolder) {
                 if (isValueReference(validator)) {
                     Class[] params = {FacesContext.class, UIComponent.class, Object.class};
-                    
+
                     FacesContext facesContext = FacesContext.getCurrentInstance();
                     MethodBinding mb = facesContext.getApplication().createMethodBinding(validator, mbParams);
                     ((EditableValueHolder)component).setValidator(mb);
@@ -117,7 +113,7 @@
                 log.error("Component " + component.getClass().getName() + " is no EditableValueHolder, cannot set 'validator'.");
             }
         }
-        
+
         if (valueChangeListener != null) {
             if (component instanceof EditableValueHolder) {
                 if (isValueReference(valueChangeListener)) {
@@ -135,7 +131,7 @@
             }
         }
     }
-    
+
     private boolean stringToBoolean(String str){
         Boolean bool = Boolean.valueOf(str);
         return(bool.booleanValue());
@@ -149,15 +145,15 @@
     public String getImmediate() {
         return immediate;
     }
-    
+
     /**
      * Setter for property immediate.
      * @param converter new value of property immediate.
      */
     public void setImmediate(String immediate) {
         this.immediate = immediate;
-    }    
-    
+    }
+
     public String getRequired() {
         return required;
     }
@@ -181,6 +177,6 @@
     public void setValueChangeListener(String valueChangeListener) {
         this.valueChangeListener=valueChangeListener;
     }
-    
-    
+
+
 }

Modified: myfaces/trunk/src/wml/org/apache/myfaces/wap/base/MessageTagBase.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/wml/org/apache/myfaces/wap/base/MessageTagBase.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/wml/org/apache/myfaces/wap/base/MessageTagBase.java (original)
+++ myfaces/trunk/src/wml/org/apache/myfaces/wap/base/MessageTagBase.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
 /*
  * Copyright 2004 The Apache Software Foundation.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -29,43 +29,39 @@
  * </ol>
  *
  * @author  <a href="mailto:Jiri.Zaloudek@ivancice.cz">Jiri Zaloudek</a> (latest modification by $Author$)
- * @version $Revision$ $Date$ 
- * $Log$
- * Revision 1.1  2004/12/30 09:37:27  matzew
- * added a new RenderKit for WML. Thanks to Jirí Žaloudek
- *
+ * @version $Revision$ $Date$
  */
 
 public abstract class MessageTagBase extends ComponentTagBase {
-    
+
     /* properties */
     private String forComponent = null;
     private String showDetail = null;
     private String showSummary = null;
-    
+
     /** Creates a new instance of UIComponentTagBase */
     public MessageTagBase() {
         super();
     }
-    
+
     public abstract String getRendererType();
-    
+
     public void release() {
         super.release();
         this.forComponent = null;
         this.showDetail = null;
         this.showSummary= null;
     }
-    
+
     protected void setProperties(UIComponent component) {
         super.setProperties(component);
-        
+
         if (getRendererType() != null) {
             component.setRendererType(getRendererType());
         }
-        
+
         UIMessage comp = (UIMessage)component;
-        
+
         if (forComponent != null) {
             if (isValueReference(forComponent)) {
                 ValueBinding vb = FacesContext.getCurrentInstance().getApplication().createValueBinding(forComponent);
@@ -74,7 +70,7 @@
                 comp.setFor(forComponent);
             }
         }
-        
+
         if (showDetail != null) {
             if (isValueReference(showDetail)) {
                 ValueBinding vb = FacesContext.getCurrentInstance().getApplication().createValueBinding(showDetail);
@@ -84,7 +80,7 @@
                 comp.setShowDetail(bool);
             }
         }
-        
+
         if (showSummary != null) {
             if (isValueReference(showSummary)) {
                 ValueBinding vb = FacesContext.getCurrentInstance().getApplication().createValueBinding(showSummary);
@@ -95,30 +91,30 @@
             }
         }
     }
-       
+
     // ----------------------------------------------------- Getters and Setters
      public String getFor() {
         return forComponent;
     }
-    
+
     public void setFor(String forComponent) {
         this.forComponent = forComponent;
     }
-    
+
     public String getShowDetail() {
         return showDetail;
     }
-    
+
     public void setShowDetail(String showDetail) {
         this.showDetail = showDetail;
     }
-    
+
     public String getShowSummary() {
         return showSummary;
     }
-    
+
     public void setShowSummary(String showSummary) {
         this.showSummary = showSummary;
     }
-    
+
 }

Modified: myfaces/trunk/src/wml/org/apache/myfaces/wap/base/ValueHolderTagBase.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/wml/org/apache/myfaces/wap/base/ValueHolderTagBase.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/wml/org/apache/myfaces/wap/base/ValueHolderTagBase.java (original)
+++ myfaces/trunk/src/wml/org/apache/myfaces/wap/base/ValueHolderTagBase.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
 /*
  * Copyright 2004 The Apache Software Foundation.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -32,35 +32,31 @@
  * </ol>
  *
  * @author  <a href="mailto:Jiri.Zaloudek@ivancice.cz">Jiri Zaloudek</a> (latest modification by $Author$)
- * @version $Revision$ $Date$ 
- * $Log$
- * Revision 1.1  2004/12/30 09:37:27  matzew
- * added a new RenderKit for WML. Thanks to Jirí Žaloudek
- *
+ * @version $Revision$ $Date$
  */
 public abstract class ValueHolderTagBase extends ComponentTagBase {
     private static Log log = LogFactory.getLog(ValueHolderTagBase.class);
-    
+
     /* properties */
     private String converter = null;
     private String value = null;
-    
+
     /** Creates a new instance of ValueTag */
     public ValueHolderTagBase() {
         super();
     }
-    
+
     public abstract String getRendererType();
-    
+
     public void release() {
         super.release();
         this.converter = null;
         this.value = null;
     }
-    
+
     protected void setProperties(UIComponent component) {
         super.setProperties(component);
-        
+
         if (converter != null) {
             if (component instanceof ValueHolder) {
                 if (isValueReference(converter)) {
@@ -75,10 +71,10 @@
             }
             else {
                 log.error("Component " + component.getClass().getName() + " is no ValueHolder, cannot set 'converter' attribute.");
-            }            
+            }
         }
-        
-        
+
+
         if (value != null) {
             if (component instanceof ValueHolder) {
                 if (isValueReference(value)) {
@@ -86,14 +82,14 @@
                     component.setValueBinding("value", vb);
                 } else
                     ((ValueHolder)component).setValue(value);
-                
+
             }
             else log.error("Component " + component.getClass().getName() + " is no ValueHolder, cannot set 'value' attribute.");
         }
-        
+
     }
     // ----------------------------------------------------- Getters and Setters
-    
+
     /**
      * Getter for property converter.
      * @return value of property converter.
@@ -101,15 +97,15 @@
     public String getConverter() {
         return converter;
     }
-    
+
     /**
      * Setter for property converter.
      * @param converter new value of property converter.
      */
     public void setConverter(String converter) {
         this.converter = converter;
-    }    
-    
+    }
+
     /**
      * Getter for property value.
      * @return value of property value.
@@ -117,12 +113,12 @@
     public String getValue() {
         return value;
     }
-    
+
     /**
      * Setter for property value.
      * @param value new value of property value.
      */
     public void setValue(String value) {
-        this.value = value;        
+        this.value = value;
     }
 }

Modified: myfaces/trunk/src/wml/org/apache/myfaces/wap/def/Column.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/wml/org/apache/myfaces/wap/def/Column.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/wml/org/apache/myfaces/wap/def/Column.java (original)
+++ myfaces/trunk/src/wml/org/apache/myfaces/wap/def/Column.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
 /*
  * Copyright 2004 The Apache Software Foundation.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -15,27 +15,23 @@
  */
 package org.apache.myfaces.wap.def;
 
-/**  
+/**
  * Renders a UIComponent that represents a single column of data within a parent UIData component.
  *
- * @wapfaces.tag 
+ * @wapfaces.tag
  *       componentFamily="UIColumn"
  *       rendererType="ColumnRenderer"
  *       tagName="column"
  *       tagBaseClass="org.apache.myfaces.wap.base.ComponentTagBase"
  *       bodyContent="JSP"
- * 
- * @author  <a href="mailto:Jiri.Zaloudek@ivancice.cz">Jiri Zaloudek</a> (latest modification by $Author$)
- * @version $Revision$ $Date$ 
- * $Log$
- * Revision 1.1  2004/12/30 09:37:25  matzew
- * added a new RenderKit for WML. Thanks to Jirí Žaloudek
  *
- */ 
+ * @author  <a href="mailto:Jiri.Zaloudek@ivancice.cz">Jiri Zaloudek</a> (latest modification by $Author$)
+ * @version $Revision$ $Date$
+ */
 
 
 public class Column extends javax.faces.component.UIColumn {
-    
+
     // ============= ABSTARACT ATTRIBUTES ======================================
     /**
      * The component identifier for the associated component.
@@ -45,16 +41,16 @@
      *     inherit="true"
      */
     java.lang.String id;
-    
+
     /**
-     * Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. 
+     * Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
      *
      * @wapfaces.attribute
      *     abstract="true"
      *     inherit="true"
      */
     boolean rendered;
-        
+
     /**
      * The value binding expression linking this component to a property in a backing bean.
      *
@@ -63,5 +59,5 @@
      *     inherit="true"
      */
     java.lang.String binding;
-        
+
 }

Modified: myfaces/trunk/src/wml/org/apache/myfaces/wap/def/CommandButton.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/wml/org/apache/myfaces/wap/def/CommandButton.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/wml/org/apache/myfaces/wap/def/CommandButton.java (original)
+++ myfaces/trunk/src/wml/org/apache/myfaces/wap/def/CommandButton.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
 /*
  * Copyright 2004 The Apache Software Foundation.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -15,39 +15,35 @@
  */
 package org.apache.myfaces.wap.def;
 
-/**  
- * This control can by rendered as a graphical button(PDA) or item in menu(mobile phones). 
+/**
+ * This control can by rendered as a graphical button(PDA) or item in menu(mobile phones).
  * The final view is depend on client browser. This element must be a childern of UIForm component.
- * 
+ *
  * Decode Behavior
- * Obtain the Map from the "requestParameterMap" property of the ExternalContext. If the value in theMap for 
- * the value of the "clientId" property of the component is not null, get the value of the "type" attribute, 
- * and convert it to lower case. If the result is equal to the String "reset" (without the quotes), return fromdecode(). 
- * Otherwise, create ajavax.faces.event.ActionEvent around the component, and pass it to the queueEvent() method 
+ * Obtain the Map from the "requestParameterMap" property of the ExternalContext. If the value in theMap for
+ * the value of the "clientId" property of the component is not null, get the value of the "type" attribute,
+ * and convert it to lower case. If the result is equal to the String "reset" (without the quotes), return fromdecode().
+ * Otherwise, create ajavax.faces.event.ActionEvent around the component, and pass it to the queueEvent() method
  * of the component, which must be an instance ofUICommand.
- * 
+ *
  * Encode Behavior
- * Wml don't contain submit button tag. This element is rendered using "do" and "go" wml tags. 
- * If is the button attribute type set to "reset", then is command button rendered as "do" and "setvar" tags. For reset is not needed reload the page. 
+ * Wml don't contain submit button tag. This element is rendered using "do" and "go" wml tags.
+ * If is the button attribute type set to "reset", then is command button rendered as "do" and "setvar" tags. For reset is not needed reload the page.
  *
- * @wapfaces.tag 
+ * @wapfaces.tag
  *       componentFamily="UICommand"
  *       rendererType="CommandButtonRenderer"
  *       tagName="commandButton"
  *       tagBaseClass="org.apache.myfaces.wap.base.ActionSourceTagBase"
  *       bodyContent="JSP"
- * 
- * @author  <a href="mailto:Jiri.Zaloudek@ivancice.cz">Jiri Zaloudek</a> (latest modification by $Author$)
- * @version $Revision$ $Date$ 
- * $Log$
- * Revision 1.1  2004/12/30 09:37:25  matzew
- * added a new RenderKit for WML. Thanks to Jirí Žaloudek
  *
- */ 
+ * @author  <a href="mailto:Jiri.Zaloudek@ivancice.cz">Jiri Zaloudek</a> (latest modification by $Author$)
+ * @version $Revision$ $Date$
+ */
 
 
 public class CommandButton extends javax.faces.component.UICommand {
-    
+
     /**
      * Defines the type of the "do" element.This attribute tells to the browser how present this element.
      * Possible values: (accept | prev | help | reset | options | delete | unknown | x-* | vnd.*). Default value is "accept".
@@ -56,8 +52,8 @@
      *     initValue="\"accept\""
      *     valueBinding="true"
      */
-    java.lang.String type;    
-        
+    java.lang.String type;
+
     /**
      * Defines xml:lang for the "do" tag. The xml:lang attribute specifies the natural or formal language of an element or its attributes.
      *
@@ -65,15 +61,15 @@
      *     valueBinding="true"
      */
     //java.lang.String xmllang;
-    
+
     /**
-     * Defines style class for the "do" tag. Space-separated list of style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup. 
+     * Defines style class for the "do" tag. Space-separated list of style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.
      *
      * @wapfaces.attribute
      *     valueBinding="true"
      */
     //java.lang.String styleClass;
-    
+
     /**
      * Defines a name for the "do" element.
      *
@@ -81,7 +77,7 @@
      *     valueBinding="true"
      */
     //java.lang.String name;
-    
+
     /**
      * If set to true, the browser ignores this element. If set to false, the browser does not ignore this element. Default is "false".
      *
@@ -90,35 +86,35 @@
      *     valueBinding="true"
      */
     boolean optional;
-    
+
         /**
      * Sets the value property of the UICommand. This is most often rendered as a label.
      *
      * @wapfaces.attribute
      *     valueBinding="true"
      */
-    java.lang.Object value;       
+    java.lang.Object value;
+
 
-    
     // ============= ABSTARACT ATTRIBUTES ======================================
     /**
-     * MethodBinding representing the application action to invoke when this component is activated by the user. The expression must evaluate to a public method that takes no parameters, and returns a String (the logical outcome) which is passed to the NavigationHandler for this application. 
+     * MethodBinding representing the application action to invoke when this component is activated by the user. The expression must evaluate to a public method that takes no parameters, and returns a String (the logical outcome) which is passed to the NavigationHandler for this application.
      *
      * @wapfaces.attribute
      *     inherit="true"
      *     abstract="true"
      */
-    java.lang.String action;  
-    
+    java.lang.String action;
+
     /**
-     * MethodBinding representing an action listener method that will be notified when this component is activated by the user. The expression must evaluate to a public method that takes an ActionEvent parameter, with a return type of void. 
+     * MethodBinding representing an action listener method that will be notified when this component is activated by the user. The expression must evaluate to a public method that takes an ActionEvent parameter, with a return type of void.
      *
      * @wapfaces.attribute
      *     inherit="true"
      *     abstract="true"
      */
-    java.lang.String actionListener;  
-    
+    java.lang.String actionListener;
+
     /**
      * The component identifier for the associated component.
      *
@@ -127,16 +123,16 @@
      *     inherit="true"
      */
     java.lang.String id;
-    
+
     /**
-     * Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. 
+     * Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
      *
      * @wapfaces.attribute
      *     abstract="true"
      *     inherit="true"
      */
     boolean rendered;
-        
+
     /**
      * The value binding expression linking this component to a property in a backing bean.
      *
@@ -144,15 +140,15 @@
      *     abstract="true"
      *     inherit="true"
      */
-    java.lang.String binding;     
- 
+    java.lang.String binding;
+
     /**
-     * Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase. 
+     * Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.
      *
      * @wapfaces.attribute
      *     inherit="true"
      *     abstract="true"
      */
     boolean immediate;
-    
+
 }

Modified: myfaces/trunk/src/wml/org/apache/myfaces/wap/def/CommandLink.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/wml/org/apache/myfaces/wap/def/CommandLink.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/wml/org/apache/myfaces/wap/def/CommandLink.java (original)
+++ myfaces/trunk/src/wml/org/apache/myfaces/wap/def/CommandLink.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
 /*
  * Copyright 2004 The Apache Software Foundation.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -15,46 +15,42 @@
  */
 package org.apache.myfaces.wap.def;
 
-/**  
- * Render an WML "a" anchor element that acts like a form submit button when clicked.  
- * This element must be a childern of UIForm component.  
+/**
+ * Render an WML "a" anchor element that acts like a form submit button when clicked.
+ * This element must be a childern of UIForm component.
  *
  * Decode Behavior
- * Obtain the Map from the "requestParameterMap" property of the ExternalContext. If the value in theMap for 
- * the value of the "clientId" property of the component is not null, get the value of the "type" attribute, 
- * and convert it to lower case. If the result is equal to the String "reset" (without the quotes), return fromdecode(). 
- * Otherwise, create ajavax.faces.event.ActionEvent around the component, and pass it to the queueEvent() method 
+ * Obtain the Map from the "requestParameterMap" property of the ExternalContext. If the value in theMap for
+ * the value of the "clientId" property of the component is not null, get the value of the "type" attribute,
+ * and convert it to lower case. If the result is equal to the String "reset" (without the quotes), return fromdecode().
+ * Otherwise, create ajavax.faces.event.ActionEvent around the component, and pass it to the queueEvent() method
  * of the component, which must be an instance ofUICommand.
- * 
+ *
  * Encode Behavior
- * Wml don't contain submit button tag. This element is rendered using "do" and "go" wml tags. 
+ * Wml don't contain submit button tag. This element is rendered using "do" and "go" wml tags.
  *
- * @wapfaces.tag 
+ * @wapfaces.tag
  *       componentFamily="UICommand"
  *       rendererType="CommandLinkRenderer"
  *       tagName="commandLink"
  *       tagBaseClass="org.apache.myfaces.wap.base.ActionSourceTagBase"
  *       bodyContent="JSP"
- * 
- * @author  <a href="mailto:Jiri.Zaloudek@ivancice.cz">Jiri Zaloudek</a> (latest modification by $Author$)
- * @version $Revision$ $Date$ 
- * $Log$
- * Revision 1.1  2004/12/30 09:37:25  matzew
- * added a new RenderKit for WML. Thanks to Jirí Žaloudek
  *
+ * @author  <a href="mailto:Jiri.Zaloudek@ivancice.cz">Jiri Zaloudek</a> (latest modification by $Author$)
+ * @version $Revision$ $Date$
  */ 
 
 
 public class CommandLink extends javax.faces.component.UICommand {
-    
+
     /**
      * Defines a text identifying the link.
      *
      * @wapfaces.attribute
      *     valueBinding="true"
      */
-    java.lang.String title;    
-        
+    java.lang.String title;
+
     /**
      * The xml:lang attribute specifies the natural or formal language of an element or its attributes.
      *
@@ -62,34 +58,34 @@
      *     valueBinding="true"
      */
     java.lang.String xmllang;
-    
+
     /**
-     * Space-separated list of style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup. 
+     * Space-separated list of style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.
      *
      * @wapfaces.attribute
      *     valueBinding="true"
      */
     java.lang.String styleClass;
-    
+
     // ============= ABSTARACT ATTRIBUTES ======================================
     /**
-     * MethodBinding representing the application action to invoke when this component is activated by the user. The expression must evaluate to a public method that takes no parameters, and returns a String (the logical outcome) which is passed to the NavigationHandler for this application. 
+     * MethodBinding representing the application action to invoke when this component is activated by the user. The expression must evaluate to a public method that takes no parameters, and returns a String (the logical outcome) which is passed to the NavigationHandler for this application.
      *
      * @wapfaces.attribute
      *     inherit="true"
      *     abstract="true"
      */
-    java.lang.String action;  
-    
+    java.lang.String action;
+
     /**
-     * MethodBinding representing an action listener method that will be notified when this component is activated by the user. The expression must evaluate to a public method that takes an ActionEvent parameter, with a return type of void. 
+     * MethodBinding representing an action listener method that will be notified when this component is activated by the user. The expression must evaluate to a public method that takes an ActionEvent parameter, with a return type of void.
      *
      * @wapfaces.attribute
      *     inherit="true"
      *     abstract="true"
      */
-    java.lang.String actionListener;  
-    
+    java.lang.String actionListener;
+
     /**
      * The component identifier for the associated component.
      *
@@ -98,16 +94,16 @@
      *     inherit="true"
      */
     java.lang.String id;
-    
+
     /**
-     * Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. 
+     * Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
      *
      * @wapfaces.attribute
      *     abstract="true"
      *     inherit="true"
      */
     boolean rendered;
-        
+
     /**
      * The value binding expression linking this component to a property in a backing bean.
      *
@@ -115,17 +111,17 @@
      *     abstract="true"
      *     inherit="true"
      */
-    java.lang.String binding;     
- 
+    java.lang.String binding;
+
     /**
-     * Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase. 
+     * Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.
      *
      * @wapfaces.attribute
      *     inherit="true"
      *     abstract="true"
      */
     boolean immediate;
-    
+
     /**
      * The current value of this component.
      * TODO: implement this attribute.
@@ -134,6 +130,6 @@
      *     inherit="true"
      *     abstract="true"
      */
-    java.lang.Object value;       
+    java.lang.Object value;
 
 }

Modified: myfaces/trunk/src/wml/org/apache/myfaces/wap/def/DataTable.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/wml/org/apache/myfaces/wap/def/DataTable.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/wml/org/apache/myfaces/wap/def/DataTable.java (original)
+++ myfaces/trunk/src/wml/org/apache/myfaces/wap/def/DataTable.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
 /*
  * Copyright 2004 The Apache Software Foundation.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -15,35 +15,31 @@
  */
 package org.apache.myfaces.wap.def;
 
-/**  
- * Renders an WML table element. Render the "header" and a "footer" facet if is presented at least in one column. Header and footer is rendered as the first or the last row of the table. Each nested column element represents one column. Number of rows is determined by structure of value property. 
+/**
+ * Renders an WML table element. Render the "header" and a "footer" facet if is presented at least in one column. Header and footer is rendered as the first or the last row of the table. Each nested column element represents one column. Number of rows is determined by structure of value property.
  *
- * @wapfaces.tag 
+ * @wapfaces.tag
  *       componentFamily="UIData"
  *       rendererType="TableRenderer"
  *       tagName="dataTable"
  *       tagBaseClass="org.apache.myfaces.wap.base.ComponentTagBase"
  *       bodyContent="JSP"
- * 
- * @author  <a href="mailto:Jiri.Zaloudek@ivancice.cz">Jiri Zaloudek</a> (latest modification by $Author$)
- * @version $Revision$ $Date$ 
- * $Log$
- * Revision 1.1  2004/12/30 09:37:25  matzew
- * added a new RenderKit for WML. Thanks to Jirí Žaloudek
  *
- */ 
+ * @author  <a href="mailto:Jiri.Zaloudek@ivancice.cz">Jiri Zaloudek</a> (latest modification by $Author$)
+ * @version $Revision$ $Date$
+ */
 
 
 public class DataTable extends javax.faces.component.UIData {
-    
+
 /**
-     * Aligns the text in a column. Specify a list of the align values, one for each column. Posible are values: "C", "L" or "R". Example: aling="RRCL" - the first column is align to right, second right, third center and the fourth column to left. Default aling is left. 
+     * Aligns the text in a column. Specify a list of the align values, one for each column. Posible are values: "C", "L" or "R". Example: aling="RRCL" - the first column is align to right, second right, third center and the fourth column to left. Default aling is left.
      *
      * @wapfaces.attribute
      *     valueBinding="true"
      */
     java.lang.String align;
-    
+
     /**
      * The attribute styleClass affiliates an element with one or more classes. Multiple elements can be given the same styleClass name.
      *
@@ -59,27 +55,27 @@
      *     valueBinding="true"
      */
     java.lang.String title;
-    
+
     /**
      * The xml:lang attribute specifies the natural or formal language of an element or its attributes.
      *
      * @wapfaces.attribute
      *     valueBinding="true"
      */
-    java.lang.String xmllang;    
-    
+    java.lang.String xmllang;
+
     // ============= INHERIT ATTRIBUTES ======================================
     /**
-     * Zero-relative row number of the first row to be displayed. If this property is set to zero, rendering will begin with the first row of the underlying data. 
+     * Zero-relative row number of the first row to be displayed. If this property is set to zero, rendering will begin with the first row of the underlying data.
      *
      * @wapfaces.attribute
      *     inherit="true"
      *     valueBinding="true"
      */
     int first;
-    
+
     /**
-     * The number of rows to display, starting with the one identified by the "first" property. If this value is set to zero, all available rows in the underlying data model will be displayed. 
+     * The number of rows to display, starting with the one identified by the "first" property. If this value is set to zero, all available rows in the underlying data model will be displayed.
      *
      * @wapfaces.attribute
      *     inherit="true"
@@ -88,23 +84,23 @@
     int rows;
 
     /**
-     * Name of a request-scope attribute under which the model data for the row selected by the current value of the "rowIndex" property (i.e. also the current value of the "rowData" property) will be exposed. 
+     * Name of a request-scope attribute under which the model data for the row selected by the current value of the "rowIndex" property (i.e. also the current value of the "rowData" property) will be exposed.
      *
      * @wapfaces.attribute
      *     inherit="true"
      *     valueBinding="true"
      */
     java.lang.String var;
-    
+
     /**
-     * The current value of this component. 
+     * The current value of this component.
      *
      * @wapfaces.attribute
      *     inherit="true"
      *     valueBinding="true"
      */
     java.lang.String value;
-    
+
     // ============= ABSTARACT ATTRIBUTES ======================================
     /**
      * The component identifier for the associated component.
@@ -114,16 +110,16 @@
      *     inherit="true"
      */
     java.lang.String id;
-    
+
     /**
-     * Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. 
+     * Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
      *
      * @wapfaces.attribute
      *     abstract="true"
      *     inherit="true"
      */
     boolean rendered;
-        
+
     /**
      * The value binding expression linking this component to a property in a backing bean.
      *
@@ -132,5 +128,5 @@
      *     inherit="true"
      */
     java.lang.String binding;
-        
+
 }

Modified: myfaces/trunk/src/wml/org/apache/myfaces/wap/def/Form.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/wml/org/apache/myfaces/wap/def/Form.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/wml/org/apache/myfaces/wap/def/Form.java (original)
+++ myfaces/trunk/src/wml/org/apache/myfaces/wap/def/Form.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
 /*
  * Copyright 2004 The Apache Software Foundation.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -15,35 +15,31 @@
  */
 package org.apache.myfaces.wap.def;
 
-/**  
+/**
  * Represents form element.
  *
  * Decode Behavior
  * Obtain the Map from the "requestParameterMap" property of the ExternalContext. If the map contains an entry for the "clientId" of this UIForm component, call setSubmitted(true) on the form, otherwise callsetSubmitted(false) on the form.
  *
  * Encode Behavior
- * Form element is not writed to the generated wml file. All input's data are posted by commandLink or commandButton elements. 
+ * Form element is not writed to the generated wml file. All input's data are posted by commandLink or commandButton elements.
  * Encode end method assures writing state marker.
  *
  *
- * @wapfaces.tag 
+ * @wapfaces.tag
  *       componentFamily="UIForm"
  *       rendererType="FormRenderer"
  *       tagName="form"
  *       tagBaseClass="org.apache.myfaces.wap.base.ComponentTagBase"
  *       bodyContent="JSP"
- * 
- * @author  <a href="mailto:Jiri.Zaloudek@ivancice.cz">Jiri Zaloudek</a> (latest modification by $Author$)
- * @version $Revision$ $Date$ 
- * $Log$
- * Revision 1.1  2004/12/30 09:37:25  matzew
- * added a new RenderKit for WML. Thanks to Jirí Žaloudek
  *
+ * @author  <a href="mailto:Jiri.Zaloudek@ivancice.cz">Jiri Zaloudek</a> (latest modification by $Author$)
+ * @version $Revision$ $Date$
  */ 
 
 
 public class Form extends javax.faces.component.UIForm {
-    
+
     // ============= ABSTARACT ATTRIBUTES ======================================
     /**
      * The component identifier for the associated component.
@@ -53,16 +49,16 @@
      *     inherit="true"
      */
     java.lang.String id;
-    
+
     /**
-     * Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. 
+     * Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
      *
      * @wapfaces.attribute
      *     abstract="true"
      *     inherit="true"
      */
     boolean rendered;
-        
+
     /**
      * The value binding expression linking this component to a property in a backing bean.
      *
@@ -71,5 +67,5 @@
      *     inherit="true"
      */
     java.lang.String binding;
-        
+
 }

Modified: myfaces/trunk/src/wml/org/apache/myfaces/wap/def/GraphicImage.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/wml/org/apache/myfaces/wap/def/GraphicImage.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/wml/org/apache/myfaces/wap/def/GraphicImage.java (original)
+++ myfaces/trunk/src/wml/org/apache/myfaces/wap/def/GraphicImage.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
 /*
  * Copyright 2004 The Apache Software Foundation.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -15,31 +15,27 @@
  */
 package org.apache.myfaces.wap.def;
 
-/**  
- * Renders an WML "img" element. Render the value of the component as the value of the "src" attribute, 
- * after passing it to the getResourceURL() method of the ViewHandler for this application, and passing the result 
- * through the encodeResourceURL() method of theExternalContext. 
- * Render the value of the alt attribute as the value of the "alt" attribute. 
- * If the "styleClass" attribute is specified, render its value as the value of the "class" attribute. 
+/**
+ * Renders an WML "img" element. Render the value of the component as the value of the "src" attribute,
+ * after passing it to the getResourceURL() method of the ViewHandler for this application, and passing the result
+ * through the encodeResourceURL() method of theExternalContext.
+ * Render the value of the alt attribute as the value of the "alt" attribute.
+ * If the "styleClass" attribute is specified, render its value as the value of the "class" attribute.
  *
- * @wapfaces.tag 
+ * @wapfaces.tag
  *       componentFamily="UIGraphic"
  *       rendererType="ImageRenderer"
  *       tagName="graphicImage"
  *       tagBaseClass="org.apache.myfaces.wap.base.ComponentTagBase"
  *       bodyContent="empty"
- * 
- * @author  <a href="mailto:Jiri.Zaloudek@ivancice.cz">Jiri Zaloudek</a> (latest modification by $Author$)
- * @version $Revision$ $Date$ 
- * $Log$
- * Revision 1.1  2004/12/30 09:37:25  matzew
- * added a new RenderKit for WML. Thanks to Jirí Žaloudek
  *
- */ 
+ * @author  <a href="mailto:Jiri.Zaloudek@ivancice.cz">Jiri Zaloudek</a> (latest modification by $Author$)
+ * @version $Revision$ $Date$
+ */
 
 
 public class GraphicImage extends javax.faces.component.UIGraphic {
-    
+
     /**
      * This attribute specifies an alternative textual representation for the image. This representation is used when the image can not be displayed using any other method (i.e., the user agent does not support images, or the image contents can not be found).
      *
@@ -57,7 +53,7 @@
      *    required="true"
      */
     java.lang.String url;
-    
+
     /**
      * This attribute specifies an alternative internal representation for the image. This representation is used if it exists; otherwise the image is downloaded from the URI specified in the src attribute, i.e., any localsrc parameter specified takes precedence over the image specified in the src parameter.
      *
@@ -105,7 +101,7 @@
      *     valueBinding="true"
      */
     java.lang.String width;
-    
+
     /**
      * The attribute styleClass affiliates an element with one or more classes. Multiple elements can be given the same styleClass name.
      *
@@ -121,7 +117,7 @@
      *     valueBinding="true"
      */
     java.lang.String xmllang;
-    
+
     /**
      * The current value of this component.
      *
@@ -140,16 +136,16 @@
      *     inherit="true"
      */
     java.lang.String id;
-    
+
     /**
-     * Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. 
+     * Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
      *
      * @wapfaces.attribute
      *     abstract="true"
      *     inherit="true"
      */
     boolean rendered;
-        
+
     /**
      * The value binding expression linking this component to a property in a backing bean.
      *
@@ -157,5 +153,5 @@
      *     abstract="true"
      *     inherit="true"
      */
-    java.lang.String binding;    
+    java.lang.String binding;
 }

Modified: myfaces/trunk/src/wml/org/apache/myfaces/wap/def/InputSecret.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/wml/org/apache/myfaces/wap/def/InputSecret.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/wml/org/apache/myfaces/wap/def/InputSecret.java (original)
+++ myfaces/trunk/src/wml/org/apache/myfaces/wap/def/InputSecret.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
 /*
  * Copyright 2004 The Apache Software Foundation.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -15,44 +15,40 @@
  */
 package org.apache.myfaces.wap.def;
 
-/**  
+/**
  * The inputSecret tag represents an security input field (a text field where the user can enter some text). Default value sets the attribute "value".
- * If the "styleClass" attribute is present, render its value as the value of the "class" attribute. 
+ * If the "styleClass" attribute is present, render its value as the value of the "class" attribute.
  *
- * @wapfaces.tag 
+ * @wapfaces.tag
  *       componentFamily="UIInput"
  *       rendererType="InputSecretRenderer"
  *       tagName="inputSecret"
  *       tagBaseClass="org.apache.myfaces.wap.base.EditableValueHolderTagBase"
  *       bodyContent="JSP"
- * 
- * @author  <a href="mailto:Jiri.Zaloudek@ivancice.cz">Jiri Zaloudek</a> (latest modification by $Author$)
- * @version $Revision$ $Date$ 
- * $Log$
- * Revision 1.1  2004/12/30 09:37:25  matzew
- * added a new RenderKit for WML. Thanks to Jirí Žaloudek
  *
- */ 
+ * @author  <a href="mailto:Jiri.Zaloudek@ivancice.cz">Jiri Zaloudek</a> (latest modification by $Author$)
+ * @version $Revision$ $Date$
+ */
 
 
 public class InputSecret extends javax.faces.component.UIInput {
-        
+
     /**
      * The name of the variable that is set with the result of the user's input.
      *
      * @wapfaces.attribute
      *     valueBinding="true"
      */
-    java.lang.String name;    
-    
+    java.lang.String name;
+
     /**
      * Sets whether the user can leave the input field blank or not. Default is "false"
      *
      * @wapfaces.attribute
      *     valueBinding="true"
      */
-    boolean emptyok;    
-    
+    boolean emptyok;
+
     /**
      * Sets the data format for the input field. Default is "*M".
      * A = uppercase alphabetic or punctuation characters
@@ -68,40 +64,40 @@
      * @wapfaces.attribute
      *     valueBinding="true"
      */
-    java.lang.String format;    
-    
+    java.lang.String format;
+
     /**
      * Sets the maximum number of characters the user can enter in the field
      *
      * @wapfaces.attribute
      *     valueBinding="true"
      */
-    java.lang.String maxlength;    
-    
+    java.lang.String maxlength;
+
     /**
      * Sets the width of the input field
      *
      * @wapfaces.attribute
      *     valueBinding="true"
      */
-    java.lang.String size;    
-    
+    java.lang.String size;
+
     /**
      * Sets the tabbing position for the input field
      *
      * @wapfaces.attribute
      *     valueBinding="true"
      */
-    java.lang.String tabindex;    
-    
+    java.lang.String tabindex;
+
     /**
      * Sets a title for the input field
      *
      * @wapfaces.attribute
      *     valueBinding="true"
      */
-    java.lang.String title;        
-    
+    java.lang.String title;
+
     /**
      * The xml:lang attribute specifies the natural or formal language of an element or its attributes.
      *
@@ -109,16 +105,16 @@
      *     valueBinding="true"
      */
     java.lang.String xmllang;
-    
+
     /**
-     * Space-separated list of style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup. 
+     * Space-separated list of style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.
      *
      * @wapfaces.attribute
      *     valueBinding="true"
      */
     java.lang.String styleClass;
-    
-    
+
+
     // ============= ABSTARACT ATTRIBUTES ======================================
     /**
      * The component identifier for the associated component.
@@ -128,16 +124,16 @@
      *     inherit="true"
      */
     java.lang.String id;
-    
+
     /**
-     * Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. 
+     * Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
      *
      * @wapfaces.attribute
      *     abstract="true"
      *     inherit="true"
      */
     boolean rendered;
-        
+
     /**
      * The value binding expression linking this component to a property in a backing bean.
      *
@@ -145,26 +141,26 @@
      *     abstract="true"
      *     inherit="true"
      */
-    java.lang.String binding;     
+    java.lang.String binding;
 
     /**
-     * Converter instance registered with this component. 
+     * Converter instance registered with this component.
      *
      * @wapfaces.attribute
      *     abstract="true"
      *     inherit="true"
      */
-    java.lang.String converter;     
+    java.lang.String converter;
 
     /**
-     * Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase. 
+     * Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.
      *
      * @wapfaces.attribute
      *     inherit="true"
      *     abstract="true"
      */
     java.lang.Object immediate;
-    
+
     /**
      * The current value of this component.
      *
@@ -173,32 +169,32 @@
      *     abstract="true"
      */
     java.lang.Object value;
-    
+
     /**
-     * Flag indicating that the user is required to provide a submitted value for this input component. 
+     * Flag indicating that the user is required to provide a submitted value for this input component.
      *
      * @wapfaces.attribute
      *     abstract="true"
      *     inherit="true"
      */
-    java.lang.String required;     
-    
+    java.lang.String required;
+
     /**
-     * MethodBinding representing a validator method that will be called during Process Validations to perform correctness checks on the value of this component. The expression must evaluate to a public method that takes FacesContext, UIComponent, and Object parameters, with a return type of void. 
+     * MethodBinding representing a validator method that will be called during Process Validations to perform correctness checks on the value of this component. The expression must evaluate to a public method that takes FacesContext, UIComponent, and Object parameters, with a return type of void.
      *
      * @wapfaces.attribute
      *     abstract="true"
      *     inherit="true"
      */
-    java.lang.String validator;     
-    
+    java.lang.String validator;
+
     /**
-     * MethodBinding representing a value change listener method that will be notified when a new value has been set for this input component. The expression must evaluate to a public method that takes a ValueChangeEvent parameter, with a return type of void. 
+     * MethodBinding representing a value change listener method that will be notified when a new value has been set for this input component. The expression must evaluate to a public method that takes a ValueChangeEvent parameter, with a return type of void.
      *
      * @wapfaces.attribute
      *     abstract="true"
      *     inherit="true"
      */
-    java.lang.String valueChangeListener;     
-       
+    java.lang.String valueChangeListener;
+
 }

Modified: myfaces/trunk/src/wml/org/apache/myfaces/wap/def/InputText.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/wml/org/apache/myfaces/wap/def/InputText.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/wml/org/apache/myfaces/wap/def/InputText.java (original)
+++ myfaces/trunk/src/wml/org/apache/myfaces/wap/def/InputText.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
 /*
  * Copyright 2004 The Apache Software Foundation.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -15,24 +15,20 @@
  */
 package org.apache.myfaces.wap.def;
 
-/**  
+/**
  * The inputText tag represents an input field (a text field where the user can enter some text). Default value sets the attribute "value".
- * If the "styleClass" attribute is present, render its value as the value of the "class" attribute. 
+ * If the "styleClass" attribute is present, render its value as the value of the "class" attribute.
  *
- * @wapfaces.tag 
+ * @wapfaces.tag
  *       componentFamily="UIInput"
  *       rendererType="InputTextRenderer"
  *       tagName="inputText"
  *       tagBaseClass="org.apache.myfaces.wap.base.EditableValueHolderTagBase"
  *       bodyContent="JSP"
- * 
- * @author  <a href="mailto:Jiri.Zaloudek@ivancice.cz">Jiri Zaloudek</a> (latest modification by $Author$)
- * @version $Revision$ $Date$ 
- * $Log$
- * Revision 1.1  2004/12/30 09:37:25  matzew
- * added a new RenderKit for WML. Thanks to Jirí Žaloudek
  *
- */ 
+ * @author  <a href="mailto:Jiri.Zaloudek@ivancice.cz">Jiri Zaloudek</a> (latest modification by $Author$)
+ * @version $Revision$ $Date$
+ */
 
 
 public class InputText extends javax.faces.component.UIInput {
@@ -43,16 +39,16 @@
      * @wapfaces.attribute
      *     valueBinding="true"
      */
-    java.lang.String name;    
-    
+    java.lang.String name;
+
     /**
      * Sets whether the user can leave the input field blank or not. Default is "false"
      *
      * @wapfaces.attribute
      *     valueBinding="true"
      */
-    boolean emptyok;    
-    
+    boolean emptyok;
+
     /**
      * Sets the data format for the input field. Default is "*M".
      * A = uppercase alphabetic or punctuation characters
@@ -68,40 +64,40 @@
      * @wapfaces.attribute
      *     valueBinding="true"
      */
-    java.lang.String format;    
-    
+    java.lang.String format;
+
     /**
      * Sets the maximum number of characters the user can enter in the field
      *
      * @wapfaces.attribute
      *     valueBinding="true"
      */
-    java.lang.String maxlength;    
-    
+    java.lang.String maxlength;
+
     /**
      * Sets the width of the input field
      *
      * @wapfaces.attribute
      *     valueBinding="true"
      */
-    java.lang.String size;    
-    
+    java.lang.String size;
+
     /**
      * Sets the tabbing position for the input field
      *
      * @wapfaces.attribute
      *     valueBinding="true"
      */
-    java.lang.String tabindex;    
-    
+    java.lang.String tabindex;
+
     /**
      * Sets a title for the input field
      *
      * @wapfaces.attribute
      *     valueBinding="true"
      */
-    java.lang.String title;        
-    
+    java.lang.String title;
+
     /**
      * The xml:lang attribute specifies the natural or formal language of an element or its attributes.
      *
@@ -109,16 +105,16 @@
      *     valueBinding="true"
      */
     java.lang.String xmllang;
-    
+
     /**
-     * Space-separated list of style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup. 
+     * Space-separated list of style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.
      *
      * @wapfaces.attribute
      *     valueBinding="true"
      */
     java.lang.String styleClass;
-    
-    
+
+
     // ============= ABSTARACT ATTRIBUTES ======================================
     /**
      * The component identifier for the associated component.
@@ -128,16 +124,16 @@
      *     inherit="true"
      */
     java.lang.String id;
-    
+
     /**
-     * Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. 
+     * Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
      *
      * @wapfaces.attribute
      *     abstract="true"
      *     inherit="true"
      */
     boolean rendered;
-        
+
     /**
      * The value binding expression linking this component to a property in a backing bean.
      *
@@ -145,26 +141,26 @@
      *     abstract="true"
      *     inherit="true"
      */
-    java.lang.String binding;     
+    java.lang.String binding;
 
     /**
-     * Converter instance registered with this component. 
+     * Converter instance registered with this component.
      *
      * @wapfaces.attribute
      *     abstract="true"
      *     inherit="true"
      */
-    java.lang.String converter;     
+    java.lang.String converter;
 
     /**
-     * Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase. 
+     * Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.
      *
      * @wapfaces.attribute
      *     inherit="true"
      *     abstract="true"
      */
     boolean immediate;
-    
+
     // ============= ABSTARACT ATTRIBUTES ======================================
     /**
      * The current value of this component.
@@ -174,31 +170,31 @@
      *     abstract="true"
      */
     java.lang.Object value;
-    
+
     /**
-     * Flag indicating that the user is required to provide a submitted value for this input component. 
+     * Flag indicating that the user is required to provide a submitted value for this input component.
      *
      * @wapfaces.attribute
      *     abstract="true"
      *     inherit="true"
      */
-    boolean required;     
-    
+    boolean required;
+
     /**
-     * MethodBinding representing a validator method that will be called during Process Validations to perform correctness checks on the value of this component. The expression must evaluate to a public method that takes FacesContext, UIComponent, and Object parameters, with a return type of void. 
+     * MethodBinding representing a validator method that will be called during Process Validations to perform correctness checks on the value of this component. The expression must evaluate to a public method that takes FacesContext, UIComponent, and Object parameters, with a return type of void.
      *
      * @wapfaces.attribute
      *     abstract="true"
      *     inherit="true"
      */
-    java.lang.String validator;     
-    
+    java.lang.String validator;
+
     /**
-     * MethodBinding representing a value change listener method that will be notified when a new value has been set for this input component. The expression must evaluate to a public method that takes a ValueChangeEvent parameter, with a return type of void. 
+     * MethodBinding representing a value change listener method that will be notified when a new value has been set for this input component. The expression must evaluate to a public method that takes a ValueChangeEvent parameter, with a return type of void.
      *
      * @wapfaces.attribute
      *     abstract="true"
      *     inherit="true"
      */
-    java.lang.String valueChangeListener;            
+    java.lang.String valueChangeListener;
 }

Modified: myfaces/trunk/src/wml/org/apache/myfaces/wap/def/Message.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/wml/org/apache/myfaces/wap/def/Message.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/wml/org/apache/myfaces/wap/def/Message.java (original)
+++ myfaces/trunk/src/wml/org/apache/myfaces/wap/def/Message.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
 /*
  * Copyright 2004 The Apache Software Foundation.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -19,29 +19,25 @@
  * Render a single message for a specific component.
  *
  * Set-up for Rendering
- * Obtain the "summary" and "detail" properties fromUIMessage component. If not present, keep the empty string as the value, respectively. Obtain the firstFacesMessage to render from the component, using the "for" property of the UIMessage. This will be the only message we render. 
+ * Obtain the "summary" and "detail" properties fromUIMessage component. If not present, keep the empty string as the value, respectively. Obtain the firstFacesMessage to render from the component, using the "for" property of the UIMessage. This will be the only message we render.
  *
  * Rendering
- * For the message renderer, we only render one row, for the first message. For the messages renderer, we render as many rows as we have messages. 
+ * For the message renderer, we only render one row, for the first message. For the messages renderer, we render as many rows as we have messages.
  *
- * @wapfaces.tag 
+ * @wapfaces.tag
  *       componentFamily="UIMessage"
  *       rendererType="MessageRenderer"
  *       tagName="message"
  *       tagBaseClass="org.apache.myfaces.wap.base.MessageTagBase"
  *       bodyContent="JSP"
- * 
- * @author  <a href="mailto:Jiri.Zaloudek@ivancice.cz">Jiri Zaloudek</a> (latest modification by $Author$)
- * @version $Revision$ $Date$ 
- * $Log$
- * Revision 1.1  2004/12/30 09:37:25  matzew
- * added a new RenderKit for WML. Thanks to Jirí Žaloudek
  *
- */ 
+ * @author  <a href="mailto:Jiri.Zaloudek@ivancice.cz">Jiri Zaloudek</a> (latest modification by $Author$)
+ * @version $Revision$ $Date$
+ */
 
 
 public class Message extends javax.faces.component.UIMessage {
-        
+
     // ============= ABSTARACT ATTRIBUTES ======================================
     /**
      * The component identifier for the associated component.
@@ -51,16 +47,16 @@
      *     inherit="true"
      */
     java.lang.String id;
-    
+
     /**
-     * Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. 
+     * Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
      *
      * @wapfaces.attribute
      *     abstract="true"
      *     inherit="true"
      */
     boolean rendered;
-        
+
     /**
      * The value binding expression linking this component to a property in a backing bean.
      *
@@ -68,37 +64,37 @@
      *     abstract="true"
      *     inherit="true"
      */
-    java.lang.String binding; 
+    java.lang.String binding;
 
     /**
-     * Client identifier of the component for which to display messages. 
+     * Client identifier of the component for which to display messages.
      *
      * @wapfaces.attribute
      *     required="true"
      *     abstract="true"
      *     inherit="true"
-     *     replaceWith="for" 
+     *     replaceWith="for"
      */
     java.lang.String forComponent;
-    
+
      /**
-     * Flag indicating whether the summary portion of displayed messages should be included. Default value is "true". 
+     * Flag indicating whether the summary portion of displayed messages should be included. Default value is "true".
      *
      * @wapfaces.attribute
-     *     initValue="true" 
+     *     initValue="true"
      *     abstract="true"
      *     inherit="true"
      */
     boolean showDetail;
-    
+
      /**
-     * Flag indicating whether the summary portion of displayed messages should be included. Default value is "false". 
+     * Flag indicating whether the summary portion of displayed messages should be included. Default value is "false".
      *
      * @wapfaces.attribute
-     *     initValue="false" 
+     *     initValue="false"
      *     abstract="true"
      *     inherit="true"
      */
     boolean showSummary;
-    
+
 }