I am attempting to do an "in-line editing" solution that has dijit elements
declared in a form that then have an xhrPost action that updates the data
and returns the form again. The problem that I'm encountering is that when
the div is returned, the form elements are no longer "Dojo-ized" - they are
plain html form elements. When I first hit the page, the elements are
created and display properly, it's just after the xhrPost that I am having
issues. The end of my xhrPost action is like this:

$this->view->lineItems = $lineItems->toArray();
$this->view->info = $invoice->toArray();
$this->_helper->layout->disableLayout();

$this->view->addHelperPath('Zend/Dojo/View/Helper/',
'Zend_Dojo_View_Helper');
Zend_Dojo::enableView($this->view);
$this->render('editLineItemsPartial');

I've tried various variations, and I can't seem to get the partial to render
correctly after it hits this action. I've also tried to activate dojo in the
partial, but that doesn't seem to work either. Any suggestions?

-Mark

-----
Mark Garrett
DailyDNA
Arkadelphia, AR
(Telecommuting to: Rogue River, OR)
-- 
View this message in context: 
http://www.nabble.com/Dijit-elements-and-xhrPost-tp20276334p20276334.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to