| java.lang.Object org.sakaiproject.tool.gradebook.jsf.AssignmentGradeValidator
AssignmentGradeValidator | public class AssignmentGradeValidator implements Validator,Serializable(Code) | | Validates assignment grades entered into the gradebook. Since we display a
maximum of two decimal places in the UI, we use this validator to ensure that
the maximum precision entered into the gradebook is also two decimal places.
This should reduce rounding errors between actual scores and what is displayed
in the UI.
author: Josh Holtzman |
Method Summary | |
public void | validate(FacesContext context, UIComponent component, Object value) |
validate | public void validate(FacesContext context, UIComponent component, Object value) throws ValidatorException(Code) | | See Also: javax.faces.validator.Validator.validate(javax.faces.context.FacesContextjavax.faces.component.UIComponentjava.lang.Object) |
|
|