View references

"Simen Brekken" <[email protected]>
Newsgroups gmane.comp.web.maverick.general
Message-ID <001001c2f6e6$8e3f76b0$0200000a@moonraker>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.