Already tried that. Same problem. :-(



On Thu, 2008-03-20 at 22:53 -0700, Igor Vaynberg wrote:
> what if you make the search form class static?
> 
> -igor
> 
> 
> On Thu, Mar 20, 2008 at 10:31 PM, David Leangen <[EMAIL PROTECTED]> wrote:
> >
> >  Thanks for the suggestions...
> >
> >
> >  > are you using a class reloading mechanism of any sort? this error
> >  > would make sense if wicket saved a page to store, you changed the
> >  > class def and wicket tried to deserialize an instance of that changed
> >  > class....
> >
> >  No, none.
> >
> >  I took out all the widgets from the form, and the error still occurs, so
> >  I guess it's not the autocomplete after all. But it still makes no sense
> >  to me.
> >
> >  Well, I don't know what to say. This is all I'm doing, which I've done
> >  many times before.
> >
> >
> >  public class MyPanel
> >     extends Panel
> >  {
> >     private static final long serialVersionUID = 1L;
> >
> >     public TermOverviewPanel(
> >             final String id,
> >             final IModel model,
> >             final PageParameters pageParameters )
> >     {
> >         super( id, model );
> >         add( new SearchForm( "form", model ) );
> >     }
> >
> >     public class SearchForm
> >         extends Form
> >     {
> >         private static final long serialVersionUID = 1L;
> >
> >         public SearchForm(
> >                 final String id,
> >                 final IModel model )
> >         {
> >             super( id );
> >         }
> >     }
> >  }
> >
> >  If I remove the form from this panel, all is well (even if I add
> >  different widgets). This leads me to believe that the page is ok.
> >
> >  If I add a form to the parent page, I don't get this error. I guess that
> >  would mean that the problem must be in the panel, but there seems to be
> >  nothing in this simple panel that should cause this type of error.
> >
> >
> >  I don't get it...
> >
> >
> >
> >
> >
> >
> >  ---------------------------------------------------------------------
> >  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]

Reply via email to