@Martin,

Off topic: is this widget already integrated into wicket bootstrap?


On Tue, Feb 24, 2015 at 12:07 PM, Matt Darwin <mattdar...@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 <mgrigo...@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 <mattdar...@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-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Regards - Ernesto Reinaldo Barreiro

Reply via email to