1

I am trying to come up with a common UI framework for my organization. I want to know can I have something called shared faces-config.xml file which can be shared across projects.

Bozho
  • 588,226
  • 146
  • 1,060
  • 1,140
Nrusingha
  • 853
  • 5
  • 19
  • 33

2 Answers2

1

If you include the faces-config in your JAR, it will be found by any JSF project that you include that JAR within.

Zack Marrapese
  • 12,072
  • 9
  • 51
  • 69
0

Place your faces-config.xml in a META-INF folder in the jar root.

If you look at component frameworks (richfaces, tomahawk, etc) - they do it this way.

Bozho
  • 588,226
  • 146
  • 1,060
  • 1,140