This discussion is archived
2 Replies Latest reply: Nov 9, 2012 10:59 AM by Jai Om RSS

Is there a way to split adfc-config.xml?

Jai Om Newbie
Currently Being Moderated
Hello,

I am using Jdev 11.1.1.6.
I was wondering if we can declare our managed in different config files and some how let framework know that they should be loaded/instantiated with adfc-config defined managed beans.
The idea is to keep main adfc-config.xml file less cluttered.

I tried following in web.xml but this does not allow me to set backingBeanScope and PageFlowScope for managed beans.
<context-param>
<param-name>javax.faces.CONFIG_FILES</param-name>
<param-value>
/WEB-INF/xyzBeans-config.xml
</param-value>
</context-param>

Thanks,
Jai

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points