You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Matthias Wessendorf <ma...@apache.org> on 2010/02/10 11:59:19 UTC

Fwd: [1539-ProjectStageSystemProperty] PROPOSAL

FYI


---------- Forwarded message ----------
From: Ed Burns <Ed...@sun.com>
Date: Mon, Feb 8, 2010 at 5:55 PM
Subject: [1539-ProjectStageSystemProperty] PROPOSAL
To: dev@javaserverfaces.dev.java.net


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@sun.com  | office: 408 884 9519 OR x31640
| homepage:         | http://ridingthecrest.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@javaserverfaces.dev.java.net
For additional commands, e-mail: dev-help@javaserverfaces.dev.java.net




-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Re: Fwd: [1539-ProjectStageSystemProperty] PROPOSAL

Posted by Matthias Wessendorf <ma...@apache.org>.
cool!

On Wed, Feb 10, 2010 at 1:15 PM, Mark Struberg <st...@yahoo.de> wrote:
> txs also fixed in CODI [1]
>
> LieGrue,
> strub
>
> [1] http://github.com/struberg/myfaces-ext-cdi/
>
> --- Matthias Wessendorf <ma...@apache.org> schrieb am Mi, 10.2.2010:
>
>> Von: Matthias Wessendorf <ma...@apache.org>
>> Betreff: Fwd: [1539-ProjectStageSystemProperty] PROPOSAL
>> An: "MyFaces Development" <de...@myfaces.apache.org>
>> Datum: Mittwoch, 10. Februar 2010, 11:59
>> FYI
>>
>>
>> ---------- Forwarded message ----------
>> From: Ed Burns <Ed...@sun.com>
>> Date: Mon, Feb 8, 2010 at 5:55 PM
>> Subject: [1539-ProjectStageSystemProperty] PROPOSAL
>> To: dev@javaserverfaces.dev.java.net
>>
>>
>> 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@sun.com
>>  | office: 408 884 9519 OR x31640
>> | homepage:         | http://ridingthecrest.com/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@javaserverfaces.dev.java.net
>> For additional commands, e-mail: dev-help@javaserverfaces.dev.java.net
>>
>>
>>
>>
>> --
>> Matthias Wessendorf
>>
>> blog: http://matthiaswessendorf.wordpress.com/
>> sessions: http://www.slideshare.net/mwessendorf
>> twitter: http://twitter.com/mwessendorf
>>
>
> __________________________________________________
> Do You Yahoo!?
> Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
> http://mail.yahoo.com
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

AW: Fwd: [1539-ProjectStageSystemProperty] PROPOSAL

Posted by Mark Struberg <st...@yahoo.de>.
txs also fixed in CODI [1]

LieGrue,
strub

[1] http://github.com/struberg/myfaces-ext-cdi/

--- Matthias Wessendorf <ma...@apache.org> schrieb am Mi, 10.2.2010:

> Von: Matthias Wessendorf <ma...@apache.org>
> Betreff: Fwd: [1539-ProjectStageSystemProperty] PROPOSAL
> An: "MyFaces Development" <de...@myfaces.apache.org>
> Datum: Mittwoch, 10. Februar 2010, 11:59
> FYI
> 
> 
> ---------- Forwarded message ----------
> From: Ed Burns <Ed...@sun.com>
> Date: Mon, Feb 8, 2010 at 5:55 PM
> Subject: [1539-ProjectStageSystemProperty] PROPOSAL
> To: dev@javaserverfaces.dev.java.net
> 
> 
> 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@sun.com
>  | office: 408 884 9519 OR x31640
> | homepage:         | http://ridingthecrest.com/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@javaserverfaces.dev.java.net
> For additional commands, e-mail: dev-help@javaserverfaces.dev.java.net
> 
> 
> 
> 
> -- 
> Matthias Wessendorf
> 
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf
> 

__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 
http://mail.yahoo.com