myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bara...@apache.org
Subject svn commit: r481482 [3/3] - in /myfaces/core/branches/jsf12: api/src/main/java/javax/faces/component/html/ api/src/main/resources/javax/faces/component/html/ build/ build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/ build/sr...
Date Sat, 02 Dec 2006 01:24:38 GMT
Added: myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlPanelGrid.xml
URL: http://svn.apache.org/viewvc/myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlPanelGrid.xml?view=auto&rev=481482
==============================================================================
--- myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlPanelGrid.xml
(added)
+++ myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlPanelGrid.xml
Fri Dec  1 17:24:28 2006
@@ -0,0 +1,122 @@
+<?xml version="1.0" ?>
+<!--
+  Copyright 2006 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.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
+              xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin"
+              xmlns:h="http://java.sun.com/jsf/html"
+              xmlns:xi="http://www.w3.org/2001/XInclude">
+    <component>
+        <description>This element renders as an HTML table with specified number of
+columns.  Children of this element are rendered as cells in the
+table, filling rows from left to right.  Facets named "header"
+and "footer" are optional and specify the content of the thead
+and tfoot rows, respectively.
+
+Unless otherwise specified, all attributes accept static values
+or EL expressions.</description>
+        <component-class>javax.faces.component.html.HtmlPanelGrid</component-class>
+        <component-type>javax.faces.HtmlPanelGrid</component-type>
+
+        <!-- ################################ defined Properties ################################
-->
+        <!-- # from super classes:                                                   
          # -->
+        <!-- #     id, binding, rendered, transient                                  
          # -->
+        <!-- ####################################################################################
-->
+
+        <!-- dir, lang, style, styleClass, title -->
+        <xi:include href="../../../includes/html/_UniversalProperties.xml" xpointer="/faces_config/component/*"
/>
+
+        <!-- onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout,
onkeypress, onkeydown, onkeyup-->
+        <xi:include href="../../../includes/html/_EventHandlerProperties.xml" xpointer="/faces_config/component/*"
/>
+
+        <!-- border, bgcolor, cellpadding, cellspacing, frame, rules, summary, width-->
+        <xi:include href="../../../includes/html/_TableProperties.xml" xpointer="/faces_config/component/*"
/>
+
+        <property>
+			<description>Specifies the number of columns in the grid.</description>
+			<property-name>columns</property-name>
+            <property-class>int</property-class>
+            <default-value>1</default-value>
+            <property-extension>
+				<mfp:required>false</mfp:required>
+			</property-extension>
+		</property>
+
+        <property>
+			<description>CSS style to be used for the caption.</description>
+			<property-name>captionStyle</property-name>
+            <property-class>java.lang.String</property-class>
+            <property-extension>
+				<mfp:required>false</mfp:required>
+			</property-extension>
+		</property>
+
+        <property>
+			<description>CSS class to be used for the caption.</description>
+			<property-name>captionClass</property-name>
+            <property-class>java.lang.String</property-class>
+            <property-extension>
+				<mfp:required>false</mfp:required>
+			</property-extension>
+		</property>
+
+        <property>
+			<description>CSS class to be used for the columns.</description>
+			<property-name>columnClasses</property-name>
+            <property-class>java.lang.String</property-class>
+            <property-extension>
+				<mfp:required>false</mfp:required>
+			</property-extension>
+		</property>
+
+        <property>
+			<description>CSS class to be used for the footer.</description>
+			<property-name>footerClass</property-name>
+            <property-class>java.lang.String</property-class>
+            <property-extension>
+				<mfp:required>false</mfp:required>
+			</property-extension>
+		</property>
+
+        <property>
+			<description>CSS class to be used for the header.</description>
+			<property-name>headerClass</property-name>
+            <property-class>java.lang.String</property-class>
+            <property-extension>
+				<mfp:required>false</mfp:required>
+			</property-extension>
+		</property>
+
+        <property>
+			<description>CSS class to be used for the rows.</description>
+			<property-name>rowClasses</property-name>
+            <property-class>java.lang.String</property-class>
+            <property-extension>
+				<mfp:required>false</mfp:required>
+			</property-extension>
+		</property>
+
+        <component-extension>
+            <mfp:component-family>javax.faces.Panel</mfp:component-family>
+            <mfp:component-superclass>javax.faces.component.UIPanel</mfp:component-superclass>
+            <mfp:component-supertype>javax.faces.Panel</mfp:component-supertype>
+
+            <mfp:tag-name>h:panelGrid</mfp:tag-name>
+            <mfp:tag-class>org.apache.myfaces.taglib.html.HtmlPanelGridTag</mfp:tag-class>
+
+            <mfp:renderer-type>javax.faces.Grid</mfp:renderer-type>
+        </component-extension>
+    </component>
+</faces-config>

