Hi,

I want to create an ajax grid and do CRUD operations on single rows without
having to post the entire form.  So something like this -

<t:form>
    <t:grid source="contacts" row="contact">
         <t:ContactCrud contact="contact" ..../>
    </t:grid>
</t:form>

ContactCrud is my custom component which in turn deals each row in Edit,
Delete, Create modes.  Each row will have a Edit, Delete icons at the end,
which when clicked will bring up text fields for editing.  When save is
clicked the contents of that row be posted (this is what I cannot do with
AjaxFormLoop, I have to submit the entire form) and that row alone will be
zone updated.

In order to do single row posting, I have a form inside ContactCrud, but I
get an error 'form component cannot embedded with other form components'.

So how should I code this?  Are there any examples like this?

Thanks!



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/form-within-a-form-scenario-tp5444872p5444872.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

Reply via email to