开发者

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, ta开发者_如何学Gobcontainer for its own subforms, and tabpane for the mainform.

TIA Rufinus


  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


@Rufinus

You seem to have 3 tiers of subforms. I have used view scripts from my main form's setDecorators() method. Then in the view script I have used the viewHelper which returns form objects. This is added to the tabcontainer's pane and the tabcontainer is rendered.

This is well rendered. However, the problem is populating the elements in the innermost subform. It would be great to share a little on how you designed the 3 tiers. Thanks.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