Added: myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlPanelGroup.xml
URL: http://svn.apache.org/viewvc/myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlPanelGroup.xml?view=auto&rev=481482
==============================================================================
--- myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlPanelGroup.xml
(added)
+++ myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlPanelGroup.xml
Fri Dec  1 17:24:28 2006
@@ -0,0 +1,59 @@
+<?xml version="1.0" ?>
+<!--
+  Copyright 2006 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.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
+              xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin"
+              xmlns:h="http://java.sun.com/jsf/html"
+              xmlns:xi="http://www.w3.org/2001/XInclude">
+    <component>
+        <description>This element is used to group other components where the
+specification requires one child element. If any of the HTML or
+CSS attributes are set, its content is rendered within a span element.
+Unless otherwise specified, all attributes accept static values
+or EL expressions.</description>
+        <component-class>javax.faces.component.html.HtmlPanelGroup</component-class>
+        <component-type>javax.faces.HtmlPanelGroup</component-type>
+
+        <!-- ################################ defined Properties ################################
-->
+        <!-- # from super classes:                                                   
          # -->
+        <!-- #     id, binding, rendered, transient                                  
          # -->
+        <!-- ####################################################################################
-->
+
+        <xi:include href="../../../includes/html/StyleProperty.xml" xpointer="/faces-config/component/*"/>
+        <xi:include href="../../../includes/html/StyleClassProperty.xml" xpointer="/faces-config/component/*"/>
+
+        <property>
+            <description><![CDATA[The type of layout markup to use when rendering
this group. If the value is "block"
+the renderer must produce an HTML "div" element. Otherwise HTML "span" element must be produced.]]></description>
+            <property-name>layout</property-name>
+            <property-class>java.lang.String</property-class>
+            <property-extension>
+                <mfp:required>false</mfp:required>
+            </property-extension>
+        </property>
+
+        <component-extension>
+            <mfp:component-family>javax.faces.Panel</mfp:component-family>
+            <mfp:component-superclass>javax.faces.component.UIPanel</mfp:component-superclass>
+            <mfp:component-supertype>javax.faces.Panel</mfp:component-supertype>
+
+            <mfp:tag-name>h:panelGroup</mfp:tag-name>
+            <mfp:tag-class>org.apache.myfaces.taglib.html.HtmlPanelGroupTag</mfp:tag-class>
+
+            <mfp:renderer-type>javax.faces.Group</mfp:renderer-type>
+        </component-extension>
+    </component>
+</faces-config>

Added: myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectBooleanCheckbox.xml
URL: http://svn.apache.org/viewvc/myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectBooleanCheckbox.xml?view=auto&rev=481482
==============================================================================
--- myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectBooleanCheckbox.xml
(added)
+++ myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectBooleanCheckbox.xml
Fri Dec  1 17:24:28 2006
@@ -0,0 +1,61 @@
+<?xml version="1.0" ?>
+<!--
+  Copyright 2006 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.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
+              xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin"
+              xmlns:h="http://java.sun.com/jsf/html"
+              xmlns:xi="http://www.w3.org/2001/XInclude">
+    <component>
+        <description><![CDATA[Allow the user to choose a "true" or "false" value,
presented as a
+checkbox.
+<p>
+Renders as an HTML input tag with its type set to "checkbox", and
+its name attribute set to the id. The "checked" attribute is rendered
+if the value of this component is true.
+<p>
+Unless otherwise specified, all attributes accept static values
+or EL expressions.]]></description>
+        <component-class>javax.faces.component.html.HtmlSelectBooleanCheckbox</component-class>
+        <component-type>javax.faces.HtmlSelectBooleanCheckbox</component-type>
+
+        <!-- ################################ defined Properties ################################
-->
+        <!-- # from super classes:                                                   
          # -->
+        <!-- #     id, binding, rendered, transient                                  
          # -->
+        <!-- #     value, converter                                                  
          # -->
+        <!-- #     immediate, required, converterMessage, requiredMessage, validatorMessage,
   # -->
+        <!-- #     validator, valueChangeListener                                    
          # -->
