you can try to use this example... :o)

in the view-devicedetails-config.xml (/*/*/custom/topo/config):

<!-- Interface Address Translation Table -->
    <table-subview idref="table-interfaceaddress-translation-config">
      
<title>com.aprisma.spectrum.app.topo.client.InterfaceAddressTranslationTable</title>
      <privilege><name>InterfaceAddressTranslationTable</name></privilege>
    </table-subview>


and...

/tomcat/webapps/spectrum/WEB-INF/topo/config/table-interfaceaddress-translation-config.xml:

-->

<table id="table-interfaceaddress-translation-config"
       xmlns="http://www.aprisma.com";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xsi:schemaLocation="http://www.aprisma.com
                           ../../common/schema/table-config.xsd">

  <swing-header-row-template>
    <static-color idref="row-header-color-config"/>
  </swing-header-row-template>

  <swing-row-template>
    <enumerated-color idref="alternatingrow-color-config"/>
  </swing-row-template>

  <column-list>

    <column>
     <name>com.aprisma.spectrum.app.topo.client.Index</name>
      <content>
        <attribute>0x1103f</attribute>
      </content>
    </column>

    <column>
     <name>com.aprisma.spectrum.app.topo.client.PhysicalAddress</name>
      <content>
        <attribute>0x11040</attribute>
      </content>
    </column>

    <column>
     <name>com.aprisma.spectrum.app.topo.client.NetworkAddr</name>
      <content>
        <attribute>0x11041</attribute>
      </content>
    </column>

    <column>
     <name>com.aprisma.spectrum.app.topo.client.Type</name>
      <content>
        <attribute>0x11042</attribute>
        <renderer>
         <param name="attrID">0x11042</param>
           com.aprisma.spectrum.app.util.render.EnumeratedAttrRenderer
       </renderer>
      </content>
    </column>

  </column-list>
</table>

---
To unsubscribe from spectrum, send email to [email protected] with the body: 
unsubscribe spectrum [email protected]

Reply via email to