hey ed,
thanks for the pointer; I forwarded it to dev_at_myfaces;
I will take a look as soon as I have a single free minute...
-M
On Mon, Feb 8, 2010 at 5:55 PM, Ed Burns <Ed.Burns_at_sun.com> wrote:
> PROPOSAL
>
> This will *not* go in the spec, but I propose that existing JSF
> implementation coordinate and implement the following behavior.
>
> We introduce a System Property
>
> faces.PROJECT_STAGE
>
> Rationale for using this name: the context-param for this property is
> "javax.faces.PROJECT_STAGE". I chose not to use the "javax." prefix
> because doing so would be in poor taste. The "javax." prefix is
> intended for things in the specification proper.
>
> The valid values of this property are exactly as specified in section
> 11.1.3. If the System Property is not one of the valid values, the
> other sources for a value for this property are consulted.
>
> The implementation will interpret this property as an override for all
> other ways of setting the Application.getProjectStage() property.
>
> In addition to the preceding proposal, the implementation will print out
> a very prominent log message such as:
>
> ********************************************************************
> *** WARNING: JavaServer Faces is running in DEVELOPMENT mode. ***
> *** ^^^^^^^^^^^ ***
> *** Do NOT deploy to your live server(s) without changing this. ***
> *** See Application#getProjectStage() for more information. ***
> ********************************************************************
>
> Matthias Wessendorf, can you ensure that MyFaces implements it this way?
>
> Ed
>
>
> --
> | ed.burns_at_sun.com | office: 408 884 9519 OR x31640
> | homepage: | http://ridingthecrest.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_javaserverfaces.dev.java.net
> For additional commands, e-mail: dev-help_at_javaserverfaces.dev.java.net
>
>
--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf