Form for multiple entities
Hi, I have a table to entities that I get from my database, the number of entities can increase and decrease as these entities can be added or deleted. I want to be able to edit the entities in the table. The first column of every row has a check box to indicate whether that row should be updated when the submit button below the form is pressed. I understand how to create a form for a javabean or a form with a fixed number of input elements but how do I handle variable numbers of beans/input element. Many thanks. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Form-for-multiple-entities-tp4305672p4305672.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
Re: form for nested entity
Thanks Thiago, that worked a treat :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/form-for-nested-entity-tp4264623p4271479.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
form for nested entity
Hi, I have a question about forms. I want to create a form for an entity class, however the entity class contains references to other entities. For example: class Item { long id; String name; String desc; Media media; ... } class Media { String filename; String type; ... } When I create a form for the Item entity it leaves out the Media reference (I assume because it's not a supported type). How do I create a form that includes media? Many thanks. -- View this message in context: http://tapestry.1045711.n5.nabble.com/form-for-nested-entity-tp4264623p4264623.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