Re: OnChangeAjaxBehavior with palette
Hmm. I dug around a bit and Palette is a Panel rather than a form component. It however allows access to an internal FormComponent named recorder. So you can: palette.getRecorderComponent().add( new OnChangeAjaxBehavior(){ public void onUpdate(AjaxRequestTarget req){} } ); But that's pretty much off the top of my head, I haven't set up a page and tested it. Scott On Thu, Jan 7, 2010 at 9:57 AM, wic...@geofflancaster.com wrote: > But how can you inject previously selected items back into the selected > menu? The only thing i can see is inserting items into the list as a whole > which puts them into the available menu. > > can you give me a code snippet and better explanation of what you mean? > > Original Message: > - > From: Scott Swank scott.sw...@gmail.com > Date: Thu, 7 Jan 2010 09:49:41 -0800 > To: users@wicket.apache.org > Subject: Re: OnChangeAjaxBehavior with palette > > > You could add an AjaxFormComponentUpdatingBehavior to your palette so > that your selections are pushed back to the underlying model. > > On Thu, Jan 7, 2010 at 9:40 AM, wic...@geofflancaster.com > wrote: >> any help? i cant be the only person to have tried this. >> >> Original Message: >> - >> From: wic...@geofflancaster.com wic...@geofflancaster.com >> Date: Wed, 6 Jan 2010 14:13:50 -0500 >> To: users@wicket.apache.org >> Subject: OnChangeAjaxBehavior with palette >> >> >> i'm trying using a text field to search through the items available to be >> selected in a palette. As of right now, it searches correctly but if I add >> items to the "selected" side of the palette and then search again, I lose >> my previously selected choices. >> >> Is there anyway to only refresh the available menu and not the selected >> menu? >> >> >> 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 >> >> >> >> >> mail2web LIVE – Free email based on Microsoft® Exchange technology - >> http://link.mail2web.com/LIVE >> >> >> >> - >> 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 LIVE – Free email based on Microsoft® Exchange technology - > http://link.mail2web.com/LIVE > > > > - > 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
Re: OnChangeAjaxBehavior with palette
http://www.mail-archive.com/users@wicket.apache.org/msg16517.html http://old.nabble.com/Palette-and-recorderComponent-initialization-%28Wicket-1.3.1%29-td15871741.html 2010/1/7 wic...@geofflancaster.com : > But how can you inject previously selected items back into the selected > menu? The only thing i can see is inserting items into the list as a whole > which puts them into the available menu. > > can you give me a code snippet and better explanation of what you mean? > > Original Message: > - > From: Scott Swank scott.sw...@gmail.com > Date: Thu, 7 Jan 2010 09:49:41 -0800 > To: users@wicket.apache.org > Subject: Re: OnChangeAjaxBehavior with palette > > > You could add an AjaxFormComponentUpdatingBehavior to your palette so > that your selections are pushed back to the underlying model. > > On Thu, Jan 7, 2010 at 9:40 AM, wic...@geofflancaster.com > wrote: >> any help? i cant be the only person to have tried this. >> >> Original Message: >> - >> From: wic...@geofflancaster.com wic...@geofflancaster.com >> Date: Wed, 6 Jan 2010 14:13:50 -0500 >> To: users@wicket.apache.org >> Subject: OnChangeAjaxBehavior with palette >> >> >> i'm trying using a text field to search through the items available to be >> selected in a palette. As of right now, it searches correctly but if I add >> items to the "selected" side of the palette and then search again, I lose >> my previously selected choices. >> >> Is there anyway to only refresh the available menu and not the selected >> menu? >> >> >> 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 >> >> >> >> >> mail2web LIVE – Free email based on Microsoft® Exchange technology - >> http://link.mail2web.com/LIVE >> >> >> >> - >> 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 LIVE – Free email based on Microsoft® Exchange technology - > http://link.mail2web.com/LIVE > > > > - > 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
Re: OnChangeAjaxBehavior with palette
But how can you inject previously selected items back into the selected menu? The only thing i can see is inserting items into the list as a whole which puts them into the available menu. can you give me a code snippet and better explanation of what you mean? Original Message: - From: Scott Swank scott.sw...@gmail.com Date: Thu, 7 Jan 2010 09:49:41 -0800 To: users@wicket.apache.org Subject: Re: OnChangeAjaxBehavior with palette You could add an AjaxFormComponentUpdatingBehavior to your palette so that your selections are pushed back to the underlying model. On Thu, Jan 7, 2010 at 9:40 AM, wic...@geofflancaster.com wrote: > any help? i cant be the only person to have tried this. > > Original Message: > - > From: wic...@geofflancaster.com wic...@geofflancaster.com > Date: Wed, 6 Jan 2010 14:13:50 -0500 > To: users@wicket.apache.org > Subject: OnChangeAjaxBehavior with palette > > > i'm trying using a text field to search through the items available to be > selected in a palette. As of right now, it searches correctly but if I add > items to the "selected" side of the palette and then search again, I lose > my previously selected choices. > > Is there anyway to only refresh the available menu and not the selected > menu? > > > 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 > > > > > mail2web LIVE Free email based on Microsoft® Exchange technology - > http://link.mail2web.com/LIVE > > > > - > 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 LIVE Free email based on Microsoft® Exchange technology - http://link.mail2web.com/LIVE - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: OnChangeAjaxBehavior with palette
You could add an AjaxFormComponentUpdatingBehavior to your palette so that your selections are pushed back to the underlying model. On Thu, Jan 7, 2010 at 9:40 AM, wic...@geofflancaster.com wrote: > any help? i cant be the only person to have tried this. > > Original Message: > - > From: wic...@geofflancaster.com wic...@geofflancaster.com > Date: Wed, 6 Jan 2010 14:13:50 -0500 > To: users@wicket.apache.org > Subject: OnChangeAjaxBehavior with palette > > > i'm trying using a text field to search through the items available to be > selected in a palette. As of right now, it searches correctly but if I add > items to the "selected" side of the palette and then search again, I lose > my previously selected choices. > > Is there anyway to only refresh the available menu and not the selected > menu? > > > 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 > > > > > mail2web LIVE – Free email based on Microsoft® Exchange technology - > http://link.mail2web.com/LIVE > > > > - > 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
RE: OnChangeAjaxBehavior with palette
any help? i cant be the only person to have tried this. Original Message: - From: wic...@geofflancaster.com wic...@geofflancaster.com Date: Wed, 6 Jan 2010 14:13:50 -0500 To: users@wicket.apache.org Subject: OnChangeAjaxBehavior with palette i'm trying using a text field to search through the items available to be selected in a palette. As of right now, it searches correctly but if I add items to the "selected" side of the palette and then search again, I lose my previously selected choices. Is there anyway to only refresh the available menu and not the selected menu? 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 mail2web LIVE Free email based on Microsoft® Exchange technology - http://link.mail2web.com/LIVE - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
OnChangeAjaxBehavior with palette
i'm trying using a text field to search through the items available to be selected in a palette. As of right now, it searches correctly but if I add items to the "selected" side of the palette and then search again, I lose my previously selected choices. Is there anyway to only refresh the available menu and not the selected menu? 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