I'm a bit of a newbie when it comes to customizing webtop. Here's the code I have trying to resize a popup to a custom size called "maxsize" that I have defined in Webtop's web.xml file:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<config version="1.0">
<scope type="dm_folder">
<action modifies="import:/webcomponent/config/actions/dm_folder_actions.xml">
<replace path="action[id='import'].invocation.modalpopup.windowsize">
<windowsize>custsize</windowsize>
</replace>
</action>
</scope>
</config>
It is yielding the following error in Tomcat's stdout file:
14:35:17,820 ERROR [Thread-1] com.documentum.web.common.Trace - An error occurred during application intialization : Can't locate a unique child element with path: action[id='import'].invocation.modalpopup.windowsize in: (C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\webapps\webtop/webcomponent/config/actions/dm_folder_actions.xml)config[version=1.0].scope[type=dm_folder,application=webcomponent,version=latest].action[id=import,version=latest].
The path is specified by: (C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\webapps\webtop/custom/config/dm_folder_actions.xml)config[version=1.0].scope[type=dm_folder,application=custom].action[modifies=import:/webcomponent/config/actions/dm_folder_actions.xml].replace[path=action[id='import'].invocation.modalpopup.windowsize]
java.lang.IllegalStateException: Can't locate a unique child element with path: action[id='import'].invocation.modalpopup.windowsize in: (C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\webapps\webtop/webcomponent/config/actions/dm_folder_actions.xml)config[version=1.0].scope[type=dm_folder,application=webcomponent,version=latest].action[id=import,version=latest].
The path is specified by: (C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\webapps\webtop/custom/config/dm_folder_actions.xml)config[version=1.0].scope[type=dm_folder,application=custom].action[modifies=import:/webcomponent/config/actions/dm_folder_actions.xml].replace[path=action[id='import'].invocation.modalpopup.windowsize]
Thanks in advance for your help!