+        <!-- ####################################################################################
-->
+
+        <!--
+            dir, lang, style, styleClass, title,
+            onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout,
onkeypress, onkeydown, onkeyup,
+            onblur, onfocus, onchange, onselect,
+            accesskey, label, tabindex, disabled, readonly
+        -->
+        <xi:include href="../../../includes/html/_InputProperties.xml" xpointer="/faces_config/component/*"
/>
+
+        <component-extension>
+            <mfp:component-family>javax.faces.SelectBoolean</mfp:component-family>
+            <mfp:component-superclass>javax.faces.component.UISelectBoolean</mfp:component-superclass>
+            <mfp:component-supertype>javax.faces.SelectBoolean</mfp:component-supertype>
+
+            <mfp:tag-name>h:selectBooleanCheckbox</mfp:tag-name>
+            <mfp:tag-class>org.apache.myfaces.taglib.html.HtmlSelectBooleanCheckboxTag</mfp:tag-class>
+
+            <mfp:renderer-type>javax.faces.Checkbox</mfp:renderer-type>
+        </component-extension>
+    </component>
+</faces-config>

Added: myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectManyCheckbox.xml
URL: http://svn.apache.org/viewvc/myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectManyCheckbox.xml?view=auto&rev=481482
==============================================================================
--- myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectManyCheckbox.xml
(added)
+++ myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectManyCheckbox.xml
Fri Dec  1 17:24:28 2006
@@ -0,0 +1,81 @@
+<?xml version="1.0" ?>
+<!--
+  Copyright 2006 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.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
+              xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin"
+              xmlns:h="http://java.sun.com/jsf/html"
+              xmlns:xi="http://www.w3.org/2001/XInclude">
+    <component>
+        <description><![CDATA[Allow the user to select zero or more items from a
set of
+available options. This is presented as a table with one cell per
+available option; each cell contains a checkbox and the option's
+label. The "layout" attribute determines whether the checkboxes
+are laid out horizontally or vertically.
+<p>
+The set of available options is defined by adding child
+f:selectItem or f:selectItems components to this component.
+<p>
+The value attribute must be a value-binding expression to a
+property of type List, Object array or primitive array. That
+"collection" is expected to contain objects of the same type as
+SelectItem.getValue() returns for the child SelectItem objects.
+On rendering, any child whose value is in the list will be
+selected initially. During the update phase, the property setter
+is called to replace the original collection with a completely
+new collection object of the appropriate type. The new collection
+object contains the value of each child SelectItem object that
+is currently selected.
+<p>
+Unless otherwise specified, all attributes accept static values
+or EL expressions.]]></description>
+        <component-class>javax.faces.component.html.HtmlSelectManyCheckbox</component-class>
+        <component-type>javax.faces.HtmlSelectManyCheckbox</component-type>
+
+        <!-- ################################ defined Properties ################################
-->
+        <!-- # from super classes:                                                   
          # -->
+        <!-- #     id, binding, rendered, transient                                  
          # -->
+        <!-- #     value, converter                                                  
          # -->
+        <!-- #     immediate, required, converterMessage, requiredMessage, validatorMessage,
   # -->
+        <!-- #     validator, valueChangeListener                                    
          # -->
+        <!-- ####################################################################################
-->
+
+        <!--
+            dir, lang, style, styleClass, title,
+            onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout,
onkeypress, onkeydown, onkeyup,
+            onblur, onfocus, onchange, onselect,
+            accesskey, label, tabindex, disabled, readonly
+        -->
+        <xi:include href="../../../includes/html/_InputProperties.xml" xpointer="/faces_config/component/*"
/>
+
+        <xi:include href="../../../includes/html/BorderProperty.xml" xpointer="/faces_config/component/*"
/>
+
+        <xi:include href="../../../includes/html/EnabledClassProperty.xml" xpointer="/faces_config/component/*"
/>
+        <xi:include href="../../../includes/html/DisabledClassProperty.xml" xpointer="/faces_config/component/*"
/>
+
+        <xi:include href="../../../includes/html/LayoutProperty.xml" xpointer="/faces_config/component/*"
/>
+
+        <component-extension>
+            <mfp:component-family>javax.faces.SelectMany</mfp:component-family>
+            <mfp:component-superclass>javax.faces.component.UISelectMany</mfp:component-superclass>
+            <mfp:component-supertype>javax.faces.SelectMany</mfp:component-supertype>
+
+            <mfp:tag-name>h:selectManyCheckbox</mfp:tag-name>
+            <mfp:tag-class>org.apache.myfaces.taglib.html.HtmlSelectManyCheckboxTag</mfp:tag-class>
+
+            <mfp:renderer-type>javax.faces.Checkbox</mfp:renderer-type>
+        </component-extension>
+    </component>
+</faces-config>

