Author: abelevich
Date: 2008-01-21 04:03:12 -0500 (Mon, 21 Jan 2008)
New Revision: 5482
Modified:
trunk/sandbox/ui/combobox/src/main/templates/combobox.jspx
Log:
fix small bugs
Modified: trunk/sandbox/ui/combobox/src/main/templates/combobox.jspx
===================================================================
--- trunk/sandbox/ui/combobox/src/main/templates/combobox.jspx 2008-01-21 09:02:40 UTC
(rev 5481)
+++ trunk/sandbox/ui/combobox/src/main/templates/combobox.jspx 2008-01-21 09:03:12 UTC
(rev 5482)
@@ -181,19 +181,7 @@
]]>
</jsp:scriptlet>
- <jsp:scriptlet>
- <![CDATA[
- if (listWidth == null) {
- ]]>
- </jsp:scriptlet>
- <style>
-
- </style>
- <jsp:scriptlet>
- <![CDATA[
- }
- ]]>
- </jsp:scriptlet>
+
<div id="#{clientId}">
<div id="control#{clientId}" class="rich-combobox-font
rich-combobox-shell #{styleClass}" style="width:#{listWidth};
z-index:1;#{style}"
x:passThruWithExclusions="value,name,type,id,styleClass,class,style,size,autocomplete,disabled,onchange">
@@ -204,17 +192,19 @@
class="rich-combobox-font-inactive rich-combobox-input-inactive
#{inputDisabledClass}" type="text"
value="#{value}"
size="#{inputSize}"
- autocomplete="off"
onchange="#{component.attributes['onchange']}"
onselect="#{component.attributes['onselect']}"
onblur="#{component.attributes['onblur']}"
- style="width:#{width}; #{inputStyle}"
- />
- <input id="comboBoxButtonBG#{clientId}" readonly="true"
type="text" value="" class="rich-combobox-font-inactive
rich-combobox-button-background rich-combobox-button-inactive"/>
- <input id="comboboxButton#{clientId}" readonly="true"
disabled="#{disabled}" type="text" value=""
style="#{buttonStyle}; background-image: #{buttonIconNormal};"
- class="rich-combobox-font-inactive rich-combobox-button-icon-inactive
rich-combobox-button-inactive #{buttonDisabledClass}"/>
+ style="width:#{width}; #{inputStyle}">
+ </input>
+ <input id="comboBoxButtonBG#{clientId}" readonly="readonly"
type="text" value="" class="rich-combobox-font-inactive
rich-combobox-button-background rich-combobox-button-inactive">
+ </input>
+ <input id="comboboxButton#{clientId}" readonly="readonly"
disabled="#{disabled}" type="text" value=""
style="#{buttonStyle}; background-image: #{buttonIconNormal};"
+ class="rich-combobox-font-inactive rich-combobox-button-icon-inactive
rich-combobox-button-inactive #{buttonDisabledClass}">
+ </input>
- <input type="text" class="rich-combobox-strut
rich-combobox-font" style="width:#{width}"/>
+ <input type="text" class="rich-combobox-strut
rich-combobox-font" style="width:#{width}">
+ </input>
</div>
</div>
<iframe id="iframe#{clientId}" class="rich-combobox-list-scroll
rich-combobox-list-position" frameborder="0" style="display:none;
width:#{listWidth};z-index:2;"/>