开发者

jQuery tree view within a form in ZF

in Zend Framework I need to create a form with a tree view. The tree view开发者_开发百科 must have checkboxes so the different nodes can be checked.

What is the best way to do this? Any help will be appreciated and any example or tutorial will be the cherry on the cake ;)


Check out here http://paveldubinin.com/2011/04/custom-zend-element-checkbox-tree/ There's a ready-made Zend Element for that with description and usage examples.


This is the clearest example (step by step) on how to build up your html around your zend form elements: http://devzone.zend.com/article/3450

You basically need to mix your Zend form elements up with your html.

Tree View Example: http://jquery.bassistance.de/treeview/demo/

Zend mixing form elements with html can be acheived using zend form decorators: http://framework.zend.com/manual/en/zend.form.decorators.html

Hope this helps :) Good luck by the way Zend is always a bit of a pain for things like this :)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