FormProc is an open source Java library designed to make handling and validating forms (including Web forms) easy. Forms are represented as objects which manage a collection of form elements. Submitted data can be validated through several mechanisms including regular expressions, BSF-supported scripting languages, and custom Java classes.
|Tags||Internet Web Software Development|
|Operating Systems||OS Independent|
Release Notes: Missing JavaDoc package comments have been added. This release uses Apache Commons Logging for logging. Fields have been moved to the top of the code to follow Sun standards. The copyright date has been updated. All tabs have been converted to 4 spaces. Build scripts have been modified to take advantage of newer Ant features. log4j has been updated to version 1.2.7.
Release Notes: FormConfiguration, FormElement and FormElementGroup are now interfaces, and the default FormConfiguration implementation was moved to org.formproc.config.XMLConfiguration. A setFormConfiguration method was added to FormManager, and BasicFormElement and BasicFormElementGroup classes were added for configuring elements and groups programmatically. A REValidator constructor which takes a pattern string as an argument was also added, along with support for handling parameter arrays in HttpServletRequest parameters.
Release Notes: Improved handling of null and empty values (conversion is skipped if value is null while the store mechanism will try to handle null values), addition of an optional flag in FormElement and a new getValidator() method, originalData Map, getOriginalValue(), and getOriginalValueAsString() to FormResult, new methods for getting messages for specific fields, fixes for NPE in IsIntRule, error on null in PasswordValidator.py, and potential NPE in Form class, a new LongConverter implementation, and addition of missing JavaDoc comments.
Release Notes: This release adds extensible message providers for FormElement messages and validator error messages, with two implementations which support previous message types (inline and ResourceBundles). It has support for default values in form elements, annotated configuration files in the documentation, comments in DTDs, more JavaDoc comments, and an updated Guide with new features.
Release Notes: This release has improved localization support. The default validator, storer, and type can be specified in each form's configuration. Configuration now supports an include tag for including other configuration files. Shared validators are now cloned when FormElements are configured, so that overriding works properly. The error and message lang attributes are no longer required. The validator error tag and element message tag both support resource bundles.