AnsweredAssumed Answered

repositoryHelper in WCMQS

Question asked by lemmy on Mar 29, 2011
Latest reply on Mar 31, 2011 by bremmington
Hi,

I'm trying to access the repository within an Java-backed Webscript. Hence I'm trying to inject the repositoryHelper in wcmqs-webapp-context.xml:
<bean id="webscript.calendar.display.get" 
      class="de.landhausanders.wcm.client.calendar.CalendarWebScript"
      parent="webscript">
       <property name="repository" ref="repositoryHelper" />
   </bean>

Unfortunately the repositoryHelper bean is not yet defined :-(

I've found the bean in Alfresco folder in file bootstrap-context.xml. Since wcmqs doesn't contain this file I'm trying to use copy everything regarding repositoryHelper into wcmqs-webapp-context.xml.

Is this the recommended way?

Thanks,
Lemmy

Outcomes