Well I actually would NOT recommend setting the ProjectStage via web.xml at all!

Please either use an environment variable
> -Djavax.faces.ProjectStage=Development

or via JNDI, in tomcat e.g. in conf/context.xml :
>    <Environment name="jsf/ProjectStage" value="SystemTest" 
>         type="java.lang.String" override="false"/>



LieGrue,
strub




----- Original Message -----
> From: Romain Manni-Bucau <[email protected]>
> To: [email protected]; Adrian Gonzalez 
> <[email protected]>
> Cc: 
> Sent: Friday, August 24, 2012 11:46 AM
> Subject: Re: [DISCUSS] roadmap for deltaspike-0.4-incubating
> 
>& quot;Is there a way to tell JSF to use DS projectStage instead of web.xml ?
> (in this way if I want during development mode to modify current
> projectStage from Development to Production, I only have to modify it in
> one location - not in DS AND JSF web.xml) "
> 
> i think the opposite is doable easily or it is vendor specific IMO
> 
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau*
> *Blog: http://rmannibucau.wordpress.com*
>

Reply via email to