Quick Find toolbar in Author Component
Posted: Tue Mar 18, 2014 6:30 pm
Hello,
We are using the oXygen Author Component v. 15.2 and have a requirement to show a simplified find dialog in the web editor. For the regular find/replace dialog, we map it to a toolbar button like this without a problem:
However, I'm unable to find an action that toggles the Quick Find toolbar on and off in this manner. Is this possible in the Author Component?
If not, we will need to create our own simplified find dialog. Is there programmatic access to the internal oXygen find functions or a way to customize the existing find/replace dialog? Or will we need to use a custom dialog and findNodesByXPath to achieve something like this?
Thanks!
We are using the oXygen Author Component v. 15.2 and have a requirement to show a simplified find dialog in the web editor. For the regular find/replace dialog, we map it to a toolbar button like this without a problem:
Code: Select all
WSAuthorComponentEditorPage authorPage = (WSAuthorComponentEditorPage) editorComponent
.getWSEditorAccess().getCurrentPage();
Map<String, Object> authorCommonActions = authorPage
.getActionsProvider().getAuthorCommonActions();
ToolbarButton findReplaceButton = new ToolbarButton(
(Action) authorCommonActions.get("Find/Find_replace"), true);
If not, we will need to create our own simplified find dialog. Is there programmatic access to the internal oXygen find functions or a way to customize the existing find/replace dialog? Or will we need to use a custom dialog and findNodesByXPath to achieve something like this?
Thanks!