Re: Mix of Confirmable and Indicating buttons

2016-04-07 Thread Maxim Solodovnik
Thanks Martin,

Will check this solution first :)

On Thu, Apr 7, 2016 at 7:02 PM, Martin Grigorov 
wrote:

> Hi Maxim, Sebastien,
>
> I haven't checked Wicket-JQuery-UI components but usually it should be as
> simple as http://stackoverflow.com/a/35598376/497381
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Thu, Apr 7, 2016 at 2:19 PM, Sebastien  wrote:
>
>> Ok, please create the ticket and I will have a look. Please specify the
>> urgency, I need to get organized these times!.. :p
>>
>> On Thu, Apr 7, 2016 at 2:12 PM, Maxim Solodovnik 
>> wrote:
>>
>> > Hello Sebastien,
>> >
>> > the question is about mix of ConfirmAjaxButton [1] and
>> > IndicatingAjaxButton [2] (not dialog buttons)
>> > I need it to perform "dangerous, long time" operation :)
>> >
>> > I'll create ticket on github :)
>> >
>> > [1]
>> http://www.7thweb.net/wicket-jquery-ui/button/ConfirmAjaxButtonPage?1
>> > [2]
>> >
>> http://www.7thweb.net/wicket-jquery-ui/button/IndicatingAjaxButtonPage?2
>> >
>> > On Thu, Apr 7, 2016 at 5:54 PM, Sebastien  wrote:
>> >
>> >> Hi Maxim,
>> >>
>> >> On Thu, Apr 7, 2016 at 9:11 AM, Maxim Solodovnik > >
>> >> wrote:
>> >>
>> >>> Hello Sebastien,
>> >>>
>> >>> I would like to have very specific button:
>> >>> on click confirmation dialog should raise, if OK was selected "work in
>> >>> progress" indicator should be displayed
>> >>> so it is mix of confirmable and Indicating buttons
>> >>>
>> >>> Is this possible?
>> >>>
>> >>
>> >> The most important thing to understand is that dialog's button are not
>> >> regular button, so it is not possible to have a mix of button, unless
>> this
>> >> is a supported Wicket jQuery UI feature (in dialog's button), which is
>> not
>> >> the case IIRC. However, I did it for Kendo's Windows
>> >>
>> >>
>> >>>
>> >>> Additional question: kendo-indication button has option
>> >>> "isDisabledOnClick" I wonder is it possible to add such option to
>> "regular"
>> >>> indicating button?
>> >>>
>> >>
>> >> I can have a look. Please open a request ! :)
>> >> Note for me: should be very careful with #isDisabledOnClick because
>> >> disabling a submitting button may not submit the form properly
>> (disabled
>> >> inputs are not part of the post, so if the button is not part of the
>> post,
>> >> the form might not be processed)
>> >>
>> >>
>> >> Best regards,
>> >> Sebastien.
>> >>
>> >>
>> >
>> >
>> > --
>> > WBR
>> > Maxim aka solomax
>> >
>>
>
>


-- 
WBR
Maxim aka solomax


Re: Mix of Confirmable and Indicating buttons

2016-04-07 Thread Martin Grigorov
Hi Maxim, Sebastien,

I haven't checked Wicket-JQuery-UI components but usually it should be as
simple as http://stackoverflow.com/a/35598376/497381

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Thu, Apr 7, 2016 at 2:19 PM, Sebastien  wrote:

> Ok, please create the ticket and I will have a look. Please specify the
> urgency, I need to get organized these times!.. :p
>
> On Thu, Apr 7, 2016 at 2:12 PM, Maxim Solodovnik 
> wrote:
>
> > Hello Sebastien,
> >
> > the question is about mix of ConfirmAjaxButton [1] and
> > IndicatingAjaxButton [2] (not dialog buttons)
> > I need it to perform "dangerous, long time" operation :)
> >
> > I'll create ticket on github :)
> >
> > [1]
> http://www.7thweb.net/wicket-jquery-ui/button/ConfirmAjaxButtonPage?1
> > [2]
> > http://www.7thweb.net/wicket-jquery-ui/button/IndicatingAjaxButtonPage?2
> >
> > On Thu, Apr 7, 2016 at 5:54 PM, Sebastien  wrote:
> >
> >> Hi Maxim,
> >>
> >> On Thu, Apr 7, 2016 at 9:11 AM, Maxim Solodovnik 
> >> wrote:
> >>
> >>> Hello Sebastien,
> >>>
> >>> I would like to have very specific button:
> >>> on click confirmation dialog should raise, if OK was selected "work in
> >>> progress" indicator should be displayed
> >>> so it is mix of confirmable and Indicating buttons
> >>>
> >>> Is this possible?
> >>>
> >>
> >> The most important thing to understand is that dialog's button are not
> >> regular button, so it is not possible to have a mix of button, unless
> this
> >> is a supported Wicket jQuery UI feature (in dialog's button), which is
> not
> >> the case IIRC. However, I did it for Kendo's Windows
> >>
> >>
> >>>
> >>> Additional question: kendo-indication button has option
> >>> "isDisabledOnClick" I wonder is it possible to add such option to
> "regular"
> >>> indicating button?
> >>>
> >>
> >> I can have a look. Please open a request ! :)
> >> Note for me: should be very careful with #isDisabledOnClick because
> >> disabling a submitting button may not submit the form properly (disabled
> >> inputs are not part of the post, so if the button is not part of the
> post,
> >> the form might not be processed)
> >>
> >>
> >> Best regards,
> >> Sebastien.
> >>
> >>
> >
> >
> > --
> > WBR
> > Maxim aka solomax
> >
>


Re: Mix of Confirmable and Indicating buttons

2016-04-07 Thread Sebastien
Ok, please create the ticket and I will have a look. Please specify the
urgency, I need to get organized these times!.. :p

On Thu, Apr 7, 2016 at 2:12 PM, Maxim Solodovnik 
wrote:

> Hello Sebastien,
>
> the question is about mix of ConfirmAjaxButton [1] and
> IndicatingAjaxButton [2] (not dialog buttons)
> I need it to perform "dangerous, long time" operation :)
>
> I'll create ticket on github :)
>
> [1] http://www.7thweb.net/wicket-jquery-ui/button/ConfirmAjaxButtonPage?1
> [2]
> http://www.7thweb.net/wicket-jquery-ui/button/IndicatingAjaxButtonPage?2
>
> On Thu, Apr 7, 2016 at 5:54 PM, Sebastien  wrote:
>
>> Hi Maxim,
>>
>> On Thu, Apr 7, 2016 at 9:11 AM, Maxim Solodovnik 
>> wrote:
>>
>>> Hello Sebastien,
>>>
>>> I would like to have very specific button:
>>> on click confirmation dialog should raise, if OK was selected "work in
>>> progress" indicator should be displayed
>>> so it is mix of confirmable and Indicating buttons
>>>
>>> Is this possible?
>>>
>>
>> The most important thing to understand is that dialog's button are not
>> regular button, so it is not possible to have a mix of button, unless this
>> is a supported Wicket jQuery UI feature (in dialog's button), which is not
>> the case IIRC. However, I did it for Kendo's Windows
>>
>>
>>>
>>> Additional question: kendo-indication button has option
>>> "isDisabledOnClick" I wonder is it possible to add such option to "regular"
>>> indicating button?
>>>
>>
>> I can have a look. Please open a request ! :)
>> Note for me: should be very careful with #isDisabledOnClick because
>> disabling a submitting button may not submit the form properly (disabled
>> inputs are not part of the post, so if the button is not part of the post,
>> the form might not be processed)
>>
>>
>> Best regards,
>> Sebastien.
>>
>>
>
>
> --
> WBR
> Maxim aka solomax
>


Re: Mix of Confirmable and Indicating buttons

2016-04-07 Thread Maxim Solodovnik
Hello Sebastien,

the question is about mix of ConfirmAjaxButton [1] and IndicatingAjaxButton
[2] (not dialog buttons)
I need it to perform "dangerous, long time" operation :)

I'll create ticket on github :)

[1] http://www.7thweb.net/wicket-jquery-ui/button/ConfirmAjaxButtonPage?1
[2] http://www.7thweb.net/wicket-jquery-ui/button/IndicatingAjaxButtonPage?2

On Thu, Apr 7, 2016 at 5:54 PM, Sebastien  wrote:

> Hi Maxim,
>
> On Thu, Apr 7, 2016 at 9:11 AM, Maxim Solodovnik 
> wrote:
>
>> Hello Sebastien,
>>
>> I would like to have very specific button:
>> on click confirmation dialog should raise, if OK was selected "work in
>> progress" indicator should be displayed
>> so it is mix of confirmable and Indicating buttons
>>
>> Is this possible?
>>
>
> The most important thing to understand is that dialog's button are not
> regular button, so it is not possible to have a mix of button, unless this
> is a supported Wicket jQuery UI feature (in dialog's button), which is not
> the case IIRC. However, I did it for Kendo's Windows
>
>
>>
>> Additional question: kendo-indication button has option
>> "isDisabledOnClick" I wonder is it possible to add such option to "regular"
>> indicating button?
>>
>
> I can have a look. Please open a request ! :)
> Note for me: should be very careful with #isDisabledOnClick because
> disabling a submitting button may not submit the form properly (disabled
> inputs are not part of the post, so if the button is not part of the post,
> the form might not be processed)
>
>
> Best regards,
> Sebastien.
>
>


-- 
WBR
Maxim aka solomax


Re: Mix of Confirmable and Indicating buttons

2016-04-07 Thread Sebastien
Hi Maxim,

On Thu, Apr 7, 2016 at 9:11 AM, Maxim Solodovnik 
wrote:

> Hello Sebastien,
>
> I would like to have very specific button:
> on click confirmation dialog should raise, if OK was selected "work in
> progress" indicator should be displayed
> so it is mix of confirmable and Indicating buttons
>
> Is this possible?
>

The most important thing to understand is that dialog's button are not
regular button, so it is not possible to have a mix of button, unless this
is a supported Wicket jQuery UI feature (in dialog's button), which is not
the case IIRC. However, I did it for Kendo's Windows


>
> Additional question: kendo-indication button has option
> "isDisabledOnClick" I wonder is it possible to add such option to "regular"
> indicating button?
>

I can have a look. Please open a request ! :)
Note for me: should be very careful with #isDisabledOnClick because
disabling a submitting button may not submit the form properly (disabled
inputs are not part of the post, so if the button is not part of the post,
the form might not be processed)


Best regards,
Sebastien.


Mix of Confirmable and Indicating buttons

2016-04-07 Thread Maxim Solodovnik
Hello Sebastien,

I would like to have very specific button:
on click confirmation dialog should raise, if OK was selected "work in
progress" indicator should be displayed
so it is mix of confirmable and Indicating buttons

Is this possible?

Additional question: kendo-indication button has option "isDisabledOnClick"
I wonder is it possible to add such option to "regular" indicating button?

Thanks in advance

-- 
WBR
Maxim aka solomax