the role of "mainViewStack"

0 views
Skip to first unread message

shawn

unread,
Mar 6, 2009, 11:35:58 AM3/6/09
to restfulx-framework
The "mainViewStack" seems be part of initialization. Can someone
explain a bit of the initialization procedure? Is it possible to have
an application without this viewstack?

Thanks in advance!
Shawn

Dima Berastau

unread,
Mar 7, 2009, 4:03:53 AM3/7/09
to restfulx-...@googlegroups.com
Hi Shawn,

Only the function that calls ApplicationController.initialize() is
responsible for initialization. The generated mainViewStack component
is entirely optional, you can replace it with whatever you want. Have
a look at http://github.com/dima/pomodo_on_rails/tree/master for an
example of an app that goes beyond generated code.

Hope this helps,
Dima

Shawn Ning

unread,
Mar 8, 2009, 9:07:29 PM3/8/09
to restfulx-...@googlegroups.com
Really? I removed the mainviewstack from the default scaffold application and it is broken then. I will try and confirm it tomorrow.
Reply all
Reply to author
Forward
0 new messages