Hi,
I'm trying to load a Zend_Form into a Dojo tab container programatically (when a user create button on page new tab with a user form is added to the tab container). I have created the form view correctly (/modules/default/views/scripts/forms/index.phtml), but I have no idea how should I call this form inside my js function.
var cp = new dijit.layout.ContentPane({
title: 'My Form' ,
closable: true,
id: "form_1",
refreshOnShow: "true",
selected: "true",
href: "/modules/default/views/scripts/forms/index.phtml" //???
});
Appreciate if somebody can give me an guide on how should I map zend view scripts inside js.
Thank you