PAJES 3.0.21

org.pajes.html
Interface InputMandatoryValidation

All Known Implementing Classes:
InputDate, InputDateTimeString, InputDecimal, InputField, InputFile, InputFormattedString, InputInteger, InputNumber, InputPassword, InputPasswordConfirm, InputString, InputTextArea, InputTime, InputTimestamp, Select, SelectJavaScriptList, SelectList

public interface InputMandatoryValidation

This interface is implemented by all Input objects that require the user to provide input.


Method Summary
 boolean isMandatory()
          Detrmines if this field is mandatory or not.
 Input setMandatory(boolean valueIsRequired)
          Sets validation to ensure the user provides a response.
 

Method Detail

isMandatory

boolean isMandatory()
Detrmines if this field is mandatory or not.

Returns:
true if this field is mandatory, or false if it is not.

setMandatory

Input setMandatory(boolean valueIsRequired)
Sets validation to ensure the user provides a response.

Parameters:
valueIsRequired - true if a value is mandatory.
Returns:
the modified Input object.

PAJES 3.0.21

Copyright © 1998-2007 Viridian Pty Limited. All Rights Reserved.