Added: myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectManyListbox.xml
URL: http://svn.apache.org/viewvc/myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectManyListbox.xml?view=auto&rev=481482
==============================================================================
--- myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectManyListbox.xml
(added)
+++ myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectManyListbox.xml
Fri Dec  1 17:24:28 2006
@@ -0,0 +1,81 @@
+<?xml version="1.0" ?>
+<!--
+  Copyright 2006 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.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
+              xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin"
+              xmlns:h="http://java.sun.com/jsf/html"
+              xmlns:xi="http://www.w3.org/2001/XInclude">
+    <component>
+        <description><![CDATA[Allow the user to select zero or more items from a
set of
+available options. This is presented as a listbox which allows
+multiple rows in the list to be selected simultaneously.
+<p>
+The set of available options is defined by adding child
+f:selectItem or f:selectItems components to this component.
+<p>
+The list is rendered as an HTML select element. The "multiple"
+attribute is set on the element and the size attribute is set to
+the provided value, defaulting to the number of items in the list
+if no value is provided. If the size is set to 1, then a
+"drop-down" list (aka "combo-box") is presented, though if this is
+the intention then a selectManyMenu should be used instead.
+<p>
+The value attribute must be a value-binding expression to a
+property of type List, Object array or primitive array. That
+"collection" is expected to contain objects of the same type as
+SelectItem.getValue() returns for the child SelectItem objects.
+On rendering, any child whose value is in the list will be
+selected initially. During the update phase, the property is set
+to contain a "collection" of values for those child SelectItem
+objects that are currently selected.
+<p>
+Unless otherwise specified, all attributes accept static values
+or EL expressions.]]></description>
+        <component-class>javax.faces.component.html.HtmlSelectManyListbox</component-class>
+        <component-type>javax.faces.HtmlSelectManyListbox</component-type>
+
+        <!-- ################################ defined Properties ################################
-->
+        <!-- # from super classes:                                                   
          # -->
+        <!-- #     id, binding, rendered, transient                                  
          # -->
+        <!-- #     value, converter                                                  
          # -->
+        <!-- #     immediate, required, converterMessage, requiredMessage, validatorMessage,
   # -->
+        <!-- #     validator, valueChangeListener                                    
          # -->
+        <!-- ####################################################################################
-->
+
+        <!--
+            dir, lang, style, styleClass, title,
+            onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout,
onkeypress, onkeydown, onkeyup,
+            onblur, onfocus, onchange, onselect,
+            accesskey, label, tabindex, disabled, readonly
+        -->
+        <xi:include href="../../../includes/html/_InputProperties.xml" xpointer="/faces_config/component/*"
/>
+
+        <xi:include href="../../../includes/html/EnabledClassProperty.xml" xpointer="/faces_config/component/*"
/>
+        <xi:include href="../../../includes/html/DisabledClassProperty.xml" xpointer="/faces_config/component/*"
/>
+        <xi:include href="../../../includes/html/SizeProperty.xml" xpointer="/faces_config/component/*"
/>
+
+        <component-extension>
+            <mfp:component-family>javax.faces.SelectMany</mfp:component-family>
+            <mfp:component-superclass>javax.faces.component.UISelectMany</mfp:component-superclass>
+            <mfp:component-supertype>javax.faces.SelectMany</mfp:component-supertype>
+
+            <mfp:tag-name>h:selectManyListbox</mfp:tag-name>
+            <mfp:tag-class>org.apache.myfaces.taglib.html.HtmlSelectManyListboxTag</mfp:tag-class>
+
+            <mfp:renderer-type>javax.faces.Listbox</mfp:renderer-type>
+        </component-extension>
+    </component>
+</faces-config>

