Hi ,
We have a requirement where we have to remove Setting and Username from User Session icon
. Below are my approach
1) Create a custom Widget for User session Variable , while doing so I found the following XML file in xcp-core.jar in plugin folder of XCP- xcp_session_variable_container.xml, I tried to replicate the format of the XML in a separate JaR and added them(xml and Js mentioned below) like its described in the DemoTool Box XCP accelerator but didnt work as the control didnt show up in the xcp designer. Even if it had showed up I am not sure how to accomplish above task as with the XML we could just reach to these two JS, SessionVariableContainer.js and SessionVariableManager.js which leads me to nowhere
2) Also let me know how to work on XCP related JS . I downloaded Sencha Plugin as well as Updates for Java scripts on Eclipse Luna. But still not sure how to write commands like "xcp.core.SessionVariableManager.setSessionVariableValue(prop, value, this.getPageContext());"
Assuming JS works like Java i.e adding api and getting uderlying methods to call by cnrtl+space.
Any pointers on this will be helpful, as I didnt find a proper documentation on this any leads will be helpful. Thanks in Advance