- Create the .xml files on the config folder under custom (eg: Z:\tomcat\webapps\webtop\custom\config)
- No restriction on the file name.
<config>
<scope>
<menuconfig modifies="menubar_file_menu:\webcomponent\config\library\menubar\menubar_component.xml">
<remove path="menu[name=file_menu].menuitem[name=file_help]">
</remove>
</menuconfig>
</scope>
</config>
2. Insert a menu item (file_rename) on the File Menu below "Save As"
<config>
<scope>
<menuconfig modifies="menubar_file_menu:\webcomponent\config\library\menubar\menubar_component.xml">
<insertafter path="menu[name=file_menu].actionmenuitem[name=file_saveas]">
<actionmenuitem dynamic = "singleselect"
id = "file_rename" name = "file_rename"
value = "Rename" action = "rename" hotkeyid="HOTKEY_VIEW"
showifinvalid = "true"/>
</insertafter>
</menuconfig>
</scope>
</config>
No comments:
Post a Comment