Added: myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectManyMenu.xml
URL: http://svn.apache.org/viewvc/myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectManyMenu.xml?view=auto&rev=481482
==============================================================================
--- myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectManyMenu.xml
(added)
+++ myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectManyMenu.xml
Fri Dec  1 17:24:28 2006
@@ -0,0 +1,77 @@
+<?xml version="1.0" ?>
+<!--
+  Copyright 2006 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.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
+              xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin"
+              xmlns:h="http://java.sun.com/jsf/html"
+              xmlns:xi="http://www.w3.org/2001/XInclude">
+    <component>
+        <description><![CDATA[Allow the user to select zero or more items from a
set of available
+options. This is presented as a drop-down "combo-box" which allows
+multiple rows in the list to be selected simultaneously.
+<p>
+The set of available options is defined by adding child
+f:selectItem or f:selectItems components to this component.
+<p>
+Renders as an HTML select element, with the choices made up of
+child f:selectItem or f:selectItems elements. The multiple
+attribute is set and the size attribute is set to 1.
+<p>
+The value attribute must be a value-binding expression to a
+property of type List, Object array or primitive array. That
+"collection" is expected to contain objects of the same type as
+SelectItem.getValue() returns for the child SelectItem objects.
+On rendering, any child whose value is in the list will be
+selected initially. During the update phase, the property is set
+to contain a "collection" of values for those child SelectItem
+objects that are currently selected.
+<p>
+Unless otherwise specified, all attributes accept static values
+or EL expressions.]]></description>
+        <component-class>javax.faces.component.html.HtmlSelectManyMenu</component-class>
+        <component-type>javax.faces.HtmlSelectManyMenu</component-type>
+
+        <!-- ################################ defined Properties ################################
-->
+        <!-- # from super classes:                                                   
          # -->
+        <!-- #     id, binding, rendered, transient                                  
          # -->
+        <!-- #     value, converter                                                  
          # -->
+        <!-- #     immediate, required, converterMessage, requiredMessage, validatorMessage,
   # -->
+        <!-- #     validator, valueChangeListener                                    
          # -->
+        <!-- ####################################################################################
-->
+
+        <!--
+            dir, lang, style, styleClass, title,
+            onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout,
onkeypress, onkeydown, onkeyup,
+            onblur, onfocus, onchange, onselect,
+            accesskey, label, tabindex, disabled, readonly
+        -->
+        <xi:include href="../../../includes/html/_InputProperties.xml" xpointer="/faces_config/component/*"
/>
+
+        <xi:include href="../../../includes/html/EnabledClassProperty.xml" xpointer="/faces_config/component/*"
/>
+        <xi:include href="../../../includes/html/DisabledClassProperty.xml" xpointer="/faces_config/component/*"
/>
+
+        <component-extension>
+            <mfp:component-family>javax.faces.SelectMany</mfp:component-family>
+            <mfp:component-superclass>javax.faces.component.UISelectMany</mfp:component-superclass>
+            <mfp:component-supertype>javax.faces.SelectMany</mfp:component-supertype>
+
+            <mfp:tag-name>h:selectManyMenu</mfp:tag-name>
+            <mfp:tag-class>org.apache.myfaces.taglib.html.HtmlSelectManyMenuTag</mfp:tag-class>
+
+            <mfp:renderer-type>javax.faces.Menu</mfp:renderer-type>
+        </component-extension>        
+    </component>
+</faces-config>

Added: myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectOneListbox.xml
URL: http://svn.apache.org/viewvc/myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectOneListbox.xml?view=auto&rev=481482
==============================================================================
--- myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectOneListbox.xml
(added)
+++ myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectOneListbox.xml
Fri Dec  1 17:24:28 2006
@@ -0,0 +1,78 @@
+<?xml version="1.0" ?>
+<!--
+  Copyright 2006 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.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
+              xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin"
+              xmlns:h="http://java.sun.com/jsf/html"
+              xmlns:xi="http://www.w3.org/2001/XInclude">
+    <component>
+        <description><![CDATA[Allow the user to choose one option from a set of
options.
+<p>
+Rendered as a listbox with the MULTIPLE attribute set to false.
+<p>
+The available choices are defined via child f:selectItem or
+f:selectItems elements. The size of the listbox defaults to the
+number of available choices; if size is explicitly set to a
+smaller value, then scrollbars will be rendered. If size is set
+to 1 then a "drop-down menu" (aka "combo-box") is rendered, though
+if this is the intent then selectOneMenu should be used instead.
+<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.]]></description>
+        <component-class>javax.faces.component.html.HtmlSelectOneListbox</component-class>
+        <component-type>javax.faces.HtmlSelectOneListbox</component-type>
+
+        <!-- ################################ defined Properties ################################
-->
+        <!-- # from super classes:                                                   
          # -->
