Details
Description
Hey!.
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.
Attachments
Issue Links
| This issue is duplicated by: | ||||
| ZF-3160 | Nesting calls to Zend_View_Helper_Action renders content from inner call twice. |
|
|
|
Assigning to Ralph; Ralph, please review and attempt a fix for the next mini release.