Re: forwarding to a global view without having to have it in command

Travis Reeder <[email protected]>
Newsgroups gmane.comp.web.maverick.general
Message-ID <[email protected]>
Hmm, kind of a pain.  I'll have 4 views per command.  ex: nosite, 
noaccess, loginRequired, success.

Don't the benefits of having the global views outway the mistakes that 
few users might make?

If you have multiple views and one does not have a name, does that one 
get named "success"?



Schnitzer, Jeff wrote:

>>From: Travis Reeder [mailto:[email protected]]
>>
>>I noticed in the friendbook example that almost every command has
>>
>><view name="loginRequired" ref="loginRequired"/>
>>			<view name="loginFailed" ref="loginFailed"/>
>>
>>Is there anyway to forward to those in the code without having to have
>>them in all the commands?
> 
> 
> This comes up every so often (hey, another FAQ).  The short answer is
> that Maverick 1.0 used to make all global views implicitly available
> from all commands, and it caused a lot of user mistakes.  So after some
> discussion we changed this behavior.  If you are trying to make your
> config file a bit more terse, I suggest using an XSLT transform on the
> config file (with the configTransform init-param).
> 
> Here's the last time it came up:
> 
> http://www.mail-archive.com/[email protected]/msg00295.html
> 
> Jeff Schnitzer
> [email protected]
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> [INVALID FOOTER]
> 
> .
> 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
[INVALID FOOTER]
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.