View Single Post
  #2 (permalink)  
Old 07-01-2009, 12:19 AM
mark2331 mark2331 is offline
Member
 
Join Date: Oct 2008
Posts: 65
Default

Set the view script inside the form by using loadDefaultDecorators().

[PHP]
public function init()
{
// add elements here
}

public function loadDefaultDecorators()
{
$this->setDecorators(array(
array('ViewScript', array('viewScript' => 'process.phtml'))
));
}
[/PHP]
__________________
Mark Belanger
http://www.shoreboat.com | http://twitter.com/shoreboat
Reply With Quote