17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 498 Views |
-
Saving form with HasMantComplexTablefield

16 October 2008 at 9:27pm
Hi All,
I've been asking on IRC and not got much help:
basically i have created a new module and within that linked the tree_class to another class PlaceHolder as has_many.
How i have a form that the module admin class displays and in that there is the ComplexTableField. This all works fine.
I can create items in the CTF fine and save them, but when i try to save the whooe item i get the followin error:
Object::__call() Method 'getEditForm' not found in class 'Templates'
I suspect i have set something up wrong when creating my form:
here is the module admin class:
http://clients.ccut-designs.co.uk/silverstripe/TemplatesAdmin.txt
The module tree class:
http://clients.ccut-designs.co.uk/silverstripe/Templates.txt
The class at the end of the has many:
http://clients.ccut-designs.co.uk/silverstripe/PlaceHolder.txtany help would be much appreciated as i'm really stumped on this.
Harry
| 498 Views | ||
|
Page:
1
|
Go to Top |

