FormBean 0.0.4
(Internal) A library to render Fantom objects as HTML forms complete with client and server side validation

FormBean is a support library that aids Alien-Factory in the development of other libraries, frameworks and applications. Though you are welcome to use it, you may find features are missing and the documentation incomplete.

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
  • Uses BedSheet ValueEncoders for string conversion
  • Customise HTML generation with skins
  • Versatile means of generating select options
  • Customised error messages

Current limitations:

  • Maps, Lists and nested objects are not supported.
  • Radioboxes are not natively supported.

Read more...

Install

To install FormBean with Fantom Pod Manager, cut'n'paste the following into a cmd prompt, terminal or shell:

Or to install FormBean 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.

afFormBean.pod (50.81 kB)

Use

To use FormBean in a Fantom project, add a dependency to the project's build.fan:

depends = ["sys 1.0", ..., "afFormBean 0.0.4 - 0.0"]

Documentation

Information

Meta information on the FormBean pod:

Published by
Steve Eynon
Organisation
Alien-Factory
Pod file size
50.81 kB
Licence
The MIT Licence
Built on
17th Dec 2014
Source code
via Mercurial at https://bitbucket.org/AlienFactory/afformbean
Depends on
afBeanUtils, afBedSheet, afConcurrent, afIoc, sys, web
Referenced by
Javascript Compatible
No

Dependency Graph

  Use mouse to re-position pods

Release History

There have been 16 releases of FormBean: