Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-2626

Make DatePicker on DateTimeField overrideable

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.4.6, 1.5-M1
    • wicket-datetime
    • None

    Description

      I'd like to use the DateTimeField component, but there is no API that I can
      see to override what DatePicker gets added to the component. I'd like to
      subclass the DatePicker and customize the icon, positioning, etc. I can do
      this if just dealing with the DateTextField, where I add the DatePicker
      behavior myself, but I can't do it when using the DateTimeField.

      Is there a way to do this? If not, could it be enhanced so we can do this?
      A simple protected newDatePicker() method on DateTimeField would accomplish
      this. I will submit a patch.

      See http://old.nabble.com/DateTimeField-enhancement-td26835114.html for more.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jdonnerstag Juegen Donnerstag
            slowery23 Steve Lowery
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment