You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Tobias Marx <su...@gmx.de> on 2009/01/19 15:14:32 UTC
Is this already possible in Tapestry5?
Hi there!
Is it possible to implement the following datamodel in Tapestry5 for dynamic form generation:
If so, how can you do this dynamically?
Category: The category to group values (e.g. Country, Language)
Value: Values...(e.g. USA, Spain, English, Spanish.....whatever)
FormElement: Input validation and type of data input. E.g. min=max= DropDown max>min=checkboxes
Form: Groups FormElements
Category
ID Name
1 Country
2 Language
Value
ID Name Category_fid
1 USA 1
2 UK 1
3 Spain 1
4 English
5 Spanish
FormElement
ID NAME Category_FID MINOCCURS MAXOCCURS
1 ResidentCountry 1 1 1
2 CountryOfOrigin 1 1 1
3 TravelDestinatiopns 1 0 10
4 SpokenLanguages 1 1 10
Form
ID NAME FORM_FID
1 UserRegistration
Form_FormElement
ID FORM_FID FORMELEMENT_FID
1 1 1
2 1 2
3 1 3
Thanks!
Toby
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org