+        <!-- #     id, binding, rendered, transient                                  
          # -->
+        <!-- #     value, converter                                                  
          # -->
+        <!-- #     immediate, required, converterMessage, requiredMessage, validatorMessage,
   # -->
+        <!-- #     validator, valueChangeListener                                    
          # -->
+        <!-- ####################################################################################
-->
+
+        <!--
+            dir, lang, style, styleClass, title,
+            onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout,
onkeypress, onkeydown, onkeyup,
+            onblur, onfocus, onchange, onselect,
+            accesskey, label, tabindex, disabled, readonly
+        -->
+        <xi:include href="../../../includes/html/_InputProperties.xml" xpointer="/faces_config/component/*"
/>
+
+        <xi:include href="../../../includes/html/EnabledClassProperty.xml" xpointer="/faces_config/component/*"
/>
+        <xi:include href="../../../includes/html/DisabledClassProperty.xml" xpointer="/faces_config/component/*"
/>
+        <xi:include href="../../../includes/html/SizeProperty.xml" xpointer="/faces_config/component/*"
/>
+
+        <component-extension>
+            <mfp:component-family>javax.faces.SelectOne</mfp:component-family>
+            <mfp:component-superclass>javax.faces.component.UISelectOne</mfp:component-superclass>
+            <mfp:component-supertype>javax.faces.SelectOne</mfp:component-supertype>
+
+            <mfp:tag-name>h:selectManyListbox</mfp:tag-name>
+            <mfp:tag-class>org.apache.myfaces.taglib.html.HtmlSelectManyListboxTag</mfp:tag-class>
+
+            <mfp:renderer-type>javax.faces.Listbox</mfp:renderer-type>
+        </component-extension>        
+    </component>
+</faces-config>

Added: myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectOneMenu.xml
URL: http://svn.apache.org/viewvc/myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectOneMenu.xml?view=auto&rev=481482
==============================================================================
--- myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectOneMenu.xml
(added)
+++ myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectOneMenu.xml
Fri Dec  1 17:24:28 2006
@@ -0,0 +1,72 @@
+<?xml version="1.0" ?>
+<!--
+  Copyright 2006 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.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
+              xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin"
+              xmlns:h="http://java.sun.com/jsf/html"
+              xmlns:xi="http://www.w3.org/2001/XInclude">
+    <component>
+        <description><![CDATA[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.]]></description>
+        <component-class>javax.faces.component.html.HtmlSelectOneMenu</component-class>
+        <component-type>javax.faces.HtmlSelectOneMenu</component-type>
+
+        <!-- ################################ defined Properties ################################
-->
+        <!-- # from super classes:                                                   
          # -->
+        <!-- #     id, binding, rendered, transient                                  
          # -->
+        <!-- #     value, converter                                                  
          # -->
+        <!-- #     immediate, required, converterMessage, requiredMessage, validatorMessage,
   # -->
+        <!-- #     validator, valueChangeListener                                    
          # -->
+        <!-- ####################################################################################
-->
+
+        <!--
+            dir, lang, style, styleClass, title,
+            onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout,
onkeypress, onkeydown, onkeyup,
+            onblur, onfocus, onchange, onselect,
+            accesskey, label, tabindex, disabled, readonly
+        -->
+        <xi:include href="../../../includes/html/_InputProperties.xml" xpointer="/faces_config/component/*"
/>
+
+        <xi:include href="../../../includes/html/EnabledClassProperty.xml" xpointer="/faces_config/component/*"
/>
+        <xi:include href="../../../includes/html/DisabledClassProperty.xml" xpointer="/faces_config/component/*"
/>
+
+        <component-extension>
+            <mfp:component-family>javax.faces.SelectOne</mfp:component-family>
+            <mfp:component-superclass>javax.faces.component.UISelectOne</mfp:component-superclass>
+            <mfp:component-supertype>javax.faces.SelectOne</mfp:component-supertype>
+
+            <mfp:tag-name>h:selectOneMenu</mfp:tag-name>
+            <mfp:tag-class>org.apache.myfaces.taglib.html.HtmlSelectOneMenuTag</mfp:tag-class>
+
+            <mfp:renderer-type>javax.faces.Menu</mfp:renderer-type>
+        </component-extension>
+    </component>
+</faces-config>

