Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.1.5-SNAPSHOT
-
None
-
Windows XP, Tomcat 5.5.20
Description
The tag like:
====================================
<s:inputSuggestAjax suggestedItemsMethod="#
"
value="#
"
charset="utf-8"
style="width: 200px;"
autoComplete="off"
/>
====================================
did not work as expected. It did NOT use the "style". By applying the following patch it will work.
====================================
InputSuggestAjaxRenderer.java:
...
}
out.startElement(HTML.DIV_ELEM, component);
out.writeAttribute(HTML.ID_ATTR, clientId , null);
if(inputSuggestAjax.getStyle() != null)
out.endElement(HTML.DIV_ELEM);
String inputSuggestComponentVar = DojoUtils.calculateWidgetVarName(clientId);
...
====================================
Or do I just not know how the InputSuggestAjax should be used and was this possible all along? (I know how to use a containing DIV to simulate part of this but that makes HTML dirty)