Menu

FormProc - Form Processing API / News: Recent posts

FormProc 1.3.1 Released

FormProc version 1.3.1 is now available at http://www.formproc.org/ .

FormProc is an open source Java library designed to make handling and validating 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.

This release includes the following changes: REValidator now supports value arrays. Fixed ExampleApp so that is loads the form manager configuration. Fixed path so that it never attempts to resolve relative to the formproc.xml configuration. Changed Form.java to handle non-null FormValue objects with null value.... read more

Posted by Anthony Eden 2003-05-02

FormProc 1.3 Released

FormProc version 1.3 is now available at http://www.formproc.org/ .

FormProc is an open source Java library designed to make handling and validating 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.

This release includes the following changes: FormManager now accepts a Commons VFS FileObject for loading configuration. Internally FormProc now uses Commons VFS for file system access. Fixed FormResult.getGroupErrorMessage() implementation. (Edgar Gonzalez). Added log.isDebugEnabled() before each log.debug() statement which requires string concatenation. All class loading is now done through the EdenLib ClassUtilities.... read more

Posted by Anthony Eden 2003-03-16

FormProc 1.2 Released

FormProc version 1.2 is now available at http://www.formproc.org/ .

FormProc is an open source Java library designed to make handling and validating 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.

This release includes the following changes: Added missing JavaDoc package comments. Converted to Apache Commons Logging for logging. Moved fields to top of code to follow Sun standards. Updated copyright date. Converted all tabs to 4 spaces. Modified build scripts to take advantage of newer Ant features. Updated log4j to version 1.2.7.... read more

Posted by Anthony Eden 2003-02-10

FormProc 1.1 Released

FormProc version 1.1 is now available at http://www.formproc.org/ .

FormProc is an open source Java library designed to make handling and validating 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.

This release includes the following changes: FormConfiguration, FormElement and FormElementGroup are now interfaces. Added abstract base classes for new interfaces. Moved default FormConfiguration implementation to org.formproc.config.XMLConfiguration. Created default implementations of the FormElement and FormElementGroup interfaces in the org.formproc.form package. Added setFormConfiguration() method to FormManager. Added BasicFormElement and BasicFormElementGroup classes which provide a means for configuring elements and groups programmatically. Added REValidator constructor which takes a pattern string as an argument. Added support for handling parameter arrays in HttpServletRequest parameters.... read more

Posted by Anthony Eden 2002-11-08

FormProc 1.0 Released

FormProc version 1.0 is now available at http://www.formproc.org/ .

Thank you to all who have contributed to FormProc.

FormProc is an open source Java library designed to make handling and validating 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.... read more

Posted by Anthony Eden 2002-06-17

FormProc 1.0b2 Released

FormProc version 1.0b2 is now available at http://www.formproc.org/

FormProc is an open source Java library designed to make handling and validating 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.

This release includes the following changes: Added pluggable message providers for FormElement messages and validator error messages. Provided two implementations which support previous message types (inline and ResourceBundles). Added support for default values in form elements. If no value is submitted the default value will be used instead. Added annotated configuration files to the documentation. Added comments to DTDs. Added and improved more JavaDoc comments. Updated Guide with new features. Updated Overview.... read more

Posted by Anthony Eden 2002-05-20

FormProc 1.0b1 Released

FormProc version 1.0b1 is now available at http://www.formproc.org/

FormProc is an open source Java library designed to make handling and validating 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.

This release includes the following changes: Improved localization support. Default validator, storer and type can be specified in each form's configuration. TypeConverter.loadConfiguration() and Storer.loadConfiguration() methods are now executed when the TypeConverter or Storer is loaded. Configuration formproc.xml now supports an include tag for including other configuration files. Shared validators are now cloned when FormElements are configured so that overriding works properly. Error and message lang attribute no longer required. Validator error tag and element message tag both support resource bundles. Error and messages which use the inline message form (i.e. the message is defined in the configuration) will fall back to the messages defined without a lang attribute if the given language is not found.... read more

Posted by Anthony Eden 2002-04-11

FormProc 0.9 Released

FormProc version 0.9 is now available at http://formproc.sf.net/

FormProc is an open source Java library designed to make handling and validating 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.

This release includes the following changes: Complete rewrite of validation interface to simplify creation and configuration of validators. Mechanism for storing field values in a form's target object is now pluggable through the Storer interface. Created two storers: ReflectionStorer and MapStorer. Class validator's now configured properly. Added ErrorDialog to example application.... read more

Posted by Anthony Eden 2002-03-17

FormProc 0.8 Released

FormProc version 0.8 is now available at http://formproc.sf.net/

FormProc is an open source Java library designed to make handling and validating 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.

This release includes the following changes: Added support for FormElement groups and validators which are applied to these groups. Renamed classes to provide more accurate names. Form.process() now returns a FormResult object. Added TypeConverter classes for converting types before calling the target object's write methods. Upgraded to EdenLib 1.0b4. Removed xerces.jar and jdom.jar. Now using JAXP and Crimson for configuration parsing. Updated examples and documentation to demonstrate new features.... read more

Posted by Anthony Eden 2002-03-01

FormProc 0.7 Released

FormProc version 0.7 is now available at http://formproc.sf.net/

FormProc is an open source Java library designed to make handling and validating 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.

