Stephen,


AttributeID.MODEL_CLASS is an integer value rather than the string you have in there.  You might want to use AttributeID.MTYPE_NAME or AttributeID.MTYPE_HANDLE instead I use those to be a little more granular when choosing models to display a menu for, we have a ton of custom menus.


Regards,


Sean





Sean Carnes
C&C Network Operations Center
Cablevision Systems Corp.
172*85*77/5163905910





>>> "Stephen Warne" <[email protected]> 05/20/09 8:25 AM >>>

 All


I have added a new Oneclick menu item to launch a browser session specifically for the Wireless model class. However I am seeing this item against other models as well. Below is the extract from the custom-menu-config.xml file and as you can see I have applied a filter for the model class ‘Wireless’ but thius seems to be ignored.


Any ideas why this isn’t working as I would expect gratefully received.


Regards


Stephen.


</item>


  <item name="Wireless Web Administration">


             <privilege>


               <name>launch-web-device-administration</name>


             </privilege>


             <popup-visibility>when-filter-passed</popup-visibility>


            <action>


             <context>


             com.aprisma.spectrum.app.topo.client.render.ModelContext


             </context>         


           <filter>


            <and>


              <has-attribute>AttributeID.NETWORK_ADDRESS</has-attribute>


              <equals>


              <attribute id="AttributeID.MODEL_CLASS">


              <value>Wireless</value>


              </attribute>


              </equals>


            </and>


           </filter>


               <accelerator modifiers="2">VK-A</accelerator>


            <launch-browser>


            <url>http://{0}</url>


            <param>


              <attribute>AttributeID.NETWORK_ADDRESS</attribute>


            </param>


            </launch-browser>


            </action>


 


 

Stephen Warne



Service Desk: +44 (0)845 850 1177
Direct: +44 (0)1268 727023

Number One
Paper Mill Drive
Church Hill South,
Redditch,
B98 8QJ
Telephone: +44 (0)845 850 5577



Winners of the Small Business UK Customer Experience Award as featured in The Sunday Times



 


 


 


Networks First Ltd , (Registered in England 291 2114)
Data Protection Act Fair Collection Notice: Your data will be processed by Networks First Limited at their offices. We will record information relevant to the provision of IT services to your company, including your name, business address, telephone number, e-mail address and details of your requirements. We will use the data to forward to you information on projects and services we think may be of interest to you. If you do not want to receive such communications, wish to update your registration or have any queries concerning this statement, please contact [email protected]


 



The information transmitted in this email and any of its attachments is intended only for the person or entity to which it is addressed and may contain Cablevision proprietary information, which is privileged, confidential, or subject to copyright belonging to Cablevision. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited and may be unlawful. If you received this in error, please contact the sender immediately and delete and destroy the communication and all of the attachments you have received and all copies thereof.

Reply via email to