Re: palette onSubmit

2010-01-21 Thread wic...@geofflancaster.com
Is there any way I can override what happens when the user adds or removes
an item to/from the selected list? i know its done via javascript but is it
possible to have an ajax call that calls a method where I can manually keep
track of what is being added or removed?

Original Message:
-
From: wic...@geofflancaster.com wic...@geofflancaster.com
Date: Thu, 21 Jan 2010 17:35:53 -0500
To: users@wicket.apache.org
Subject: Re: palette onSubmit


Are there any other solutions? palette.getrecorder().getconvertedinput()
returns a String, i need it to return a serialized list of selected
components so that i can iterate through them

Original Message:
-
From: Igor Vaynberg igor.vaynb...@gmail.com
Date: Tue, 19 Jan 2010 15:32:13 -0800
To: users@wicket.apache.org
Subject: Re: palette onSubmit


you can get the items using palette.getrecorder().getconvertedinput()

-igor

On Tue, Jan 19, 2010 at 3:27 PM, wic...@geofflancaster.com
 wrote:
> well if the form doesn't validate it calls the "onError" method which
> doesnt actually submit the form, hence the selected items aren't saved.
>
> at the time the user types into the textfield, the entire form has yet to
> be filled out so validation will always fail.
>
> Original Message:
> -
> From: Igor Vaynberg igor.vaynb...@gmail.com
> Date: Tue, 19 Jan 2010 15:11:43 -0800
> To: users@wicket.apache.org
> Subject: Re: palette onSubmit
>
>
> why would you want? simply do not repaint the feedback panel...
>
> -igor
>
> On Tue, Jan 19, 2010 at 3:07 PM, wic...@geofflancaster.com
>  wrote:
>> is there any way i can get around form validation using
>> ajaxformsubmitbehavior?
>>
>> Original Message:
>> -
>> From: Igor Vaynberg igor.vaynb...@gmail.com
>> Date: Tue, 19 Jan 2010 14:19:28 -0800
>> To: users@wicket.apache.org
>> Subject: Re: palette onSubmit
>>
>>
>> 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
>>  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
>>>  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
>>>>  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?
>>>>&g

Re: palette onSubmit

2010-01-21 Thread wic...@geofflancaster.com
Are there any other solutions? palette.getrecorder().getconvertedinput()
returns a String, i need it to return a serialized list of selected
components so that i can iterate through them

Original Message:
-
From: Igor Vaynberg igor.vaynb...@gmail.com
Date: Tue, 19 Jan 2010 15:32:13 -0800
To: users@wicket.apache.org
Subject: Re: palette onSubmit


you can get the items using palette.getrecorder().getconvertedinput()

-igor

On Tue, Jan 19, 2010 at 3:27 PM, wic...@geofflancaster.com
 wrote:
> well if the form doesn't validate it calls the "onError" method which
> doesnt actually submit the form, hence the selected items aren't saved.
>
> at the time the user types into the textfield, the entire form has yet to
> be filled out so validation will always fail.
>
> Original Message:
> -
> From: Igor Vaynberg igor.vaynb...@gmail.com
> Date: Tue, 19 Jan 2010 15:11:43 -0800
> To: users@wicket.apache.org
> Subject: Re: palette onSubmit
>
>
> why would you want? simply do not repaint the feedback panel...
>
> -igor
>
> On Tue, Jan 19, 2010 at 3:07 PM, wic...@geofflancaster.com
>  wrote:
>> is there any way i can get around form validation using
>> ajaxformsubmitbehavior?
>>
>> Original Message:
>> -
>> From: Igor Vaynberg igor.vaynb...@gmail.com
>> Date: Tue, 19 Jan 2010 14:19:28 -0800
>> To: users@wicket.apache.org
>> Subject: Re: palette onSubmit
>>
>>
>> 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
>>  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
>>>  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
>>>>  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
>>>>>
>>>>>
>>>>>
>>>>> -

Re: palette onSubmit

2010-01-19 Thread Igor Vaynberg
you can get the items using palette.getrecorder().getconvertedinput()

-igor

