Quantcast
Channel: VMware Communities : Discussion List - vSphere Client SDK
Viewing all articles
Browse latest Browse all 2218

HTML issue user session.

$
0
0

Hello All,

 

the case is as follows:

I have a controller that is supposed to clone virtual machines. However, I do not know how to inject the user session cookie and URL within the controller constructor from HTML part. I have not seen an example so far that acquires these two parameters with javascript and HTML bridge. I dont want to use an adapter for this because the whole my logic is based on requests and responses. I have tried to define the controller as follows:

 

<bean name="createVMController" class="com.controller.CreateVMController">
<constructor-arg ref="userSessionService"/>
</bean>

Viewing all articles
Browse latest Browse all 2218

Trending Articles



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