Re: javascript slider implementation

2009-11-19 Thread Martin Grigorov
Does the jquery demo work for you ? If YES then the problem is somewhere in your code, if NO then something went wrong somewhere in the library itself :-) On Thu, 2009-11-19 at 08:46 +0100, pieter claassen wrote: Hi Martin, I tried to implement your Slider suggestion but even if I duplicate

RE: javascript slider implementation

2009-11-18 Thread Stefan Lindner
// Put Javascript into body after compoonent @Override protected void onComponentRendered() { super.onComponentRendered(); JavascriptUtils.writeJavascript(response, our javascript); } or // put Javascript into head

Re: javascript slider implementation

2009-11-18 Thread Martin Grigorov
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

Re: javascript slider implementation

2009-11-18 Thread pieter claassen
Thanks, this helped a lot. My component that I want to resize is a WebMarkupContainer and I add my Slider to it. However, I don't see any output from my onChange method. here is the java and html. I am not sure what role SliderOptions and SliderHandleOptions play? Where can I see some example

Re: javascript slider implementation

2009-11-18 Thread pieter claassen
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