I've finally ported both maverick projects I'm working on to mav 2, and so
far I think it is great. The one small detail I don't quite get is the
reasoning behind the way the global views are set up.

In mav 1, a global view was truly global--every command got it by default.
Now in mav 2, I need to explicitly declare a reference to the global view in
each command:

<command name="main" controller="com.foo.foo">
    <view name="loginRequired" ref="loginRequired"/>
    <view name="success" path="/main.jsp" />
</command>

Why is this? I have 20 or so commands and 4 global views so far. That means
I have to add 80 seemingly unncessary lines to my maverick.xml file. Is this
to support shunting or something else that I haven't come across yet (so far
I have just done the basic port from mav 1 to mav 2--haven't used any new
functionality)?


_______________________________________________
Mav-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mav-user

Reply via email to