Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
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")); }}