You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Matt Darwin <ma...@gmail.com> on 2015/02/24 11:55:54 UTC
how do I make an iOS-like slide switch using apache wicket?
Hi,
I have a wicket webapp and I would like to add a panel with some slide switches to control functionality, like this:
I can't find any examples of how this can be done in wicket - can anybody suggest anything? NB I need to use ajax to send API calls to the server when the user changes the value of the switch.
I think I'm using wicket 1.4.22.
Any ideas?
Re: how do I make an iOS-like slide switch using apache wicket?
Posted by Ernesto Reinaldo Barreiro <re...@gmail.com>.
Thanks for your answer!
On Tue, Feb 24, 2015 at 1:36 PM, Martin Grigorov <mg...@apache.org>
wrote:
> Hi Ernesto,
>
> No. There is no component for this yet.
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Tue, Feb 24, 2015 at 2:13 PM, Ernesto Reinaldo Barreiro <
> reiern70@gmail.com> wrote:
>
> > @Martin,
> >
> > Off topic: is this widget already integrated into wicket bootstrap?
> >
> >
> > On Tue, Feb 24, 2015 at 12:07 PM, Matt Darwin <ma...@gmail.com>
> > wrote:
> >
> > > Hi,
> > >
> > > The image can be found here:
> > > http://i.stack.imgur.com/2oS1Z.png
> > >
> > > it’s just a screenshot of an iOS slide switch.
> > >
> > > Your answer looks good - so I can just write them as checkbox and let
> the
> > > clever javascript do the rest? Brilliant. I will look into it
> > >
> > > Matt
> > >
> > > On 24 Feb 2015, at 11:03, Martin Grigorov <mg...@apache.org>
> wrote:
> > >
> > > > Hi,
> > > >
> > > > Your attachment didn't make it to the mailing list. It would be
> better
> > to
> > > > upload it somewhere.
> > > >
> > > > You can use any JS/CSS solution and just integrate it with Wicket to
> > send
> > > > the Ajax call when the value changes.
> > > > Here is one such JS solution: http://www.bootstrap-switch.org/
> > > >
> > > > Martin Grigorov
> > > > Wicket Training and Consulting
> > > > https://twitter.com/mtgrigorov
> > > >
> > > > On Tue, Feb 24, 2015 at 12:55 PM, Matt Darwin <ma...@gmail.com>
> > > wrote:
> > > >
> > > >> Hi,
> > > >>
> > > >> I have a wicket webapp and I would like to add a panel with some
> slide
> > > >> switches to control functionality, like this:
> > > >>
> > > >>
> > > >>
> > > >> I can't find any examples of how this can be done in wicket - can
> > > anybody
> > > >> suggest anything? NB I need to use ajax to send API calls to the
> > server
> > > >> when the user changes the value of the switch.
> > > >>
> > > >> I think I'm using wicket 1.4.22.
> > > >>
> > > >>
> > > >> Any ideas?
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > > For additional commands, e-mail: users-help@wicket.apache.org
> > >
> > >
> >
> >
> > --
> > Regards - Ernesto Reinaldo Barreiro
> >
>
--
Regards - Ernesto Reinaldo Barreiro
Re: how do I make an iOS-like slide switch using apache wicket?
Posted by Martin Grigorov <mg...@apache.org>.
Hi Ernesto,
No. There is no component for this yet.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Tue, Feb 24, 2015 at 2:13 PM, Ernesto Reinaldo Barreiro <
reiern70@gmail.com> wrote:
> @Martin,
>
> Off topic: is this widget already integrated into wicket bootstrap?
>
>
> On Tue, Feb 24, 2015 at 12:07 PM, Matt Darwin <ma...@gmail.com>
> wrote:
>
> > Hi,
> >
> > The image can be found here:
> > http://i.stack.imgur.com/2oS1Z.png
> >
> > it’s just a screenshot of an iOS slide switch.
> >
> > Your answer looks good - so I can just write them as checkbox and let the
> > clever javascript do the rest? Brilliant. I will look into it
> >
> > Matt
> >
> > On 24 Feb 2015, at 11:03, Martin Grigorov <mg...@apache.org> wrote:
> >
> > > Hi,
> > >
> > > Your attachment didn't make it to the mailing list. It would be better
> to
> > > upload it somewhere.
> > >
> > > You can use any JS/CSS solution and just integrate it with Wicket to
> send
> > > the Ajax call when the value changes.
> > > Here is one such JS solution: http://www.bootstrap-switch.org/
> > >
> > > Martin Grigorov
> > > Wicket Training and Consulting
> > > https://twitter.com/mtgrigorov
> > >
> > > On Tue, Feb 24, 2015 at 12:55 PM, Matt Darwin <ma...@gmail.com>
> > wrote:
> > >
> > >> Hi,
> > >>
> > >> I have a wicket webapp and I would like to add a panel with some slide
> > >> switches to control functionality, like this:
> > >>
> > >>
> > >>
> > >> I can't find any examples of how this can be done in wicket - can
> > anybody
> > >> suggest anything? NB I need to use ajax to send API calls to the
> server
> > >> when the user changes the value of the switch.
> > >>
> > >> I think I'm using wicket 1.4.22.
> > >>
> > >>
> > >> Any ideas?
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>
>
> --
> Regards - Ernesto Reinaldo Barreiro
>
Re: how do I make an iOS-like slide switch using apache wicket?
Posted by Ernesto Reinaldo Barreiro <re...@gmail.com>.
@Martin,
Off topic: is this widget already integrated into wicket bootstrap?
On Tue, Feb 24, 2015 at 12:07 PM, Matt Darwin <ma...@gmail.com> wrote:
> Hi,
>
> The image can be found here:
> http://i.stack.imgur.com/2oS1Z.png
>
> it’s just a screenshot of an iOS slide switch.
>
> Your answer looks good - so I can just write them as checkbox and let the
> clever javascript do the rest? Brilliant. I will look into it
>
> Matt
>
> On 24 Feb 2015, at 11:03, Martin Grigorov <mg...@apache.org> wrote:
>
> > Hi,
> >
> > Your attachment didn't make it to the mailing list. It would be better to
> > upload it somewhere.
> >
> > You can use any JS/CSS solution and just integrate it with Wicket to send
> > the Ajax call when the value changes.
> > Here is one such JS solution: http://www.bootstrap-switch.org/
> >
> > Martin Grigorov
> > Wicket Training and Consulting
> > https://twitter.com/mtgrigorov
> >
> > On Tue, Feb 24, 2015 at 12:55 PM, Matt Darwin <ma...@gmail.com>
> wrote:
> >
> >> Hi,
> >>
> >> I have a wicket webapp and I would like to add a panel with some slide
> >> switches to control functionality, like this:
> >>
> >>
> >>
> >> I can't find any examples of how this can be done in wicket - can
> anybody
> >> suggest anything? NB I need to use ajax to send API calls to the server
> >> when the user changes the value of the switch.
> >>
> >> I think I'm using wicket 1.4.22.
> >>
> >>
> >> Any ideas?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
--
Regards - Ernesto Reinaldo Barreiro
Re: how do I make an iOS-like slide switch using apache wicket?
Posted by Matt Darwin <ma...@gmail.com>.
Hi,
The image can be found here:
http://i.stack.imgur.com/2oS1Z.png
it’s just a screenshot of an iOS slide switch.
Your answer looks good - so I can just write them as checkbox and let the clever javascript do the rest? Brilliant. I will look into it
Matt
On 24 Feb 2015, at 11:03, Martin Grigorov <mg...@apache.org> wrote:
> Hi,
>
> Your attachment didn't make it to the mailing list. It would be better to
> upload it somewhere.
>
> You can use any JS/CSS solution and just integrate it with Wicket to send
> the Ajax call when the value changes.
> Here is one such JS solution: http://www.bootstrap-switch.org/
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Tue, Feb 24, 2015 at 12:55 PM, Matt Darwin <ma...@gmail.com> wrote:
>
>> Hi,
>>
>> I have a wicket webapp and I would like to add a panel with some slide
>> switches to control functionality, like this:
>>
>>
>>
>> I can't find any examples of how this can be done in wicket - can anybody
>> suggest anything? NB I need to use ajax to send API calls to the server
>> when the user changes the value of the switch.
>>
>> I think I'm using wicket 1.4.22.
>>
>>
>> Any ideas?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: how do I make an iOS-like slide switch using apache wicket?
Posted by Martin Grigorov <mg...@apache.org>.
Hi,
Your attachment didn't make it to the mailing list. It would be better to
upload it somewhere.
You can use any JS/CSS solution and just integrate it with Wicket to send
the Ajax call when the value changes.
Here is one such JS solution: http://www.bootstrap-switch.org/
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Tue, Feb 24, 2015 at 12:55 PM, Matt Darwin <ma...@gmail.com> wrote:
> Hi,
>
> I have a wicket webapp and I would like to add a panel with some slide
> switches to control functionality, like this:
>
>
>
> I can't find any examples of how this can be done in wicket - can anybody
> suggest anything? NB I need to use ajax to send API calls to the server
> when the user changes the value of the switch.
>
> I think I'm using wicket 1.4.22.
>
>
> Any ideas?