Uploaded image for project: 'Click'
  1. Click
  2. CLK-311

DateField doesn't work on 1.4-RC3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • extras
    • None
    • Click 1.4-RC3

    Description

      When using click 1.4-RC3, DateField control doesn't work at all with a following message.

      Calendar.setup:
      Nothing to setup (no fields found). Please check your code

      Also, DateField does not work in the simple situation like this;

      Page template:
      <html>
      <head>
      $imports
      </head>
      <body>
      $form
      </body>
      </html>

      Page class:
      import net.sf.click.control.Form;
      import net.sf.click.extras.control.DateField;

      public class IndexPage extends net.sf.click.Page {
      public Form form = new Form();

      public IndexPage()

      { form.add(new DateField("dateField")); }

      }

      Attachments

        Activity

          People

            sabob Bob Schellink
            click_akihiro Itou Akihiro
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: