Any thoughts anyone?
On 05/10/06, edward pedersson <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]