Soulever is a simple macro based approach to generate UI forms out of case classes.
Currently supports vaadin 7.0 backend.
Simplicity, Extensibility, Flexibility, Consistency.
Creating complex and validation rich forms should be really simple.
- Basic types like, String and
Int
to relevant field implementations with validations. - Type constructors like
Option
orList
to relevant field implementations, which wraps the correct inner type( type parameter ). - Custom types where
Type Provider
is present or custom type constructors whereKind Provider
is present.
- Basic validations like
min
,max
andnonEmpty
- Custom validations where validation is passed as a function
- Class name will be mapped to dot separated lower case keys.
- Field names will be mapped to class i18n key with dot separated lower case keys prefixed separated by a dot(.).
- Validation errors will be mapped to field i18n key with square bracket enclosed error key.
- Button headers will be mapped to class i18n key with class i18n key with dot separated given button key.
- Kind field providers for types which has type parameter arity greater than 1 ( ex:
Either[R,L]
,Map[K,V]
) - Combo boxes are not supported yet
- Complex forms with multiple columns.
- Sectioned forms are yet to be implemented.
- Still not published a stable release.
TODO