I have the same problem. Nesting Zend_View_Helper_Action seems to duplicate the nested call.
Juan Felipe Alavarez Saldarriaga wrote: > > Hey!. > > I'm using ZFW 1.5.1, and I have an issue when I try to execute the > $this->action(); helper, this is what I got, a view named > "view-chart.phtml" execute the action helper, <?= $this->action( > "show-chart-main-panel", "diagnostic", "platform", array( "patient_id" => > $this->intPatientId ) ); ?>, then the view of the second action ( > "show-chart-main-panel" ) execute another action helper <?= $this->action( > "show-record-image", "patient", "platform", array ( 'patient_id' => > $this->intPatientId, 'patient_record_id' => $this->intPatientRecordId, > 'field_id' => $this->intFieldId ) ); ?>, what's the issue ? the output of > "show-record-image" appears twice on the "view-chart.phtml", any help ? > > * view-chart.phtml: > > <div> > <h3>View Chart:</h3> > > <?= $this->action( "show-chart-main-panel", "diagnostic", "platform", > array( "patient_id" => $this->intPatientId ) ); ?> > </div> > > * view-chart.phtml calls "show-chart-main-panel" action, this is the view > of "show-chart-main-panel" action, show-chart-main-panel.phtml: > > <div> > <h3>Show Cart Main Panel:</h3> > > <?= $this->action( "show-record-image", "patient", "platform", array ( > 'patient_id' => $this->intPatientId, 'patient_record_id' => > $this->intPatientRecordId, 'field_id' => $this->intFieldId ) ); ?> > </div> > > * show-record-image.phtml: > > <div> > <h3>Show Record</h3> > </div> > > This is the final result: > > <div> > <h3>View Chart:</h3> > <div> > <h3>Show Record</h3> > </div> > <div> > <h3>Show Cart Main Panel:</h3> > <div> > <h3>Show Record</h3> > </div> > </div> > </div> > > "show-record-image" string is duplicated, any help ? Thx. > > -- View this message in context: http://www.nabble.com/Zend_View_Helper_Action-Issue%2C-duplicated-view-output-tp16405271p16813312.html Sent from the Zend Framework mailing list archive at Nabble.com.
