Hi J.D. the tick marks on the background does not generate automatically unfortunately, because it's a css background image. In order to make it strechable I used a repeating background image for that. you can however, try overriding the Yui*Settings to provide your own background image that correspond to your Tick settings. That might work.
Regarding the getOnChangeJSFunc() {...} for the YuiSlider, please note that this is the JavaScript running on the client and does not make wicket ajax callbacks to the components. HTH Josh 2009/11/21 Corbin, James <jcor...@iqnavigator.com> > In regards to ajaxy question below, the reason I needed this was to > update a label when the slider value was changed. I looked at the > example and noticed that this could be done by overriding the following > method on the slider: > > Protected String getOnChangeJSFunc() {...} > > I still have the question on rendering the tick marks, but will continue > looking at that one as well. > > J.D. > > -----Original Message----- > From: Corbin, James [mailto:jcor...@iqnavigator.com] > Sent: Friday, November 20, 2009 8:48 AM > To: users@wicket.apache.org > Subject: Wicket YUI - Integration (Slider Question) > > Hello, > > > > I am using the framework off the wicket-stuff trunk that wraps yui to > work with wicket. I must say it works pretty well. > > > > I did have a few questions on the slider that I hoped someone had > experience with at solving, > > > > 1. I cannot seem to get the tick marks to show up on the control? Is > this not supported in the current implementation of the framework > wrapper? > > 2. Does the slider component support attaching ajax behaviors? I am > looking to bind an ajax behavior (onchange) that updates a label with a > current value of the slider. I assume this is possible and will try it > this morning but wanted to check the forum to see if its wasted effort. > > > > Thanks, > J.D. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >