[richfaces-svn-commits] JBoss Rich Faces SVN: r5271 - in trunk/sandbox/ui/combobox/src/main: java/org/richfaces/renderkit and 1 other directories.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Thu Jan 10 10:17:02 EST 2008
Author: abelevich
Date: 2008-01-10 10:17:02 -0500 (Thu, 10 Jan 2008)
New Revision: 5271
Modified:
trunk/sandbox/ui/combobox/src/main/config/component/combobox.xml
trunk/sandbox/ui/combobox/src/main/java/org/richfaces/renderkit/ComboBoxBaseRenderer.java
trunk/sandbox/ui/combobox/src/main/templates/combobox.jspx
Log:
add "name" attribute for comboboxField input, add html_input* entities, format debug message
Modified: trunk/sandbox/ui/combobox/src/main/config/component/combobox.xml
===================================================================
--- trunk/sandbox/ui/combobox/src/main/config/component/combobox.xml 2008-01-10 14:54:33 UTC (rev 5270)
+++ trunk/sandbox/ui/combobox/src/main/config/component/combobox.xml 2008-01-10 15:17:02 UTC (rev 5271)
@@ -221,8 +221,10 @@
<description></description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
-
+ &html_input_attributes;
+ &html_input_events;
&html_events;
+ &ui_input_attributes;
</properties>
</component>
</components>
Modified: trunk/sandbox/ui/combobox/src/main/java/org/richfaces/renderkit/ComboBoxBaseRenderer.java
===================================================================
--- trunk/sandbox/ui/combobox/src/main/java/org/richfaces/renderkit/ComboBoxBaseRenderer.java 2008-01-10 14:54:33 UTC (rev 5270)
+++ trunk/sandbox/ui/combobox/src/main/java/org/richfaces/renderkit/ComboBoxBaseRenderer.java 2008-01-10 15:17:02 UTC (rev 5271)
@@ -58,7 +58,7 @@
}
if (InputUtils.isDisabled(comboBox) || InputUtils.isReadOnly(comboBox)) {
- if (logger.isTraceEnabled()) {
+ if (logger.isDebugEnabled()) {
logger.trace("No decoding necessary since the component "
+ component.getId() + " is disabled");
}
@@ -66,7 +66,7 @@
String clientId = component.getClientId(context);
if (clientId == null) {
- throw new NullPointerException("client id is null in component " + comboBox.getClientId(context));
+ throw new NullPointerException("component " + comboBox.getClientId(context) + " client id is NULL" );
}
clientId = "comboboxField" + clientId;
Modified: trunk/sandbox/ui/combobox/src/main/templates/combobox.jspx
===================================================================
--- trunk/sandbox/ui/combobox/src/main/templates/combobox.jspx 2008-01-10 14:54:33 UTC (rev 5270)
+++ trunk/sandbox/ui/combobox/src/main/templates/combobox.jspx 2008-01-10 15:17:02 UTC (rev 5271)
@@ -62,7 +62,7 @@
</jsp:scriptlet>
<div id="#{clientId}" class="rich-combobox-font rich-combobox-shell" style="width:#{listWidth}">
- <input id="comboboxField#{clientId}" class="rich-combobox-font rich-combobox-input-default rich-combobox-input" type="text" value="#{value}" size="#{inputSize}" autocomplete="off" style="width:#{listWidth}">
+ <input id="comboboxField#{clientId}" name="comboboxField#{clientId}" class="rich-combobox-font rich-combobox-input-default rich-combobox-input" type="text" value="#{value}" size="#{inputSize}" autocomplete="off" style="width:#{listWidth}">
</input>
<input id="comboBoxButtonBG#{clientId}" readonly="true" type="text" value="" class="rich-combobox-font rich-combobox-button-background rich-combobox-button">
</input>
More information about the richfaces-svn-commits
mailing list