-
-
01 Mar 2007 16:19:00 UTC
- Browse (raw)
- Changes
- How to Contribute
- Issues (11)
- Testers (483 / 784 / 13)
- Kwalitee
Bus factor: 6- 92.60% Coverage
- License: perl_5
- Perl: v5.8.1
- Activity
24 month- Tools
- Download (72.92KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors-
Sebastian Riedel, C
Changes for version 1.11 - 2007-03-01
- New Bool constraint.
- New SingleValue constraint.
- New $w->filter_all() and $w->constraint_all() methods add the named filters/constraints to all current form elements.
- $w->find_elements() now supports the same arguments as $w->get_elements().
- New render_errors() method on constraints, accepts a list of element names for which errors should be displayed by $r->as_xml.
- Elements are allowed to have no name. No id or name will be displayed in the xml output .
- When an Equal constraint fails, the first named element's value is no longer considered valid.
- All elements associated with a failing Equal constraint receive an error. Use render_errors() to override this behaviour.
- New HTML::Widget::Error method no_render(), used internally by $constraint->render_errors().
- New F.A.Q. documentation section.
- $result->param() carps if called with more than 1 argument (it's documented readonly).
- element() called on a block element now accepts the same \%attributes argument as $widget->element().
- Submit and Reset elements now inherit from Button element, so they share the same methods (value, content, src, type).
- Fixed Range constraint bug when min/max is 0 (zero).
- Fixed $widget->get_elements() bug, now both 'name' and 'type' arguments can be used together to limit the elements returned.
- In constraint fixed so empty/missing values pass.
- HTML::Element now escapes unicode properly - require v3.22 and stop skipping test
- HTMLEscape filter test skipped due to incompatible changes in HTML::Element
- Deprecated Maybe constraint
Documentation
Modules
HTML Widget And Validation FrameworkAccessor ClassBlock ContainerConstraint Base ClassASCII ConstraintAll ConstraintAllOrNone ConstraintAny ConstraintBoolean ConstraintCallback ConstraintCallbackOnce ConstraintDate ConstraintDateTime ConstraintDependOn ConstraintEmail ConstraintEqual ConstraintHTTP ConstraintCheck that a value is one of a current set.Integer ConstraintLength ConstraintDeprecatedNumber ConstraintPrintable ConstraintRange ConstraintRegex ConstraintSingleValue ConstraintString ConstraintTime ConstraintContainerElement Base ClassBlock Level ElementButton ElementCheckbox ElementFieldset ElementHidden ElementNull Container ElementPassword ElementRadio ElementRadio Element groupingReset ElementSelect ElementSpan ElementSubmit ElementTextarea ElementTextfield ElementUpload ElementErrorFilter Base ClassLower Case FilterHTML Escaping FilterHTML Strip FilterLower Case FilterTrim whitespaces from beginning and end of stringUpper Case FilterWhitespace FilterResult ClassProvides
in lib/HTML/Widget/Element/NullContainer.pmExamples
Other files
Module Install Instructions
To install HTML::Widget, copy and paste the appropriate command in to your terminal.
cpanm HTML::Widget
perl -MCPAN -e shell install HTML::Widget
For more information on module installation, please visit the detailed CPAN module installation guide.