-
6 Nov 2012 1:03 PM #1
generate form/view?
generate form/view?
Using the just-released 3.0.0.250 GA .
I don't quite understand the "sencha generate form"/"sencha generate view" commands. It says the "view" form is ExtJS only and won't allow it with Touch. And for "sencha generate form", it creates a skeleton that's not really appropriate for a lot of views: descended from FieldSet, has a TextField and Submit button hardcoded into the skeleton.
Also, it creates all the forms as "default.view.______" where ______ is the --name parameter. I haven't figured out how to get it to use the actual name of your app instead of "default" (passing --name=MyApp.view.MyView results in app/view/MyApp/view/______).
I don't really understand the point of the Sencha cmd if it's going to create a bunch of stuff you're going to have to go back and edit so much. Before using it to generate my objects, I just created the new file by hand and pasted the skeleton in from another of my views/profiles/controllers/etc. Sencha cmd seems like it create a lot of gotchas when you forget to clean up after its inappropriate assumptions.
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote