(→Delete toolbar item shouldn't work)
m (Hutchy68 moved page J2.5 talk:Developing a Model-View-Controller Component/Adding decorations to the backend to J2.5 talk:Developing a MVC Component/Adding decorations to the backend: trying to shorten title)
|(One intermediate revision by one user not shown)|
This is just so overly complicated to implement MVC...
In the example code:
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:
results in the delete() function of a JModelAdmin object being called but it doesn't delete the record.