Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-3769

Specify a default time for Datebox

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 8.0.5
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Users can specify a default time for Timebox in the calendar popup before users set a date. In this use case, we can't set the time by calling Datebox.setValue() since we don't want to set the date.

      For example:
      Below is a Datebox with a default time 00:01

      prototype

      the attached files

      1. datebox-defaulttime.zul
        0.2 kB
        hawk
      2. datebox-initTime.js
        1 kB
        hawk
      1. defaultTime.png
        19 kB

        Activity

        Show
        hawk hawk added a comment - from http://forum.zkoss.org/question/76034/default-time-in-the-dateboxs-pop-up/
        Hide
        rudyhuang rudyhuang added a comment -

        Jumper suggested once we upgrade the minimal Java edition requirement to 8+, we can use java.time.LocalTime or similar class to implement this feature.

        Show
        rudyhuang rudyhuang added a comment - Jumper suggested once we upgrade the minimal Java edition requirement to 8+, we can use java.time.LocalTime or similar class to implement this feature.

          People

          • Assignee:
            rudyhuang rudyhuang
            Reporter:
            hawk hawk
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: