Hi Martin,

I tried to implement your Slider suggestion but even if I duplicate the code
in the examples, I get no feedback to the onChange method. My ajax debug
console also shows nothing so I get the feeling I am missing  some
javascript code here.

I have the jquery-1.4-SNAPSHOT.jar (1.4-20091110.07192) installed (I am
using wicket 1.4.1)

Any suggestions?

Rgds,
Pieter

On Wed, Nov 18, 2009 at 1:51 PM, Martin Grigorov <mcgreg...@e-card.bg>wrote:

> check wicketstuff-jquery
> there is a slider behavior + demo
>
> On Wed, 2009-11-18 at 13:04 +0100, pieter claassen wrote:
> > I would like to implement a slider to set the width of a component.
> >
> > I could not get the Dojo Slider implementation working with wicket 1.4.1
> (I
> > could not get the code in with maven even though the Dojo project built
> from
> > SVN, it just doesn't seem to contain the Slider class anymore).
> >
> > My thinking is to build a very simple slider component that updates a
> > variable and on mouse-up returns this data to the server.
> >
> > My approach so far is:
> > 1. Implement my own SliderAbstractAjaxBehavior that in onRequest will
> accept
> > the current position of the slider.
> > 2. I will then update the width of my component and mark it for
> repainting.
> > 3. I will have to develop the javascript to read the slider values and
> react
> > to the mouseup event. Where can I look for more information on how to
> post
> > data back to onRequest from Javascript? I assume there is a function
> already
> > availble in the standard wicket JS implementation?
> >
> > Any tips appreciated.
> >
> > Rgds,
> > Pieter
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Pieter Claassen
musmato.com

Reply via email to