Quantcast
Viewing all articles
Browse latest Browse all 2218

Cant get the icon customization working in the vSphere Webclient



Hi, We have implemented a list view and are wanting to customize the icons based on the operation status of components. This is what i have.


 


<extensionid="com.vce.vision.computechassis.iconLabelSpecCollection"><extendedPoint>vise.inventory.representationspecs</extendedPoint>


<object>


<objectType>ComputeChassis</objectType>


<specCollection>


<com.vmware.ui.objectrepresentation.model.IconLabelSpec>


<iconId>#{icon.16.computechassis.major}</iconId>




<labelId>Compute Chassis</labelId>


<conditions>


<com.vmware.data.query.PropertyConstraint>


<propertyName>operStatus</propertyName>


<comparator>EQUALS</comparator>


<comparableValue>


<String>major</String>


</comparableValue>


</com.vmware.data.query.PropertyConstraint>


</conditions>


</com.vmware.ui.objectrepresentation.model.IconLabelSpec>


</specCollection>


</object>


</extension>                                                                           


I cant get it to work. I have a model Class of type computechassis and it has a operStatus property. It never goes to DataProviderAdapter implementation class to get the value of operStatus. Not sure where am i going wrong. Could someone please advice?

 


Viewing all articles
Browse latest Browse all 2218

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>