Ok thank you, it took a bit to understand the but i think i've got it almost now.
But here is another thing:
that's my controller for the hmvc requests:
class Controller_Admin_Test extends Controller_Admin
{
public function action_index($id=null){
$article_hmvc['data'] = Request::forge('admin/article/edit/')->execute(array('id' => $id));
$article_hmvc['name'] = 'Artikel Allgemein';
$article_image_hmvc['data'] = Request::forge('admin/article/image/edit/')->execute(array('id' => $id));
$article_image_hmvc['name'] = 'Bilder';
$article_attributesgroups_hmvc['data'] = Request::forge('admin/article/attributegroups/edit/')->execute(array('id' => $id));
$article_attributesgroups_hmvc['name'] = 'Attribute';
$article_crossselling_hmvc['data'] = Request::forge('admin/article/crossselling/edit/')->execute(array('id' => $id));
$article_crossselling_hmvc['name'] ='Crossselling';
$view = View::forge('admin/test/index', array(
'article' => $article_hmvc,
'article_attributesgroups_hmvc' => $article_attributesgroups_hmvc,
'article_image_hmvc' => $article_image_hmvc,
'article_crossselling_hmvc' => $article_crossselling_hmvc
));
}
}
when i use this it throws this error:
Form instance already exists, cannot be recreated. Use instance() instead of forge() to retrieve the existing instance.
At first: is this the right way to use the hmvc ?
Another thing is that there is no instance() method.
Thanks,
Ralf
It looks like you're new here. If you want to get involved, click one of these buttons!