Problem Statement:
we are working on a vsphere webclient plugin running in both flex and HTML client. Developed using webclient SDK 6.7 .
While testing we found actions [Right Click] are not visible on any custom objects datagrid in HTML-Client only. Where as same actions are visible on Flex client and working as expected.
In my ModelObject we defined scheme as 'XXX'.
Code Snip:
publicabstractclass ModelObject implements Serializable {
privatestaticfinallongserialVersionUID = 1L;
publicstaticfinal String SCHEME = "xxx";
publicstaticfinal String NAMESPACE = "xxxxUI";
publicstaticfinalcharURI_SEPARATOR = ':';
publicstaticfinalcharFRAGMENT_SEPARATOR = '/';
publicstaticfinal String UID_PREFIX = SCHEME + URI_SEPARATOR + NAMESPACE;
We found a Solution:
After looking into some sample codes we found that in ModelObject we need to modify SCHEME = “urn:XXX”, whereas urn: is a prefix. Post these changes actions are visible on HTML-Client.
We want to ensure that above approch is valid and doesn't fall into further regression as we are not able to find any documentation from VMware for the namespace convention.
Should ModelObject namespace maintain XXX:XXX format?