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
Check that a value is one of a current set.
Element Base Class
Radio Element grouping
Filter Base Class
Lower Case Filter
HTML Escaping Filter
Trim whitespaces from beginning and end of string
Result Class