This package contains action form implementations, that can be used with
the struts html tags.
The classes can be used as a drop-in replacement for struts' standard
action form classes. Simply derive your form class from the appropriate variant.
There are two groups of action form base classes:
Note: the classes (currently) require all form bean properties to be of type
java.lang.String!
The classes starting with Simple do not
keep form data. Using this kind of action forms, you will just use Calyxo
Forms validation, but you won't be able to access the validated data.
Also, the action form properties won't be flushed with formatted values.
The classes starting with Flushable will keep validated
form data using a map. Thus, you will be able to access the data in
your actions. Using the calyxo-struts:flush tag within
your html:form tag will format the data back to the action
form properties.
Keeping the validated values has several benefits.
First, you can initialize or modify them from within your actions.
Displaying the form will always show the current values.
Second, since validated form data is committed "per form",
invalid user inputs do not change the state of your data.
Both groups come in two variants (see struts documentation):