Added shared validators. Validators can now have locale sensitive error messages. Removed FormElement level error messages in favor of validator error messages. FormValidator is now an abstract base class. Removed AbstractFormValidator. All FormValidator implementations now extend from FormValidator. FormValidator.configure() method now final; implementations should override configureInternal() to do implementation-specific configuration. FormValidator instances can now be aquired from a single location: FormManager.getValidator(). Updated examples to demonstrate how shared validators work.... read more

Posted by Anthony Eden 2002-01-25

FormProc 0.6 Released

FormProc version 0.6 is now available at http://formproc.sf.net/

FormProc is an open source Java library designed to make handling and validating 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.

Removed XMLConstants interface which is no longer required. Removed references to this interface in all classes. Fixed numerous bugs from the 0.5.1 release. Replaced configuration with classes from EdenLib config package. Example of web app now packaged as a WAR for easy deployment. Example application now packaged as an executable JAR. Added script-root-type property to the ScriptFormValidator which can have a value of 'file' or 'classpath'. If file then the script-root is a file. If classpath then the script-root is relative to the classpath. Example apps both use ClassPathResourceLoader from EdenLib to load their configuration files. Changed age example field to use group validator with two nested validators. Fixed FormElement configuration bug (was sending wrong config object).... read more

Posted by Anthony Eden 2002-01-10

FormProc 0.5.1 Released

FormProc version 0.5.1 is now available at http://formproc.sf.net/

FormProc is an open source Java library designed to make handling and validating 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.

Added note to README about removal of formproc namespace from configuration files. Fixed error in example-form.xml configuration file.... read more

Posted by Anthony Eden 2002-01-08

FormProc 0.5 Released

FormProc version 0.5 is now available at http://formproc.sf.net/

FormProc is an open source Java library designed to make handling and validating 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.

Added constructors to HttpForm with the same signatures as the Form constructors. Form elements can now be defined without a validator. If no form element for a particular form field is found, then the form data is considered valid. Added a FormValidatorGroup class which is collection of FormValidator objects which must all evaluate to true in order for the field data to be valid. Removed formproc name space from all XML configuration files. Added Configuration class which replaces the use of JDOM Element objects for configuration in Validators. Form configuration paths can be relative to main form configuration file (contributed by JD Evora).... read more

Posted by Anthony Eden 2002-01-08

FormProc 0.4 Released

FormProc version 0.4 is now available at http://formproc.sf.net/

FormProc is an open source Java library designed to make handling and validating 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.

Form configuration data is now loaded and monitored using the resource package in EdenLib 0.4. Currently the only supported resource loader is the FileResourceLoader, but additional resource loaders can easily be added. The configuration format in formproc.xml has changed to support the pluggable resource loaders. The config attribute in formproc.xml is deprecated; use the path attribute instead.... read more

Posted by Anthony Eden 2001-10-03

FormProc 0.3 Released

FormProc version 0.3 is now available at http://formproc.sf.net/

FormProc is a Java library designed to make handling and validating 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.

Write methods can now be specified for each form element; if no write method is specified then a setxxx() method will be used. Upgraded to EdenLib 0.3. Converted all logging to generic logging package provided by EdenLib.... read more

Posted by Anthony Eden 2001-09-27

FormProc 0.2.2 Released

FormProc version 0.2.2 is now available at http://formproc.sf.net/

FormProc is a Java library designed to make handling and validating 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.

ValidationResult constructors changed; the valid argument is no longer passed to the constructor, but is set depending on which constructor is called. ValidationResult can now maintain references to a Throwable which caused the validation failure. Added build-lib to final build (omitted from 0.2.1). Added nested Exceptions to the FormConfigurationException. Added JavaDoc documentation.... read more

Posted by Anthony Eden 2001-09-25

FormProc 0.2.1 Released

FormProc version 0.2.1 is now available at http://formproc.sf.net/

FormProc is a Java library designed to make handling and validating 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.

TargetInvocationExceptions are now caught when calling methods on the target object. The IsEmailRule has been replaced with the IsIntRule and the mailapi.jar library has been removed. The email field in the examples has been replaced by the age field.... read more

Posted by Anthony Eden 2001-09-24

FormProc 0.2 Released

FormProc version 0.2 is now available at http://formproc.sf.net/

FormProc is a Java library designed to make handling and validating 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.

This release contains the following changes: FormValidator implementations are now specified at deploy-time. Implementation mappings can include a property map of name
value pairs for shared properties. Script root now specified as a property of the ScriptFormValidator validator map entry. Added RuleFormValidator - a rule-based validator (concept courtesy of Nick Bauman). Added isValid(String field) to ValidatorResultMap. Added ExampleApp which shows how FormProc can be used in Java applications. For a complete list of changes see the change log.... read more

Posted by Anthony Eden 2001-09-20

FormProc 0.1 Released

FormProc version 0.1 is now available at http://formproc.sf.net/

FormProc is a Java library designed to make handling and validating 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.

For more information please visit http://formproc.sf.net/ or contact Anthony Eden [me@anthonyeden.com].

Posted by Anthony Eden 2001-09-17

First Release Coming Soon

The first release of FormProc will be available shortly.

Posted by Anthony Eden 2001-09-17

CVS Coming

I will be uploading the initial classes into the CVS server shortly.

-Anthony

Posted by Anthony Eden 2001-05-10
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.