Author: vmolotkov
Date: 2008-03-19 10:33:55 -0400 (Wed, 19 Mar 2008)
New Revision: 6950
Modified:
trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/OrderingComponentRendererBase.java
Log:
RF-1958
Modified:
trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/OrderingComponentRendererBase.java
===================================================================
---
trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/OrderingComponentRendererBase.java 2008-03-19
14:33:47 UTC (rev 6949)
+++
trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/OrderingComponentRendererBase.java 2008-03-19
14:33:55 UTC (rev 6950)
@@ -520,13 +520,15 @@
String controlType = (String) attributes.get(ATTRIBUTE_CONTROLS_TYPE);
if (CONTROL_TYPE_NONE.equals(controlType)) {
- if (useFacet) {
- renderChild(context, facet);
- }
+ return;
} else {
+ if (useFacet) {
+ renderChild(context, facet);
+ } else {
renderDefaultControl(context, orderingList, writer, useFacet,
- helper, clientId, bundleExternal, bundleApplication,
- enabled, baseStyle, baseControlStyle);
+ helper, clientId, bundleExternal, bundleApplication,
+ enabled, baseStyle, baseControlStyle);
+ }
}
}