0 Replies Latest reply on Nov 28, 2011 5:30 AM by volkov.d

    Custom parts in faces-config generated by CDK

    volkov.d

      Hello!

      I am developing JSF component with CDK, and facing an issue with generated faces-config.xml.

      I want to add custom part in generated faces-config.xml, <application-factory> for example. I have created faces-config.xml in src/main/config with this content:

       

      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      <faces-config version="2.0" metadata-complete="false" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:cdk="http://jboss.org/schema/richfaces/cdk/extensions" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
          <factory>
              <application-factory>
                  de.eis.fba2.jsf.extension.FbaApplicationFactory
              </application-factory>
          </factory>
      </faces-config>
      

       

      After project build, generated faces-config does not contain this factory. Is there any possibility to include such configuration into generated faces-config?

       

      Any help is appreciated. Thanks in advance!