Form Bean 1.2.10Renders Fantom objects as HTML forms complete with client and server side validation
FormBean is a means to render Fantom objects as HTML forms, validate submitted values, and reconstitute them back into Fantom objects. Built on top of IoC and BedSheet FormBean allows you to customise every aspect of your HTML form generation.
Features:
- Renders Fantom objects as HTML forms.
- HTML5 client and server side validation
- Customise HTML generation with skins
- Supports multipart forms / file uploads
- Uses BedSheet
ValueEncoders
for string conversion - Versatile means of generating select options
- Customised (error) messages
Current limitations:
- Maps, Lists and nested objects are not supported.
Install
To install Form Bean with Fantom Pod Manager, cut'n'paste the following into a cmd prompt, terminal or shell:
Or to install Form Bean with the Fantom Repository Manager (fanr), cut'n'paste the following into a cmd prompt, terminal or shell:
Or to install manually, download the pod file and copy it to the %FAN_HOME%/lib/fan/
directory.
Use
To use Form Bean in a Fantom project, add a dependency to the project's build.fan
:
depends = ["sys 1.0", ..., "afFormBean 1.2.10 - 1.2"]
Documentation
Information
Meta information on the Form Bean pod:
- Published by
- Steve Eynon
- Organisation
- Fantom-Factory Ltd
- Pod file size
- 116.13 kB
- Licence
- ISC
- Built on
- 24th Jul 2023
- Source code
- via Git at https://github.com/Fantom-Factory/afFormBean
- Depends on
- afBeanUtils, afConcurrent, afIoc, concurrent, sys
- Referenced by
- afEggbox
- Javascript Compatible
- No
Dependency Graph
Release History
There have been 16 releases of Form Bean: