Toggle selected state of list item in control having only one item. The rest is as for HTMLForm.set_single.__doc__.
(self, name=None, type=None, kind=None, id=None,
nr=None, by_label=None, label=None)
| 3053 | self._find_list_control( |
| 3054 | name, type, kind, id, label, nr).set_single(selected) |
| 3055 | def toggle_single(self, name=None, type=None, kind=None, id=None, |
| 3056 | nr=None, by_label=None, label=None): # deprecated |
| 3057 | """Toggle selected state of list item in control having only one item. |
| 3058 | |
| 3059 | The rest is as for HTMLForm.set_single.__doc__. |
| 3060 | |
| 3061 | """ # by_label ignored and deprecated |
| 3062 | self._find_list_control(name, type, kind, id, label, nr).toggle_single() |
| 3063 | |
| 3064 | #--------------------------------------------------- |
| 3065 | # Form-filling method applying only to FileControls. |
nothing calls this directly
no test coverage detected