Author: abelevich
Date: 2007-12-21 14:33:11 -0500 (Fri, 21 Dec 2007)
New Revision: 4962
Modified:
trunk/sandbox/ui/combobox/pom.xml
trunk/sandbox/ui/combobox/src/main/config/component/combobox.xml
trunk/sandbox/ui/combobox/src/main/java/org/richfaces/component/UIComboBox.java
Log:
Modified: trunk/sandbox/ui/combobox/pom.xml
===================================================================
--- trunk/sandbox/ui/combobox/pom.xml 2007-12-21 19:15:11 UTC (rev 4961)
+++ trunk/sandbox/ui/combobox/pom.xml 2007-12-21 19:33:11 UTC (rev 4962)
@@ -8,7 +8,7 @@
<groupId>org.richfaces.sandbox.ui</groupId>
<artifactId>combobox</artifactId>
<name>combobox</name>
- <version>1.0-SNAPSHOT</version>
+ <version>3.2.0-SNAPSHOT</version>
<build>
<plugins>
<plugin>
@@ -46,5 +46,11 @@
<artifactId>richfaces-impl</artifactId>
<version>3.2.0-SNAPSHOT</version>
</dependency>
+ <dependency>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>suggestionbox</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ </dependency>
+
</dependencies>
</project>
\ No newline at end of file
Modified: trunk/sandbox/ui/combobox/src/main/config/component/combobox.xml
===================================================================
--- trunk/sandbox/ui/combobox/src/main/config/component/combobox.xml 2007-12-21 19:15:11
UTC (rev 4961)
+++ trunk/sandbox/ui/combobox/src/main/config/component/combobox.xml 2007-12-21 19:33:11
UTC (rev 4962)
@@ -9,7 +9,7 @@
</classname>
<superclass>org.richfaces.component.UIComboBox</superclass>
<test>
- <classname>org.richfaces.component.html.HtmlComboBoxBoxComponentTest</classname>
+ <classname>org.richfaces.component.html.HtmlComboBoxComponentTest</classname>
<superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
</test>
<description>
@@ -17,71 +17,22 @@
</description>
<renderer generate="false" override="false">
- <name>org.richfaces.ComboBoxBox</name>
+ <name>org.richfaces.ComboBox</name>
<classname>
- org.richfaces.renderkit.html.ComboBoxBoxRenderer
- </classname>
+ org.richfaces.renderkit.html.ComboBoxRenderer
+ </classname>
</renderer>
-
- <tag>
- <name>ComboBox</name>
- <classname>org.richfaces.taglib.ComboBoxBoxTag</classname>
+
+ <tag>
+ <name>comboBox</name>
+ <classname>org.richfaces.taglib.ComboBoxTag</classname>
<superclass>
- org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
- </superclass>
- </tag>
- &ui_component_attributes;
- &ui_component_attributes;
- &ui_output_attributes;
- &ui_data_attributes;
- &ajax_component_attributes;
- &ui_for_attribute;
- &html_universal_attributes;
- &html_table_attributes;
-
- <property>
- <name>immediate</name>
- <classname>boolean</classname>
- <description>
- A flag indicating that this component value must be converted and
validated immediately (that is, during Apply Request Values phase), rather than waiting
until a Process Validations phase.
- </description>
- </property>
- <property required="true">
- <name>width</name>
- <classname>java.lang.String</classname>
- <description>
- Width of the pop-up window in pixels
- </description>
- <defaultvalue>"200"</defaultvalue>
- </property>
- <property required="true">
- <name>height</name>
- <classname>java.lang.String</classname>
- <description>
- Height of the pop-up window in pixels
- </description>
- <defaultvalue>"200"</defaultvalue>
- </property>
- <property hidden="true">
- <name>value</name>
- <classname>java.lang.Object</classname>
- <description>
- Supported types see JSF Spec 4.1.3
- </description>
- </property>
- <property>
- <name>shadowOpacity</name>
- <classname>java.lang.String</classname>
- <description>
- Attribute defines shadow opacity for suggestion content
- </description>
- </property>
- <property>
- <name>shadowDepth</name>
- <classname>java.lang.String</classname>
- <description>
- Pop-up shadow depth for suggestion content
- </description>
- </property>
+ org.richfaces.taglib.SuggestionBoxTag
+ </superclass>
+ </tag>
+
+
+
+
</component>
</components>
Modified: trunk/sandbox/ui/combobox/src/main/java/org/richfaces/component/UIComboBox.java
===================================================================
---
trunk/sandbox/ui/combobox/src/main/java/org/richfaces/component/UIComboBox.java 2007-12-21
19:15:11 UTC (rev 4961)
+++
trunk/sandbox/ui/combobox/src/main/java/org/richfaces/component/UIComboBox.java 2007-12-21
19:33:11 UTC (rev 4962)
@@ -3,7 +3,7 @@
*/
package org.richfaces.component;
-import javax.faces.component.UIData;
+import javax.faces.component.UIInput;
import org.ajax4jsf.component.AjaxComponent;
import org.ajax4jsf.event.AjaxListener;
@@ -14,7 +14,7 @@
* @author Anton Belevich
*
*/
-public abstract class UIComboBox extends UIData implements AjaxComponent, AjaxSource {
+public abstract class UIComboBox extends UIInput implements AjaxComponent, AjaxSource{
public void addAjaxListener(final AjaxListener listener) {
addFacesListener(listener);
Show replies by date