You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sk...@apache.org on 2008/07/04 00:15:47 UTC

svn commit: r673847 [3/3] - in /myfaces/core/trunk_1.2.x/api/src/main/java/javax/faces/component: ./ html/

Modified: myfaces/core/trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlSelectOneMenu.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlSelectOneMenu.java?rev=673847&r1=673846&r2=673847&view=diff
==============================================================================
--- myfaces/core/trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlSelectOneMenu.java (original)
+++ myfaces/core/trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlSelectOneMenu.java Thu Jul  3 15:15:26 2008
@@ -19,63 +19,63 @@
  * specific language governing permissions and limitations
  * under the License.
 */
-package javax.faces.component.html;
-
+package javax.faces.component.html;
+
 import javax.faces.component.UISelectOne;
 
 import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent;
-
-/**
- *
- * Allow the user to choose one option from a set of options.
- * <p>
- * Renders a drop-down menu (aka "combo-box") containing a set of
- * choices, of which only one can be chosen at a time. The available
- * choices are defined via child f:selectItem or f:selectItems
- * elements.
- * <p>
- * The value attribute of this component is read to determine
- * which of the available options is initially selected; its value
- * should match the "value" property of one of the child SelectItem
- * objects.
- * <p>
- * On submit of the enclosing form, the value attribute's bound property
- * is updated to contain the "value" property from the chosen SelectItem.
- * <p>
- * Unless otherwise specified, all attributes accept static values
- * or EL expressions.
- *
- * <h4>Events:</h4>
- * <table border="1" width="100%" cellpadding="3" summary="">
- * <tr bgcolor="#CCCCFF" class="TableHeadingColor">
- * <th align="left">Type</th>
- * <th align="left">Phases</th>
- * <th align="left">Description</th>
- * </tr>
- * <tr class="TableRowColor">
- * <td valign="top"><code>javax.faces.event.ValueChangeEvent</code></td>
- * <td valign="top" nowrap></td>
- * <td valign="top">The valueChange event is delivered when the value
-                attribute is changed.</td>
- * </tr>
- * </table>
- */
-@JSFComponent
+
+/**
+ *
+ * Allow the user to choose one option from a set of options.
+ * <p>
+ * Renders a drop-down menu (aka "combo-box") containing a set of
+ * choices, of which only one can be chosen at a time. The available
+ * choices are defined via child f:selectItem or f:selectItems
+ * elements.
+ * <p>
+ * The value attribute of this component is read to determine
+ * which of the available options is initially selected; its value
+ * should match the "value" property of one of the child SelectItem
+ * objects.
+ * <p>
+ * On submit of the enclosing form, the value attribute's bound property
+ * is updated to contain the "value" property from the chosen SelectItem.
+ * <p>
+ * Unless otherwise specified, all attributes accept static values
+ * or EL expressions.
+ *
+ * <h4>Events:</h4>
+ * <table border="1" width="100%" cellpadding="3" summary="">
+ * <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ * <th align="left">Type</th>
+ * <th align="left">Phases</th>
+ * <th align="left">Description</th>
+ * </tr>
+ * <tr class="TableRowColor">
+ * <td valign="top"><code>javax.faces.event.ValueChangeEvent</code></td>
+ * <td valign="top" nowrap></td>
+ * <td valign="top">The valueChange event is delivered when the value
+                attribute is changed.</td>
+ * </tr>
+ * </table>
+ */
+@JSFComponent
 (name = "h:selectOneMenu",
-clazz = "javax.faces.component.html.HtmlSelectOneMenu",template=true,
-tagClass = "org.apache.myfaces.taglib.html.HtmlSelectOneMenuTag",
-defaultRendererType = "javax.faces.Menu"
-)
+clazz = "javax.faces.component.html.HtmlSelectOneMenu",template=true,
+tagClass = "org.apache.myfaces.taglib.html.HtmlSelectOneMenuTag",
+defaultRendererType = "javax.faces.Menu"
+)
 abstract class _HtmlSelectOneMenu extends UISelectOne implements
 _AccesskeyProperty, _UniversalProperties, _Disabled_ReadonlyProperties,
 _Focus_BlurProperties, _Change_SelectProperties, _EventProperties,
 _StyleProperties, _TabindexProperty, _DisabledClass_EnabledClassProperties,
-_LabelProperty
-{
-
-  static public final String COMPONENT_FAMILY =
-    "javax.faces.SelectOne";
-  static public final String COMPONENT_TYPE =
-    "javax.faces.HtmlSelectOneMenu";
-
-}
+_LabelProperty
+{
+
+  static public final String COMPONENT_FAMILY =
+    "javax.faces.SelectOne";
+  static public final String COMPONENT_TYPE =
+    "javax.faces.HtmlSelectOneMenu";
+
+}

