AnsweredAssumed Answered

Depend on site model

Question asked by zladuric on Jun 6, 2013
Latest reply on Jun 6, 2013 by zladuric

I'm creating a custom model, and I need to import site model. But I'm having problems with it:
Caused by: org.alfresco.service.namespace.NamespaceException: URI cannot be imported as it is not defined (with prefix st

I do have the import line in my <imports> tag:
<import uri="" prefix="st" />  
, but it still fails.

The bean "extension.dictionaryBootstrap" has the depends-on clause for dictionary(
, but I suspect that's not it. What else am I missing?

UPDATE: I got a PM asking how exactly I solved this issue, here is how:

I edited
file and I added this:

   <bean id="siteService_dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
        <property name="models">