How do I load faces-config.xml when running a test based on AbstractJsfTestCase?
My current testing manually adds the renderers during setUp(). This work, but
it has the
following drawbacks:
1) The association between a component and it renderer must be maintained in
more
then one place.
On 1/1/07, Paul Spencer [EMAIL PROTECTED] wrote:
How do I load faces-config.xml when running a test based on
AbstractJsfTestCase?
My current testing manually adds the renderers during setUp(). This work,
but it has the
following drawbacks:
1) The association between a component and it
Craig,
Yes, we are thing along the same lines. As an example, I have a version
hardcoded to
MyFaces renderers in place [1][2]. I suspect configuring a digester type
utility that
reads faces-config.xml located in the class path like JSF implementation do,
but also
allows a file to be passed