I've been playing with this quite much because one of my applications has
similar requirements (very big and complex form but parts of the form should
be partially refreshable).
It is more complex than I thought: the biggest problem is what Viktor wrote,
hidden fields generated by the components. For example LinkSubmit,
FormConditional (If), ListEdit (For) cannot be used as normal.
Although if you need only simple things it can be done with not too much
work.
Simple means that you want to render no component that creates hidden fields
(for example only simple input fields like textfield, combobox). In this
case you should update only the one hidden field in which Tapestry stores
component IDs for rewinding.
I'm working on this but don't expect more concrete things soon because my
holiday starts this week :)
BR,
Norbi
----- Original Message -----
From: "Viktor Szathmary" <[EMAIL PROTECTED]>
To: "Tapestry users" <[email protected]>
Sent: Monday, August 15, 2005 7:05 PM
Subject: Re: More Partial Form Stuff
hello,
On 8/15/05, Patrick Casey <[EMAIL PROTECTED]> wrote:
I have two forms, one big one, one little one.
I use the small partial form to update a div within the big form.
I then (later) submit the big form.
I get a stale link because the big form has a different widget
count
than it did when originally rendered.
Tacos is not currently capable of dynamically chaning forms due to the
component-list hidden field that Tapestry requires. There's some
work-in-progress from a contributor on this, but don't count on this
quite yet :)
viktor
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]