The form is nested simply in the sense that it's inside of a component
and not in the main page. It is not however nested inside another form.
The reason I believe the rewind isn't happening is because the
rewindFormComponent(IMarkupWriter, IRequestCycle) method of components
inside the form is never called during a trace and the values that are
changed before the form submition are not updated.
Ryan Holmes wrote:
Why do you think the rewind isn't happening and why did you refer to
the forms as "nested"? I use components with their own forms and
haven't had any problems, so I'm guessing that your page structure is
somehow unusual (or at least different from mine). Is their any chance
you actually have a form within another form (i.e. a literally nested
form in your HTML)?
-Ryan
Leo Sakhvoruk wrote:
Hi everyone,
I have a page with several components each containing a form. Now
when the data inside the form is modified, say via TextField, it's
never updated because the form inside the component is never rewound.
I've tried to get a hold of the form component using the
getComponents() method but when I try casting the values I get class
cast exceptions since the classes are enhanced. Any clues as to what
I can to here?
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]