VMware {code} Community
geajith
Contributor
Contributor

Need information regarding the wizard tree implementation


Hi,


Need some pointers regarding the wizard tree implementation.


Currently we are using the PageInfo API to construct the wizard, which in turn wraps the respective components for each step.


The commitFunction of the PageInfo API is used to define what would happen when the user clicks NEXT button on the wizard.


We are facing an issue when we have a second level in the wizard, like the screenshot attached. If we are going back from any of the child nodes, the selection is not persisted. Also the rest of the steps don't get de-activated, as it happens for vCenter Create VM wizard.


Tried finding out if there are any functions that support the same, but was unable to find out any documentation(like Java or Actionscript SDK Docs).


Would really appreciate someone to point out to the possible solution of this issue. Also, if there is any documentation available which details the APIs of the vSphere web client SDK, a pointer to that would be too helpful.


Thanks in advance.

0 Kudos
3 Replies
laurentsd
VMware Employee
VMware Employee

The Wizard API is used in the chassis sample and documented in the AsDoc files (docs/vsphere-client-asdoc/)

It would be hard to understand what what doesn't work in your case without seeing the code.

The best thing to do is to reproduce the problem after modifying the chassis sample a little bit and attach your modified sample.

0 Kudos
geajith
Contributor
Contributor

Thanks. will come back on this.

Also, sometimes we're facing issues in the wizard with Back and Next buttons are disabled when we are using the wizards multiple times for performing some operations. If we cancel the wizard (using the close button in the right corner as none of the button are enabled...) and launch the wizard again, its starts working.

any thoughts on this ?

Thanks.

0 Kudos
laurentsd
VMware Employee
VMware Employee

Your wizard code controls the enable state of the buttons so I can't comment without seeing an example to reproduce the problem.

0 Kudos