Skip to content

The Unified and Autonomous Development Platform

Modify editor to display error message right below input box.

robin shinebc445558f79a
diff --git a/commons.wicket/src/main/java/com/pmease/commons/wicket/editable/reflection/ReflectionBeanEditor.html b/commons.wicket/src/main/java/com/pmease/commons/wicket/editable/reflection/ReflectionBeanEditor.html
index bafbdac941..f8813059ac 100644
--- a/commons.wicket/src/main/java/com/pmease/commons/wicket/editable/reflection/ReflectionBeanEditor.html
+++ b/commons.wicket/src/main/java/com/pmease/commons/wicket/editable/reflection/ReflectionBeanEditor.html
@@ -22,7 +22,6 @@
<div class="value">
<div wicket:id="value"></div>
<div wicket:id="hint">
- <span wicket:id="description" class="help-block"></span>
<wicket:enclosure child="propertyValidationErrors">
<ul class="error-message">
<li wicket:id="propertyValidationErrors">
@@ -30,6 +29,7 @@
</li>
</ul>
</wicket:enclosure>
+ <span wicket:id="description" class="help-block"></span>
</div>
</div>
</div>
@@ -48,7 +48,6 @@
<td class="value">
<div wicket:id="value"></div>
<div wicket:id="hint">
- <span wicket:id="description" class="help-block"></span>
<wicket:enclosure child="propertyValidationErrors">
<ul class="error-message">
<li wicket:id="propertyValidationErrors">
@@ -56,6 +55,7 @@
</li>
</ul>
</wicket:enclosure>
+ <span wicket:id="description" class="help-block"></span>
</div>
</td>
</tr>