How to delete the Instance of the View
How to delete the Instance of the View?
I have a ComponentMain and 2 views in that viewA & viewB.
viewA is my main layout view.
viewB contains generic methods which I use from ComponentMain component controller.
For the first time when I call any method of the viewB from component controller, the instance of the viewB is created (wdDoInit & wdModifyView(if firstTime) is called).
For the next time when I want to call any method of viewB, I want to remove the instance that view, so that the code in the wdDoInit method & if(firstTime) of wdModifyView got executed again. But as the Instance is already available the code in the wdDoInit is not getting executed.
I have a requirement to delete the instance of the view & then use the view again so that wdDoInit of the view exceuted whenever I want to use the view.
Please let me know How to remove the Instance of the view?
Edited by: Maha on Sep 14, 2010 12:48 PM