You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by edward pedersson <cp...@googlemail.com> on 2006/10/09 11:39:51 UTC

Re: Re: rewind of form expected x more elements

Any thoughts anyone?

On 05/10/06, edward pedersson <cp...@googlemail.com> wrote:
> Sorry it got sent before I could finish ;-) here is the full version
>
> Hi
>
> I have created an application that manages a set of data from a database and
> I am trying to update them using an AjaxForm, TextField and AjaxSubmit. I am
> getting this error at the moment
>
> Rewind of form
> Home/structuralPublishItems.structuralPublishItemsForm
> expected 306 more form elements, starting with id 'foreachPublishItem'.
>
> If I change the AjaxForm and AjaxSubmit to just Form and Submit respectively
> I don't get any errors.
>
> I would post the entire code here but it is quite convoluted as the items
> are in nested PartialFor loops so here is just an example of what it looks
> like
>
> <ajaxForm>
>
>     <partialFor>
>
>         <insert/>
>         <insert/>
>
>         <partialFor>
>
>             <textField />
>             <ajaxSubmit/>
>
>        </partialFor>
>
>     </partialFor>
>
>
> <form>
>
> I have added an id attribute to the TextField but have not specified any
> particular id's for other tags except of course when they are components.
>
> So why is it complaining about expecting more values?
>
> Many thanks for your help?
>
>
> On 05/10/06, edward pedersson <cp...@googlemail.com> wrote:
> >
> > Hi
> >
> > I have created an application that manages a sed of data from a database
> and I am trying to update them using an AjaxForm, TextField and AjaxSubmit.
> I am getting this error at the moment
> >
> > Rewind of form
> Home/structuralPublishItems.structuralPublishItemsForm
> expected 306 more form elements, starting with id 'foreachPublishItem'.
> >
> > If I change the AjaxForm and AjaxSubmit to just Form and Submit
> respectuively I don't get any errors.
> >
> > I would post the entire code here but it is quite convoluted as the items
> are in nested PartialFor loops so here is just an example of what it looks
> like
> >
> > <form>
> >
> >
> >
> >
> > <form>
> >
> > --
> >
> >
> > -- e
>
>
>
> --
>
>
> -- e


-- 


-- e

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org