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]
