In my post (http://forum.akelos.org/discussion/514) I noted there was a bug with the Admin_Scaffold Create/Update code. I have created a Refactored Admin_Scaffold template generator. I'm posting it here so that it may get added to the regular source tree. I do not have SVN or an account so I am posting the code here.
Found out that there is a bug with the CamelCased Admin_ControllerNames that my code posted above does not address...
If my AdminController is named "Admin_hanSoloController" everything works fine, but if my AdminController is named "Admin_HanSoloController" calls to $this->HanSolo->find(@$this->params['id']) don't work right. I'm thinking it is because "Admin_ControllerNames" have an underscore and normally controllers are only CamelCased. I'm trying to find the bug.
I'm doing: "AkInflector::underscore" instead of "AkInflector::camelize" when building the class stament: "class Admin_hanSoloController extends AdminController" right now as a work around and doing hand edits of the generated code.
CommentAuthoroisucf
I'll post this to track as soon as I find out how to recover my lost password for it.
CommentAuthoroisucf
If my AdminController is named "Admin_hanSoloController" everything works fine, but if my AdminController is named "Admin_HanSoloController" calls to $this->HanSolo->find(@$this->params['id']) does not return false like it should. Just a null object.