0
我採取了以下從我的模板文件的代碼,
<a onclick="previewPop('<?= $this->url(array('controller'=>'report', 'action'=>'generatepreview','report_date'=>str_replace("%2F", "/", urlencode($this->report_dt))), 'default', true)?>')" href="javascript:void(0);" title="Preview">Preview</a>
<script type="text/javascript">
function previewPop(url){
window.open (url,"Invoice","menubar=1,resizable=1,width=850,height=550");
}
</script>
這把我的網址爲
http://test.study.com/shop1/public/report/generatepreview/report_date/2011%2F10%2F20
這導致 「Object not found!
」。所以在這裏我想發佈的數據,而不是追加它在URL中。我怎麼能在zend這裏完成。
非常感謝。 – mymotherland
很高興爲您效勞 –