Search code examples
phpjqueryzend-formzendxzend-form-sub-form

How to subForm a subForm with ZendX_Jquery TabContainer/TabPane?


I try to get Zend_From working with nested jquery tabs. I know how to do it with plain HTML/jQuery, and i also have a single tab row working with decorators and so on. (see http://i56.tinypic.com/9zt5qf.jpg for an example)

Has anyone managed to subForm a subForm with ZendX_Jquery TabContainer/TabPane ?

As soon as i add the subForm to the subForm, the form is not rendered anymore (the only "element" is the submit button, which is outside any subform).


EDIT:

After further playing around with it, the problem is with the decorators. the mainform is a tabcontainer, the subform in it is a tabpane, so a subform in a subform would need to be both, tabcontainer for its own subforms, and tabpane for the mainform.

TIA Rufinus


Solution

    1. Initialize nested tab with a function and call it onLoad , <body onLoad="">

    2. try to call them in a linear way use headjs , i didn't used or managed to use like u but sort of same situation and be sure ZendX_Jquery is using same version as nested tabs do