AnsweredAssumed Answered

New content model definitions

Question asked by andrepra on May 17, 2006
Latest reply on Sep 1, 2008 by luiseterc
Following the procedure explained in the wiki for the creation of new content model xml I've configured the spring extension file terminating with -context.xml in the extensions directory. If I define two content models in two different files and I use two diffrent -context.xml files to load these extensions I'm getting an error on "add content function". Here the exception.

javax.faces.FacesException: Cannot get value for expression '#{AddContentWizard.objectTypes}'

caused by:
org.apache.jasper.JasperException: Cannot get value for expression '#{AddContentWizard.objectTypes}'

caused by:
javax.faces.el.EvaluationException: Cannot get value for expression '#{AddContentWizard.objectTypes}'

caused by:
javax.faces.el.EvaluationException:
org.alfresco.web.bean.wizard.AddContentWizard

caused by:
javax.faces.el.EvaluationException: Bean:
org.alfresco.web.bean.wizard.AddContentWizard, property: objectTypes

caused by:
java.lang.reflect.InvocationTargetException

caused by:
java.lang.NullPointerException

Using only one -context.xml file everything seems works fine. I have to use a single -context.xml file for all the content model definitions or I forgot something?

Outcomes