Reputation: 3165
Is there a way to do not use InputText
in association with Primefaces Slider
component (for
attribute) ?
I just want to have only the slide bar.
I can use InputHidden
component but is it another convenient way ?
Extending component ?
Upvotes: 0
Views: 589
Reputation: 3706
The problem is that the slider in Primefaces doesn't hold any values.
You could try to extend the component or create the one you want but it seems like a difficult work when you can use the InputHidden. The component translate to a div tag so it doesn't hold any values so, in any case, you'd have to add a field that posts its value with the form (if you create or extend the component).
What is the problem with InputHidden? Why don't you want to use it?
Upvotes: 1