madcorp / zfdatagrid

Automatically exported from code.google.com/p/zfdatagrid
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Adding own Zend_Form to grid fails #813

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create grid (+edit Button), render as table.
2. Create own form inherited of Zend_Form (ZendX_JQuery_Form)
3. Add elements to a displaygroup and add all to own form.
4. Add own form to grid ($form = new Bvb_Grid_Form(new MyForm());)

What is the expected output?
My decorated form elements in their display groups.

What do you see instead?
No form elements. Just my created submit button.

Please insert the appropriate values;
                    Zend Framework version: 1.11.10
ZFDatgrid Version (Bvb_Grid::getVersion()): 0.8
                          Operating system: WinXP SP3
                               PHP Version: 5.3
               Database Server and version: MySQL
                          Source Adatapter: BvB_Grid_Source_Zend_Select

Please provide any additional information below.
If I add subforms to my form, I get warning about "Your form does not have any 
fields". So this way doesn't work either.
Are there any practical examples, because it's very hard to get this working.
I've also set
<code>
$form->setUsePredefinedFormElements(true);
</code>

Original issue reported on code.google.com by 9km...@googlemail.com on 13 Jan 2012 at 11:39