Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Target Click 0.21
Description
Form Click Hacks email:
---------------------------------
1. Controls that are public fields on Pages are auto-page.addControl'd.
We hacked ClickServlet.createPage to walk a Page's public fields, find ones
that are controls, and page.addControl them. Also note that, while doing
this, if the control's getName() returns null, we go ahead and call
control.setName(fieldName). So, our employerForm field has its name set to
"employerForm", and in the template we can do "$employerForm" to render it.