template::data::validate (public)
template::data::validate type value_ref message_ref
Defined in packages/acs-templating/tcl/data-procs.tcl
This proc invokes the validation code for a given type.
- Parameters:
- type (required)
- value_ref (required)
- message_ref (required)
- See Also:
- template::data::validate::boolean
- template::data::validate::date
- template::data::validate::email
- template::data::validate::enumeration
- template::data::validate::filename
- template::data::validate::float
- template::data::validate::integer
- template::data::validate::keyword
- template::data::validate::naturalnum
- template::data::validate::number
- template::data::validate::search
- template::data::validate::string
- template::data::validate::nomarkup
- template::data::validate::text
- template::data::validate::textdate
- template::data::validate::timestamp
- template::data::validate::time_of_day
- template::data::validate::url
- template::data::validate::oneof
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- validate_boolean, validate_email, validate_integer, validate_naturalnum, validate_float, validate_number, validate_text, validate_search, validate_file, validate_keyword, validate_filename, validate_url, validate_url_element, validate_date, validate_enumeration, validate_textdate, validate_oneof, validate_currency
Source code: if {![validate::widget $value_ref $message_ref]} { return 0 } else { return [validate::$type $value_ref $message_ref] }XQL Not present: Generic, PostgreSQL, Oracle