I tried making a FormState object, but I couldn't find a way to do it
with the current API. The error field is private, so that's out (and
that seems like an inapropriate use). The only thing I could think of
would be to proxy the request and set the parameters, but that's a lot
of code for something that I think should be a lot simpler.

I think that renaming invalidInput (maybe to storedValue or something)
and adding a setter for it could be a way to go.

On 9/27/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> The idea is pretty simple: capture the state of a form and be able to
> restore it later. The state is the captured request parameter values. So for
> example lets say you are on page 4 of a wizard and you click the back
> button. I would like to capture whatever you already typed in w/out
> validating or binding it and save it somewhere. Later when you comeback to
> page 4 I would like to be able to restore that state. We were talking about
> introducing an opaque FormState object that would hold this state and adding
> getState() and setState() to the Form.
>
> -Igor
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:wicket-user-
> > [EMAIL PROTECTED] On Behalf Of Eelco Hillenius
> > Sent: Tuesday, September 27, 2005 11:03 AM
> > To: [email protected]
> > Subject: Re: [Wicket-user] Good way to back up form state?
> >
> > I must have missed that (unfortunately, I've been very busy with
> > non-wicket stuff lately).
> >
> > What is the idea?
> >
> > Eelco
> >
> >
> > On 9/27/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > > Whatever happened to the discussion we were having about a
> > > getFormState()/setFormState() is that grounded until 1.2?
> > > -Igor
> > >
> > >
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED] [mailto:wicket-user-
> > > > [EMAIL PROTECTED] On Behalf Of Phil Kulak
> > > > Sent: Tuesday, September 27, 2005 8:54 AM
> > > > To: [email protected]
> > > > Subject: [Wicket-user] Good way to back up form state?
> > > >
> > > > Right now I (and some other people I think) are calling
> > > > FormComponent.invalild() on each component to save it's state. I was
> > > > wondering if maybe there could be a more elegant way to do this?
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > This SF.Net email is sponsored by:
> > > > Power Architecture Resource Center: Free content, downloads,
> > discussions,
> > > > and more. http://solutions.newsforge.com/ibmarch.tmpl
> > > > _______________________________________________
> > > > Wicket-user mailing list
> > > > [email protected]
> > > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > >
> > >
> > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by:
> > > Power Architecture Resource Center: Free content, downloads,
> > discussions,
> > > and more. http://solutions.newsforge.com/ibmarch.tmpl
> > > _______________________________________________
> > > Wicket-user mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by:
> > Power Architecture Resource Center: Free content, downloads, discussions,
> > and more. http://solutions.newsforge.com/ibmarch.tmpl
> > _______________________________________________
> > Wicket-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to