Initialize slider - It doesnt start at the given value.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Initialize slider - It doesnt start at the given value.

javier.rivas
Hi all,

I am trying to use the xforms:range control, but when I bind the control to the value in my instance, the control doesn't start at that value. I works fine when I move it, that is the only problem I have.

This seems to happen as well in the examples provided by orbeon:
http://www.orbeon.com/ops/xforms-flickr-resize/ ( the size value is 75, but the slider starts at 10)

Is there any workaournd for this?

Best regards,
Javier Rivas
Reply | Threaded
Open this post in threaded view
|

Re: Initialize slider - It doesnt start at the given value.

Alessandro Vernet
Administrator
Javier,

On Sun, Jul 6, 2008 at 12:51 PM, javier.rivas
<[hidden email]> wrote:
> I am trying to use the xforms:range control, but when I bind the control to
> the value in my instance, the control doesn't start at that value. I works
> fine when I move it, that is the only problem I have.
>
> This seems to happen as well in the examples provided by orbeon:
> http://www.orbeon.com/ops/xforms-flickr-resize/ ( the size value is 75, but
> the slider starts at 10)

This has been a long standing issue. See:
http://forge.objectweb.org/tracker/?group_id=168&atid=350207&func=detail&aid=304281

If you wish to dig into the JavaScript code to implement/fix this and
you need help, please let us know.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws