Changes for version 1.08 - 2006-08-10
- Changed $widget->action(). Instead of defaulting to "/" it is left empty. This causes browsers to submit the form to the current URI.
- Fixed fatal bug on an empty Select options() list
- Fixed bug where $result->error(..., $type) would return all errors but those of $type
- $e->containerize now requires the container_class and dies with a more helpful message if require of class fails
- new methods $widget->get_element(), $widget->get_constraint(), $widget->get_filter()
- In constraint no longer fails when the in() list is empty
- When multiple Checkbox elements share the same name, the element ids are given the form 'name_1', 'name_2', etc. This ensures unique ids.
- Regex and Number constraints now allow the empty string, for consistency with other constraints. If you need to ensure the value is present, also use the All constraint.
- Constraint, Element and Filter names can be prefixed with a unary plus '+' to specify a fully-qualified module name, rather than one beginning with HTML::Widget::Constraint::, etc.
- Fixed bug with ASCII constraint not allowing the space character.
Modules
HTML Widget And Validation Framework
Accessor Class
Constraint Base Class
ASCII Constraint
All Constraint
AllOrNone Constraint
Any Constraint
Callback Constraint
Date Constraint
DateTime Constraint
DependOn Constraint
Email Constraint
Equal Constraint
HTTP Constraint
Check that a value is one of a current set.
Integer Constraint
Length Constraint
Maybe Constraint
Number Constraint
Printable Constraint
Range Constraint
Regex Constraint
String Constraint
Time Constraint
Container
Element Base Class
Button Element
Checkbox Element
Hidden Element
Password Element
Radio Element
Radio Element grouping
Reset Element
Select Element
Span Element
Submit Element
Textarea Element
Textfield Element
Upload Element
Error
Filter Base Class
Lower Case Filter
HTML Escaping Filter
HTML Strip Filter
Lower Case Filter
Trim whitespaces from beginning and end of string
Upper Case Filter
Whitespace Filter
Result Class