Can´t  you just use the following methods?

/**
         * Sets the maximum value of the slider.
         *
         * @param max
         * @return instance of the current component
         */
        public Slider setMax(Number max)
        {
                this.options.put("max", max.floatValue());
                return this;
        }


/**      * Sets the minimum value of the slider.         *       * @param min   
 *
@return instance of the current component        */     public Slider
setMin(Number min)      {               this.options.put("min",
min.floatValue());              return this;    }

Regards,

Ernesto
On Mon, Nov 14, 2011 at 12:45 PM, odin568 <[email protected]> wrote:
> Sorry, I think you missunderstood me:
> Yes, with this constructor, I set the min and max of the Slider.
>
> But I meant to set the values of the range manually.
>
> i.e. I create a range slider from 0 to 100. Then I want to set the two
> positions 10 and 90 as start for the Range.
>
> Thanks!
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Question-regarding-wiquery-Rangeslider-tp4025737p4039228.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to