sections.timePicker.basicUsage.xhtml Maven / Gradle / Ivy
Time picker has three modes 'inline', 'popup', 'spinner'. 'Spinner' is the most useful mode because it allows to increment / decrement hours / minutes in a convenient way.
One limitation - 'spinner' mode is not compatible with onHourShow / onMinuteShow callbacks because time to be in- decremented can not be easy determinated then.
Custom time picker demonstrates how to set arbitrary time separator, start / end hours / minutes, interval for minutes, period, buttons, and some other settings.
${showcase:getFileContent('/sections/timePicker/example-basicUsage.xhtml')}
${showcase:getFileContent('/org/primefaces/extensions/showcase/controller/TimePickerController.java')}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy