Part of lp.services.webapp.interfaces View In Hierarchy
Method | __contains__ | Return True if a field named name was submitted. |
Method | __iter__ | Return an iterator over the submitted field names. |
Method | getOne | Return the value of the field name. |
Method | getAll | Return the list of values submitted under field name. |
If the field wasn't submitted return the default value. If more than one value was submitted, raises UnexpectedFormData.
If the field wasn't submitted return the default value. (If default is None, an empty list will be returned. It is an error to use something else than None or a list as default value.
This method should always return a list, if only one value was submitted, it will be returned in a list.