Setting Facelets facelets.DEVELOPMENT at Runtime

If you have a custom configuration file where you switch between development und production environment you can use this custom facelets view handler to override the fixed web.xml entry from facelets (not very clean, but it works).

custom facelets view handler (example for a seam jsf wep app)

You also have to change your faces config and change to your new view handler..