Modified: myfaces/core/trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlSelectOneRadio.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlSelectOneRadio.java?rev=673847&r1=673846&r2=673847&view=diff
==============================================================================
--- myfaces/core/trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlSelectOneRadio.java (original)
+++ myfaces/core/trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlSelectOneRadio.java Thu Jul  3 15:15:26 2008
@@ -19,63 +19,63 @@
  * specific language governing permissions and limitations
  * under the License.
 */
-package javax.faces.component.html;
-
+package javax.faces.component.html;
+
 import javax.faces.component.UISelectOne;
 
 import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent;
-
-/**
- *
- * Allow the user to choose one option from a set of options.
- * <p>
- * Renders as an HTML table element, containing an input element for
- * each child f:selectItem or f:selectItems elements.  The input
- * elements are rendered as type radio.
- * <p>
- * The value attribute of this component is read to determine
- * which of the available options is initially selected; its value should
- * match the "value" property of one of the child SelectItem objects.
- * <p>
- * On submit of the enclosing form, the value attribute's bound property
- * is updated to contain the "value" property from the chosen SelectItem.
- * <p>
- * Unless otherwise specified, all attributes accept static values
- * or EL expressions.
- *
- * <h4>Events:</h4>
- * <table border="1" width="100%" cellpadding="3" summary="">
- * <tr bgcolor="#CCCCFF" class="TableHeadingColor">
- * <th align="left">Type</th>
- * <th align="left">Phases</th>
- * <th align="left">Description</th>
- * </tr>
- * <tr class="TableRowColor">
- * <td valign="top"><code>javax.faces.event.ValueChangeEvent</code></td>
- * <td valign="top" nowrap></td>
- * <td valign="top">The valueChange event is delivered when the value
-                attribute is changed.</td>
- * </tr>
- * </table>
- */
-@JSFComponent
+
+/**
+ *
+ * Allow the user to choose one option from a set of options.
+ * <p>
+ * Renders as an HTML table element, containing an input element for
+ * each child f:selectItem or f:selectItems elements.  The input
+ * elements are rendered as type radio.
+ * <p>
+ * The value attribute of this component is read to determine
+ * which of the available options is initially selected; its value should
+ * match the "value" property of one of the child SelectItem objects.
+ * <p>
+ * On submit of the enclosing form, the value attribute's bound property
+ * is updated to contain the "value" property from the chosen SelectItem.
+ * <p>
+ * Unless otherwise specified, all attributes accept static values
+ * or EL expressions.
+ *
+ * <h4>Events:</h4>
+ * <table border="1" width="100%" cellpadding="3" summary="">
+ * <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ * <th align="left">Type</th>
+ * <th align="left">Phases</th>
+ * <th align="left">Description</th>
+ * </tr>
+ * <tr class="TableRowColor">
+ * <td valign="top"><code>javax.faces.event.ValueChangeEvent</code></td>
+ * <td valign="top" nowrap></td>
+ * <td valign="top">The valueChange event is delivered when the value
+                attribute is changed.</td>
+ * </tr>
+ * </table>
+ */
+@JSFComponent
 (name = "h:selectOneRadio",
-clazz = "javax.faces.component.html.HtmlSelectOneRadio",template=true,
-tagClass = "org.apache.myfaces.taglib.html.HtmlSelectOneRadioTag",
-defaultRendererType = "javax.faces.Radio"
-)
+clazz = "javax.faces.component.html.HtmlSelectOneRadio",template=true,
+tagClass = "org.apache.myfaces.taglib.html.HtmlSelectOneRadioTag",
+defaultRendererType = "javax.faces.Radio"
+)
 abstract class _HtmlSelectOneRadio extends UISelectOne implements
 _AccesskeyProperty, _UniversalProperties, _Disabled_ReadonlyProperties,
 _Focus_BlurProperties, _Change_SelectProperties, _EventProperties,
 _StyleProperties, _TabindexProperty, _DisabledClass_EnabledClassProperties,
-_LabelProperty
-{
-
-  static public final String COMPONENT_FAMILY =
-    "javax.faces.SelectOne";
-  static public final String COMPONENT_TYPE =
-    "javax.faces.HtmlSelectOneRadio";
-
+_LabelProperty
+{
+
+  static public final String COMPONENT_FAMILY =
+    "javax.faces.SelectOne";
+  static public final String COMPONENT_TYPE =
+    "javax.faces.HtmlSelectOneRadio";
+
   /**
    * Width in pixels of the border to be drawn around the table containing the options list.
    * 
@@ -92,5 +92,5 @@
    * @JSFProperty
    */
   public abstract String getLayout();
-
-}
+
+}