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

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

In that case, I strongly suggest using a simple XSLT transform on your
config file.  This facility provides you the flexibility of essentially
defining your own format.

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

As one of the people who answers support questions to this mailing list,
the tradeoff was a no-brainer :-)  Actually, I found that I ended up
making mistakes a few times myself, and that cinched it. 

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

No.  This will be flagged as an error condition.  If you have multiple
views, they must all have names.

Jeff


-------------------------------------------------------
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.