Announcement Announcement Module
Collapse
No announcement yet.
Date & time Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Date & time

    Hi Guys,

    I have created an entity that has a field which is a datetime. I used the standard java.util.Date type, but i was wondering if there is any way in roo to include a 'time picker' with the controller.

    many thanks
    Ben

  • #2
    Currently Roo does not configure a Dojo time picker for you (although there is one available). So if you choose a medium time format it will just expect the time in the correct format in your input field. Although the date picker actually does include the time it would have to be adjusted manually in the input field.

    Code:
    field date --fieldName test --type java.util.Date --timeFormat MEDIUM ...
    So you would need to disable automatic scaffolding for the jspx in question and include the Dojo time picker in question.

    Please feel free to open a Jira ticket for this!

    Cheers,
    Stefan

    Comment

    Working...
    X