private boolean delayedFocus;
/**
- * Value of the datafield.
+ * Value of the abstract field.
*/
private Object value;
public void changeVariables(Object source, Map variables) {
super.changeVariables(source, variables);
- if (validators != null && !validators.isEmpty()) {
- requestRepaint();
- }
+
}
/**
/**
* Sets the internal field value. This is purely used by AbstractField to
- * change the internal Field value. It does not trigger any events. It can
- * be overriden by the inheriting classes to update all dependent variables.
+ * change the internal Field value. It does not trigger valuechange events.
+ * It can be overriden by the inheriting classes to update all dependent
+ * variables.
*
* @param newValue
* the new value to be set.
*/
protected void setInternalValue(Object newValue) {
value = newValue;
+ if (validators != null && !validators.isEmpty()) {
+ requestRepaint();
+ }
}
/**
*/
public void changeVariables(Object source, Map variables) {
- // TODO We really should call super instead, but this needs validating that AbstractSelect.changeVariables is correct. See ticket #
- if (isReadThrough() || !isModified() || (getValidators() != null && !getValidators().isEmpty())) {
- fireValueChange(false);
- }
-
// Selection change
if (variables.containsKey("selected")) {
final String[] ka = (String[]) variables.get("selected");