Model Validator Engine duplicate listeners
Thank a lot Low for you review, I can catch the problem now the code validate if the ModelValidator exist into the array for this combination it is not add. kind regards Victor Perez www.e-evolution.com Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2947607
This commit is contained in:
parent
bec8791241
commit
f8e96741fa
|
@ -433,8 +433,10 @@ public class ModelValidationEngine
|
||||||
list.add(listener);
|
list.add(listener);
|
||||||
m_docValidateListeners.put(propertyName, list);
|
m_docValidateListeners.put(propertyName, list);
|
||||||
}
|
}
|
||||||
//else
|
else if (!list.contains(listener))
|
||||||
// list.add(listener);
|
{
|
||||||
|
list.add(listener);
|
||||||
|
}
|
||||||
} // addDocValidate
|
} // addDocValidate
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -850,11 +852,4 @@ public class ModelValidationEngine
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public Hashtable geDocValidateListeners()
|
|
||||||
{
|
|
||||||
return m_docValidateListeners;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
} // ModelValidatorEngine
|
} // ModelValidatorEngine
|
||||||
|
|
Loading…
Reference in New Issue