I may have missed something here but when dealing with simple pages is it best to simple include the fields in your page objects or group them in 'model' classes (like Person below)? Is there good technical reasons to do it one way or does it come down to personal preference? Thx in advance.
//java public class PersonalDetails ///groupd fields @Property @Persist private Person person; OR //single fields @Validate("required") @Property @Persist private int dobDay,dobMonth,dobYear; } public class Person implements Serializable { private int dobMonth; private int dobYear; private int dobDay; } //TML <select t:type="select" t:id="dobDay" t:value="person.dobDay" t:model="days"></select> or <input t:type="textfield" t:id="dobDay"/> -- View this message in context: http://tapestry.1045711.n5.nabble.com/Creating-Model-objects-tp5151141p5151141.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org