Part of lp.bugs.browser.widgets.bugtask View In Hierarchy
Method | __init__ | Undocumented |
Method | setUpJavascript | Set up JS to select the "new bugwatch" option automatically. |
Method | setPrefix | Undocumented |
Method | renderItems | Render the items with with the correct radio button selected. |
Method | renderItem | Render an item. |
Method | renderSelectedItem | Render a selected item. |
Method | renderValue | Render the widget with the selected value. |
Method | _toFieldValue | Convert the textual token to a field value. |
Method | _getFormValue | Return the form value. |
Method | _div | Don't render a div tag. |
Method | _joinButtonToMessage | Join the input tag with the label. |
If the form value is _new_bugwatch_value, create a new bug watch, otherwise look up an existing one.
We have to override this method in this class since the original one uses getInputValue(), which it shouldn't do.
We override this method to use the _joinButtonToMessage method instead of the _joinButtonToMessageTemplate which doesn't have access to the id.