Hi all.
To get special menu entries in the NetView Web Client I want to create a
special xml file in the directory d:\usr\ov\www\htdocs\warf\en\ for getting
access to the compaq web agent on port 2301.
I copied the standard ciscoworks xml script (cisco.xml) and edited this
that it looks like this
<?xml version='1.0' encoding='US-ASCII'?>
<!DOCTYPE WARF [
<!-- TRNOTE Do not translate -mnemonic entities. -->
<!-- TRNOTE ...-mnemonic is the mnemonic for previous ...-name. -->
<!ENTITY m-name 'Compaq'>
<!ENTITY m-mnemonic 'c'>
<!ENTITY m-mi1-name 'Compaq_Insight_Web_Zugriff'>
<!ENTITY m-mi1-mnemonic ''>
<!ENTITY m-mi1-short-desc 'Compaq Insight Manager for NetView'>
]>
<WARF>
<Menu name='&m-name;' mnemonic='&m-mnemonic;' kind='menu' where
='desktop'>
<MenuItem mnemonic='&m-mi1-mnemonic;'>
<Name value='&m-mi1-name;'/>
<ShortDescription value='&m-mi1-short-desc;'/>
<NameField value='IP Hostname'/>
<MinSelected value='1'/>
<MaxSelected value='1'/>
<SelectionRule value='isCpqInsight'/>
<EventHandler bindName='NetViewApplet' className
='com.tivoli.netview.client.NetViewApplet'>
<Method name='showDocument2'/>
<ArgList>
<Arg type='java.lang.String' value='http://'/>
<Arg type='java.lang.String' value= "IP-address:Port" />
<Arg type='java.lang.String' value
='Compaq_Insight_Web_Zugriff'/>
</ArgList>
</EventHandler>
</MenuItem>
</Menu>
</WARF>
When I use this menu on the web client Internet explorer opens just with
"http:IP-address" but the port is missing.
Can somebody help me to get the correct syntax for this script?
Mit freundlichen Gruessen - Yours sincerely
Karsten Schweiger
GE CompuNet Hamburg
Netzwerk und System Management
Ost- West Strasse 49, 20457 Hamburg, Germany
Phone: +49 (0) 431-3609-121, +49-0177-6302825, Fax: +49 (0) 431-3609-190,
E-Mail : Karsten.Schweiger@GECITS-EU.COM
Visit us on the Internet: http://www.gecits-eu.com
This email is confidential. If you are not the intended recipient,
you must not disclose or use the information contained in it.
If you have received this mail in error, please tell us
immediately by return email and delete the document.
|