- The majority of Widgets now auto-generate an html 'id' attribute for the rendered widget. This 'id' attribute is accessible in page templates via the field/html_id. If the field has an id attribute set in the 'extra' parameter, the value of this attribute is returned, rather than the auto-generated id. The html id and name attributes are now visible in the ZMI edit screen for the fields. The widgets which do not have html_ids are: RadioWidget, MultiCheckBoxWidget, DateTimeWidget. The widgets have a property "has_html_id" that templates can use to determine whether to place a label around the field title.
|Products.Formulator-1.12.tar.gz||Jan 22, 2010 6:09:48 PM||118.4 k|
FMI contact Martijn Faassen and community : info at infrae.com.