Re: Different settings for different ProjectStages

2010-08-24 Thread Jakob Korherr
You're right, Gerhard. Furthermore we now have a spi package in impl (for the JBoss integration) and I think this is the best place to put it. I will open a JIRA issue, do some prototyping and provide a patch soon. Regards, Jakob 2010/8/13 Gerhard > the mentioned approach is quite similar to yo

Re: Different settings for different ProjectStages

2010-08-13 Thread Gerhard
the mentioned approach is quite similar to your initial suggestion - it just uses different terms and you have one property per config entry (which allows to use it in a typesafe way). -> if a manager impl. would be possible - this approach should be possible as well. regards, gerhard http://www.

Re: Different settings for different ProjectStages

2010-08-13 Thread Jakob Korherr
For this work properly we would have to provide an abstract config class, but we can only do that in myfaces-impl. However I think it's not a good idea to require myfaces-impl beeing a compile-dependency, impl should always be a runtime-dependency. Although I really like the idea of having a types

Re: Different settings for different ProjectStages

2010-08-11 Thread Gerhard
i would prefer something like [1] it allows - a default implementation which could implement the mentioned behavior - a typesafe config regards, gerhard [1] http://home.base.be/vt692569/blogs/2010-07-13.html http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in

Re: Different settings for different ProjectStages

2010-08-11 Thread Matthias Wessendorf
On Wed, Aug 11, 2010 at 4:23 PM, Jakob Korherr wrote: > Hi guys, > > Talking to some users of MyFaces, we found out that it would be really nice > to be able to have web.xml-settings depending on the current project stage. > For example you want to have different error pages for Development and >

Different settings for different ProjectStages

2010-08-11 Thread Jakob Korherr
Hi guys, Talking to some users of MyFaces, we found out that it would be really nice to be able to have web.xml-settings depending on the current project stage. For example you want to have different error pages for Development and Production. Imagine there is the config parameter org.apache.myfa