Changes for version 1.10 - 2006-09-29
- RadioGroup elements are now wrapped in a fieldset tag.
- HTML::Widget->new() and $w->element() now accepts a hash-ref of attributes as an argument, after the name argument.
- $w->attributes() and $e->attributes() now accepts either a list or a hash-ref. Returns the object-ref for method chaining. A hash-ref no longer overwrites existing attributes, it is now added to the existing attributes. As a special-case, the attributes hash-ref is returned if no arguments are passed.
- All fields elements (except Upload) have a $e->retain_default method, which if true overrides the default behaviour, so that after a field is missing from the form submission, the xml output will contain the default value, rather than be empty.
- $widget has new methods get_elements_ref(), get_filters_ref() and get_constraints_ref() which return an arrayref.
- $result has new method elements_ref() which returns an arrayref.
Documentation
Modules
HTML Widget And Validation Framework
Accessor Class
Block Container
Constraint Base Class
ASCII Constraint
All Constraint
AllOrNone Constraint
Any Constraint
Callback Constraint
CallbackOnce 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
Block Level Element
Button Element
Checkbox Element
Fieldset Element
Hidden Element
Null Container 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
Provides
in lib/HTML/Widget/Element/NullContainer.pm