Changes between Version 39 and Version 40 of S3/FilterForms
- Timestamp:
- 04/02/13 09:32:42 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/FilterForms
v39 v40 234 234 ||submit||boolean or the button label as string/lazyT or a tuple (label, HTML class)||whether to render a submit button in the filter form and how, with {{{False}}} or {{{None}}} no submit button will be rendered||False (if True, then the label defaults to T("Search"))|| 235 235 ||ajax||boolean||whether to Ajax-update the target object (True, also requires the target to be specified in the html() call) or re-load the page (False)||False|| 236 ||url||string||where to load the filtered data from ||URL of the request||237 ||ajaxurl||string||where to load option updates for filter widgets from ||URL of the request + /filter.json method||236 ||url||string||where to load the filtered data from, if {{{ajax=True}}} then this URL should link to the Ajax method of the target object||URL of the request|| 237 ||ajaxurl||string||where to load option updates for filter widgets from, this URL must link to the S3Filter method handler||URL of the request + /filter.json method|| 238 238 ||_class||string||the CSS class for the filter form ''(HTML attribute)''||"filter-form"|| 239 239 ||_id||string||the HTML element ID for the filter form ''(HTML attribute)''||None||