Could you please explain me how to integrate a time picker component into my JSF/Richfaces web app, and bind its value to a managed bean?
I know the rich:calendar component comes out with both a date and a time pickers, but I need the latter only. In particular I need to provide a time selector to the user, so that he/she can select a FROM time and a TO time, where they are both limited to specific min/max values read from the bean.
I can probably use js/jquery widgets with they’re corresponding richfaces components, but I didn’t understand how to properly use them and bind them to the bean. Thank you very much.
rich:calendar is for choosing date and its time picker is optional, I think you should write it yourself, just put two rich:inputNumberSpinner for hours and minutes.
In MyBean class define two integer properties, hours and minutes; then add getters and setters for them.