On Tue, Jan 19, 2010 at 3:27 PM, wic...@geofflancaster.com
 wrote:
> well if the form doesn't validate it calls the "onError" method which
> doesnt actually submit the form, hence the selected items aren't saved.
>
> at the time the user types into the textfield, the entire form has yet to
> be filled out so validation will always fail.
>
> Original Message:
> -
> From: Igor Vaynberg igor.vaynb...@gmail.com
> Date: Tue, 19 Jan 2010 15:11:43 -0800
> To: users@wicket.apache.org
> Subject: Re: palette onSubmit
>
>
> why would you want? simply do not repaint the feedback panel...
>
> -igor
>
> On Tue, Jan 19, 2010 at 3:07 PM, wic...@geofflancaster.com
>  wrote:
>> is there any way i can get around form validation using
>> ajaxformsubmitbehavior?
>>
>> Original Message:
>> -
>> From: Igor Vaynberg igor.vaynb...@gmail.com
>> Date: Tue, 19 Jan 2010 14:19:28 -0800
>> To: users@wicket.apache.org
>> Subject: Re: palette onSubmit
>>
>>
>> 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
>>  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
>>>  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
>>>>  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 comman

Re: palette onSubmit

2010-01-19 Thread wic...@geofflancaster.com
well if the form doesn't validate it calls the "onError" method which
doesnt actually submit the form, hence the selected items aren't saved.

at the time the user types into the textfield, the entire form has yet to
be filled out so validation will always fail.

Original Message:
-
From: Igor Vaynberg igor.vaynb...@gmail.com
Date: Tue, 19 Jan 2010 15:11:43 -0800
To: users@wicket.apache.org
Subject: Re: palette onSubmit


why would you want? simply do not repaint the feedback panel...

-igor

On Tue, Jan 19, 2010 at 3:07 PM, wic...@geofflancaster.com
 wrote:
> is there any way i can get around form validation using
> ajaxformsubmitbehavior?
>
> Original Message:
> -
> From: Igor Vaynberg igor.vaynb...@gmail.com
> Date: Tue, 19 Jan 2010 14:19:28 -0800
> To: users@wicket.apache.org
> Subject: Re: palette onSubmit
>
>
> 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
>  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
>>  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
>>>  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
>>

Re: palette onSubmit

2010-01-19 Thread Igor Vaynberg
why would you want? simply do not repaint the feedback panel...

-igor

On Tue, Jan 19, 2010 at 3:07 PM, wic...@geofflancaster.com
 wrote:
> is there any way i can get around form validation using
> ajaxformsubmitbehavior?
>
> Original Message:
> -
> From: Igor Vaynberg igor.vaynb...@gmail.com
> Date: Tue, 19 Jan 2010 14:19:28 -0800
> To: users@wicket.apache.org
> Subject: Re: palette onSubmit
>
>
> 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
>  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
>>  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
>>>  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
>>
>>
>&g

Re: palette onSubmit

2010-01-19 Thread wic...@geofflancaster.com
is there any way i can get around form validation using
ajaxformsubmitbehavior?

Original Message:
-
From: Igor Vaynberg igor.vaynb...@gmail.com
Date: Tue, 19 Jan 2010 14:19:28 -0800
To: users@wicket.apache.org
Subject: Re: palette onSubmit


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
 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
>  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
>>  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




mail2web.com - Microsoft® Exchange solutions from a leading provider -
http://link.mail2web.com/Business/Exchange



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: palette onSubmit

2010-01-19 Thread Igor Vaynberg
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
 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
>  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
>>  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



Re: palette onSubmit

2010-01-19 Thread wic...@geofflancaster.com
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
 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
>  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



Re: palette onSubmit

2010-01-19 Thread Igor Vaynberg
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.wicket.examples.compref.PalettePage

-igor

On Tue, Jan 19, 2010 at 11:45 AM, 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
>  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



Re: palette onSubmit

2010-01-19 Thread wic...@geofflancaster.com
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
 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



Re: palette onSubmit

2010-01-19 Thread Igor Vaynberg
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
 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



palette onSubmit

2010-01-19 Thread wic...@geofflancaster.com
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