Title: Message
if you want behavior where the global views are referenced by all commands, you can use a transformation on maverick.xml. if specified, maverick will run maverick.xml through an xsl before loading it. This xsl could easily copy all global views for you under each command. actually--this has come up so often on this list that someone may have already written an xsl to do this.
 
--jim
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Simen Brekken
Sent: Sunday, March 30, 2003 1:03 PM
To: Mav-user
Subject: [Mav-user] View references

Why is it that in order to use global views for stuff like "login" one has to repeat:
 
<view ref="loginRequired" />
 
In absolutely every controller that uses that reference, why can't the global view be referenced automatically when there is no local view with that id?
 
For me it seems it's better to make a static variable in my authenticated base controller holding the name of the url a failed login should be redirected too than repeating an endless number of identical nodes.
 
Dazed and confused!

___
SIMEN BREKKEN / in his prime.

Reply via email to