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

triggering model change event

$
0
0

Hi,

 

I was going through sample/chassis.I was wondering if i use external data storing mechanism,then is there a way to pass query to external data on launch of plugin itself to construct chassis.(I am actually not looking for external data accessing APIs ).

 

My intention here is, as soon plugin is selected,query should be passed to load all chassis(both chassis creation and loading ui)..I mean is it possible to pass query before user perform any action after launching plugin?Or in the service layer,i have to query and create chassis i.e., should this be done in init() or constructor() of dataAdapter class(Does bean allow to query external data and based on input receieved will it allow to construct chassis).

 

I was referring to below code for add opertion,

var mce:ModelChangeEvent = ModelChangeEvent.newSingleObjectChangeEvent(newIResourceReference,OperationType.ADD);

How can i trigger this after query is send and object is created.As it  is triggered for per chassis creation.

So in case of external data ,i may have to create multiple chassis then how can i trigger. this to update in ui.


Viewing all articles
Browse latest Browse all 2218

Trending Articles