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-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to