Actions

J2.5 talk

Developing a MVC Component/Adding decorations to the backend

From Joomla! Documentation

Revision as of 00:44, 19 September 2012 by Bkeevil (Talk | contribs)

This is just so overly complicated to implement MVC...

Delete toolbar item shouldn't work

In the example code:

 JToolBarHelper::deleteListX(, 'helloworlds.delete');

winds up calling HelloworldsModelHellowworlds->delete() through the controller/helloworlds.php controller. which doesn't exist in this demo or in the base JModelList class.

Clicking the delete button returns an error.

Should this be:

 JToolBarHelper::deleteListX(, 'helloworld.delete');