Thanks for your help!

Yes, the Form updates just fine - magic.
But how do I define a part (for ajax updating later on) for each item
of the list in the @PartialFor?
Something like..
                                        <div jwcid="@tacos:PartialFor"
                                                element="tr"
                                                source="ognl:mylist"
                                                value="ognl:myitem"
                                                index="ognl:index"
                                                id="ognl:'part'+index">

And if this is correct.. How do I specify the parts to be updated (I
don't want to re-render any item/part when it is not necessary)..

                        <input jwcid="@tacos:AjaxSubmit"
                                   listener="listener:doSomething"
                                   updateComponents= part1 AND part2 NOT part3 
??
                                   value="Do Something"/>

And lastly.. If I want to add another item to the list.. How do I do
that without re-rendering  the existing parts for the existing items?

Maybe I'm catching at straw?



On 08/07/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
Yeah, I just double checked and think you'll be ok. Give it a try :)

On 7/8/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
>
> As long as you don't expect any form values to get updated via your call
> you should be able to use AjaxDirectLink just fine.
>
> In theory I made the FormSupport object for tacos aware if any changes
> have been made in a request that requires hidden field updates to be made.
>
> I can't remember for sure exactly what does/doesn't trigger FormSupport
> updating hidden input fields, but you'll know really fast if you install
> FireBug for firefox and view the response data from your AjaxDirectLink
> request. If you don't see <input type="hidden"> updates then your form will
> probably blow up when submitting.
>
>
> On 7/8/06, Theo vN <[EMAIL PROTECTED]> wrote:
> >
> > Without doing submits I mean without doing Form submits. I want to
> > update the page and form with AjaxDirectLinks
> > .
> > On 08/07/06, Theo vN <[EMAIL PROTECTED]> wrote:
> > > There is a @PartialFor rendering a list of fields with @TextField.
> > > The user enters and changes values in these fields WITHOUT doing a
> > submit.
> > > Now he wants to add another row/item - or delete an existing row/item
> > > WITHOUT doing a post/submit.
> > >
> > > So, lets say there were 5 items in the list, how do I firstly define
> > > the parts en secondly specify the parts so that only the part for item
> > > 3 gets updated when I want to delete item 3. And how do I define and
> > > specify a part to be updated for a non-exisiting item 6 that I want to
> >
> > > create?
> > >
> > > Not sure if the rewind cycle is going to like this?
> > >
> > > --
> > > Regards
> > > Theo
> > >
> >
> >
> > --
> > Regards
> > Theo
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Jesse Kuhnert
> Tacos/Tapestry, team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind.
>



--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.




--
Regards
Theo

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to