Added: myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectOneRadio.xml
URL: http://svn.apache.org/viewvc/myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectOneRadio.xml?view=auto&rev=481482
==============================================================================
--- myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectOneRadio.xml
(added)
+++ myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectOneRadio.xml
Fri Dec  1 17:24:28 2006
@@ -0,0 +1,73 @@
+<?xml version="1.0" ?>
+<!--
+  Copyright 2006 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.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
+              xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin"
+              xmlns:h="http://java.sun.com/jsf/html"
+              xmlns:xi="http://www.w3.org/2001/XInclude">
+    <component>
+        <description><![CDATA[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.]]></description>
+        <component-class>javax.faces.component.html.HtmlSelectOneRadio</component-class>
+        <component-type>javax.faces.HtmlSelectOneRadio</component-type>
+
+        <!-- ################################ defined Properties ################################
-->
+        <!-- # from super classes:                                                   
          # -->
+        <!-- #     id, binding, rendered, transient                                  
          # -->
+        <!-- #     value, converter                                                  
          # -->
+        <!-- #     immediate, required, converterMessage, requiredMessage, validatorMessage,
   # -->
+        <!-- #     validator, valueChangeListener                                    
          # -->
+        <!-- ####################################################################################
-->
+
+        <!--
+            dir, lang, style, styleClass, title,
+            onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout,
onkeypress, onkeydown, onkeyup,
+            onblur, onfocus, onchange, onselect,
+            accesskey, label, tabindex, disabled, readonly
+        -->
+        <xi:include href="../../../includes/html/_InputProperties.xml" xpointer="/faces_config/component/*"
/>
+
+        <xi:include href="../../../includes/html/EnabledClassProperty.xml" xpointer="/faces_config/component/*"
/>
+        <xi:include href="../../../includes/html/DisabledClassProperty.xml" xpointer="/faces_config/component/*"
/>
+
+        <xi:include href="../../../includes/html/BorderProperty.xml" xpointer="/faces_config/component/*"
/>
+        <xi:include href="../../../includes/html/LayoutProperty.xml" xpointer="/faces_config/component/*"
/>
+
+        <component-extension>
+            <mfp:component-family>javax.faces.SelectOne</mfp:component-family>
+            <mfp:component-superclass>javax.faces.component.UISelectOne</mfp:component-superclass>
+            <mfp:component-supertype>javax.faces.SelectOne</mfp:component-supertype>
+
+            <mfp:tag-name>h:selectOneRadio</mfp:tag-name>
+            <mfp:tag-class>org.apache.myfaces.taglib.html.HtmlSelectOneRadioTag</mfp:tag-class>
+
+            <mfp:renderer-type>javax.faces.Radio</mfp:renderer-type>
+        </component-extension>
+    </component>
+</faces-config>

Modified: myfaces/core/branches/jsf12/impl/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/core/branches/jsf12/impl/pom.xml?view=diff&rev=481482&r1=481481&r2=481482
==============================================================================
--- myfaces/core/branches/jsf12/impl/pom.xml (original)
+++ myfaces/core/branches/jsf12/impl/pom.xml Fri Dec  1 17:24:28 2006
@@ -82,6 +82,13 @@
             </goals>
           </execution>
         </executions>
+        <dependencies>
+          <dependency>
+            <groupId>log4j</groupId>
+            <artifactId>log4j</artifactId>
+            <version>1.2.12</version>
+          </dependency>
+        </dependencies>
       </plugin>
       <plugin>
         <groupId>org.codehaus.mojo</groupId>

Modified: myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/renderkit/html/HtmlCheckboxRendererTest.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/renderkit/html/HtmlCheckboxRendererTest.java?view=diff&rev=481482&r1=481481&r2=481482
==============================================================================
--- myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/renderkit/html/HtmlCheckboxRendererTest.java
(original)
+++ myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/renderkit/html/HtmlCheckboxRendererTest.java
Fri Dec  1 17:24:28 2006
@@ -80,6 +80,8 @@
 
         String output = writer.getWriter().toString();
 
+      System.out.println(output);
+
         assertEquals("<table><tr>\t\t" +
                 "<td><input id=\"_id0:0\" type=\"checkbox\" name=\"_id0\" value=\"mars\"/><label
for=\"_id0:0\">&#160;mars</label></td>\t\t" +
                 "<td><input id=\"_id0:1\" type=\"checkbox\" name=\"_id0\" value=\"jupiter\"/><label
for=\"_id0:1\">&#160;jupiter</label></td>" +



Mime
View raw message