- Pods
- Form Bean 1.1.8
- Release Notes

Form BeanRelease Notes
Versions
v1.1.8
- New:
FormBean.validateField() to validate individual fields. - New:
FormField.populate() allows form fields be individually populated from @HtmlInput facets and messages. - New: Added
hash(), equals(), & toStr() to FormField. - Chg: Changed the
FormField ctor. (Potential breaking change.) - Bug: Fixed NPE in
FormBean.validateRequest() when request had no Content-Type HTTP header. - Bug: Potential for
Messages to throw an NPE if a pod contained resource files with no extension. - Bug: There was no default message for
pattern.
v1.1.6
- Chg: File uploads now return in-memory files. Use
FormBean.fileUploadHook to change this behaviour. - Chg:
FormBean.formFields is no longer read only. - Chg: Removed direct dependency on IoC Config.
v1.1.4
- Chg: File uploads are no longer placed in a unique directory - it felt weird and wrong asking people to delete a directory!
- ((( DANGER! ))) - if upgrading from v1.1.2, DO NOT DELETE the parent directory of file uploads!
- Bug:
minlength input attribute was incorrectly rendered as minLength - should have been all lowercase.
v1.1.2
- New: FormBean now handles File uploads!
- New: Added a simple Radio button skin.
- Chg:
OptionsProvider.options() now takes a bean instance.
v1.1.0
- New:
@Validate methods for custom server side validation. - New: All attributes from
@HtmlInput are pre-populated from message values and are available in FormField. - New:
@HtmlInput.viewOnly attribute. - New:
Messages service is now public. - New:
FormFields are created via FieldInspectors. - New:
FormBean.reinspectBean() method. - Chg:
OptionsProvider methods now take FormField for contextual customisation. (Breaking change.) - Chg: Rejigged all the message keys, see Message Cheat Sheet for details. (Breaking change.)
- Chg: Updated to work with IoC v3.0. (Breaking change.)
- Chg:
HtmlInput.required defaults to true if the field is non-nullable. - Chg: Messages files may also have a
.props extension.
v1.0.2
- Chg: Exposed
SkinCtx.formField as the current field being rendered. - Bug: Could not render validation messages when run from a script.
v1.0.0
- New: Messages are a lot more customisable.
- New: Customisable
ErrorSkin for form errors. - New: Added
SkinCtx.renderAttributes()
v0.0.4
- Chg: Removed dependency on efanXtra.
v0.0.2