I'm using agile toolkit 4.3.2. I have a virtual page that contains a form.
I created a button:
$this->button = $this->addButton('')
->setAttr('title', 'Show Virtual Page');
And I binded the virtual page to this button:
$vp = $this->button->add('VirtualPage', $size)->bindEvent('Show Virtual Page', 'click');
What I want is to get the HTML of the virtual page without pressing a Button. How can I do that? I want to have the HTML in a variable to pass it to another location in order to render it later.
Please tell me how can I get the HTML of a virtual page without pressing a button. I want to have the content after the page is loaded. How can I do that?