30 Jan 2012 7:54 PM #1
Perhaps I missed something somewhere, but I thought this edition of Designer would allow the editing of the generated code. The code view window contains a banner that says "Code is Read Only" and there doesn't seem to be an obvious way around it. How does one go about editing the code inside Designer?
30 Jan 2012 9:47 PM #2
M. McConnell -
You can edit the code but the designer enforces that you follow a structure to building your applications.
At the top left hand side of the code viewer you will see a dropdown that allows you to switch between the ui class and the implementation class. These views are read-only. All other methods in the dropdown can be edited.
You can add more functions to the class by adding "Basic Functions" or event bindings to the class.Aaron Conran
Sencha Architect Development Team
31 Jan 2012 6:40 AM #3
Thanks for your quick reply, Aaron. I'll take another look when I start to piece together an application over the next couple of days.
I have to say, the Sencha framework (and tooling) is leaps and bounds ahead of anything else I've looked out in the wild. Most of my time is spent developing enterprise Flex applications and I'm still inclined to believe Flex is better suited for large scale applications. However, with everything you're doing to make Sencha a better suite of solutions, the line is definitely starting to blur. You guys do great work.
31 Jan 2012 4:02 PM #4
31 Jan 2012 6:12 PM #5
31 Jan 2012 7:25 PM #6
Any alternative? Using controller?