> Session scoped view controllers are not supported (the fact 
> that they sort of worked earlier was really a bug), and I 
> don't plan to support them as there are perfectly reasonable 
> workarounds (put the state information you need to save into 
> session scoped data beans, but keep your event handlers in a 
> request scoped view handler).
> 
> And yes, this fact needs to be made VERY clear in the docs, 
> so shame on us for that :-)
> 
> 
> Craig

Craig,

How about throwing an exception whenever a ViewController instance (or a
class with a ViewController annotation) is instantiated via the MBCF?

(Another good reason to expose an API for accessing Faces config at
startup).

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kito D. Mann ([EMAIL PROTECTED])
Author, JavaServer Faces in Action
http://www.virtua.com - JSF/Java EE consulting, training, and mentoring
http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info
phone: +1 203-653-2989 
fax: +1 203-653-2988



Reply via email to