Date: 2009-12-09 05:54:43 -0800 (Wed, 09 Dec 2009)
Add support for custom context menus for RichEditableText. There are limitations to this support since it needs additional API for TextArea, TextInput, and RichEditableText to do it correctly and we need better support from TLF as well. We should plan to do this in the next release.
For this release you can add a custom context menu to RichEditableText if it is done before the first mouse over, mouse hover or focusIn event on the RichEditableText field. TLF will enable/disable the clipboard properties based on the editing mode and the selection. These will show in the menu if the clipboardMenu is enabled.
You can only remove the context menu once the component is using a flowComposer rather than a factory, which means it has had focus.
The contextMenu must be set on RichEditableText, not on TextArea or TextInput. So for TextArea this is ta.textDisplay.contextMenu or for TextInput this is ti.textDisplay.contextMenu. If it is set on TextArea or TextInput you won't see it since the RichEditableText menu will be displayed instead.
Doc notes: see above
Bugs: partial fix for SDK-23926
Tests run: checkintests
Is noteworthy for integration: yes - perhaps? custom menu support for RichEditableText with severe limitations