Developing a MVC Component/Adding decorations to the backend
From Joomla! Documentation
Revision as of 14:38, 3 May 2013 by Tom Hutchison (talk | contribs) (Hutchy68 moved page Talk:Developing a Model-View-Controller Component/2.5/Adding decorations to the backend to J2.5 talk:Developing a Model-View-Controller Component/Adding decorations to the backend: namespacing)
Revision as of 14:38, 3 May 2013 by Tom Hutchison (talk | contribs) (Hutchy68 moved page Talk:Developing a Model-View-Controller Component/2.5/Adding decorations to the backend to J2.5 talk:Developing a Model-View-Controller Component/Adding decorations to the backend: namespacing)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This is just so overly complicated to implement MVC...
Delete toolbar item shouldn't work[edit]
In the example code:
JToolBarHelper::deleteListX(, 'helloworlds.delete');
winds up calling HelloworldsModelHellowworlds->delete() which is a function that doesn't exist in base JModelList class or it's descendant.
Clicking the delete button returns an error.
Changing this to:
JToolBarHelper::deleteListX(, 'helloworld.delete');
results in the delete() function of a JModelAdmin object being called but it doesn't delete the record.