you should use ajaxformsubmitbehavior instead - that way all the values are submitted.
-igor On Tue, Jan 19, 2010 at 2:11 PM, wic...@geofflancaster.com <wic...@geofflancaster.com> wrote: > right, they do stay after a submit. but when i use an OnChangeAjaxBehavior > on another field of the form, it isn't actually functioning as a submit so > the palette gets refreshed and loses the selected items. > > (I'm still trying to narrow down the available items in a palette using a > textfield so i'm trying to get it to mimic a submit without actually > submitted because a submit would require form validation which won't pass > at the time the palette is used) > > Original Message: > ----------------- > From: Igor Vaynberg igor.vaynb...@gmail.com > Date: Tue, 19 Jan 2010 12:14:57 -0800 > To: users@wicket.apache.org > Subject: Re: palette onSubmit > > > if you set up your models properly then selected items stay selected. > eg [1] where selected items stay selected after submit button is > pressed > > [1] > http://wicketstuff.org/wicket/compref/?wicket:bookmarkablePage=:org.apache.w > icket.examples.compref.PalettePage > > -igor > > On Tue, Jan 19, 2010 at 11:45 AM, wic...@geofflancaster.com > <wic...@geofflancaster.com> wrote: >> Is there a document anywhere that would show me that workflow? >> >> I'm trying to force an OnChangeAjaxBehavior to do some of the methods >> executed during a submit on a palette to make the selected items stay >> selected. >> >> Original Message: >> ----------------- >> From: Igor Vaynberg igor.vaynb...@gmail.com >> Date: Tue, 19 Jan 2010 10:31:44 -0800 >> To: users@wicket.apache.org >> Subject: Re: palette onSubmit >> >> >> Recorder is a HiddenField<-FormComponent so the regular form component >> workflow methods are called on it. >> >> -igor >> >> On Tue, Jan 19, 2010 at 10:02 AM, wic...@geofflancaster.com >> <wic...@geofflancaster.com> wrote: >>> Can anyone tell me which methods are called on a palette when it is >>> submitted? >>> >>> i know the recorder keeps track of the selected items but how are they >>> persisted after a form submit? ie. what method is called to make them > stay >>> selected? >>> >>> -------------------------------------------------------------------- >>> mail2web.com – Enhanced email for the mobile individual based on >> Microsoft® >>> Exchange - http://link.mail2web.com/Personal/EnhancedEmail >>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> >> >> -------------------------------------------------------------------- >> mail2web - Check your email from the web at >> http://link.mail2web.com/mail2web >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > > -------------------------------------------------------------------- > mail2web.com – Enhanced email for the mobile individual based on Microsoft® > Exchange - http://link.mail2web.com/Personal/EnhancedEmail > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org