<bean id="applicationSettings"
class="org.splat.simer.ApplicationSettings">
<property name="projectSettings" ref="projectSettings" />
+ <property name="documentTypeService" ref="documentTypeService" />
</bean>
<bean id="importedStudy" class="org.splat.simer.admin.ImportedStudy"
<property name="scenarioService" ref="scenarioService" />
</bean>
- <bean id="studyMenu" class="org.splat.simer.StudyMenu"
- scope="session" parent="slidMenu"/>
+ <bean id="studyMenu" class="org.splat.simer.StudyMenu"
+ scope="session" parent="slidMenu" />
- <bean id="newScenarioMenu" class="org.splat.simer.NewScenarioMenu"
- scope="session" parent="slidMenu"/>
+ <bean id="newScenarioMenu" class="org.splat.simer.NewScenarioMenu"
+ scope="session" parent="slidMenu" />
- <bean id="openStudy" class="org.splat.simer.OpenStudy"
- scope="session">
+ <bean id="openObject" abstract="true"
+ class="org.splat.simer.OpenObject" scope="session">
<property name="projectElementService"
ref="projectElementService" />
<property name="projectSettings" ref="projectSettings" />
+ <property name="knowledgeElementTypeService"
+ ref="knowledgeElementTypeService" />
+ </bean>
+
+ <bean id="openStudy" class="org.splat.simer.OpenStudy"
+ parent="openObject" scope="session">
+ <property name="projectElementService"
+ ref="projectElementService" />
<property name="publicationService" ref="publicationService" />
- <property name="scenarioService" ref="scenarioService" />
+ <property name="studyService" ref="studyService" />
<property name="stepService" ref="stepService" />
- <property name="repositoryService" ref="repositoryService" />
- <property name="menu" ref="studyMenu" />
+ <property name="repositoryService" ref="repositoryService" />
+ <property name="menu" ref="studyMenu" />
+ <property name="documentTypeService" ref="documentTypeService" />
</bean>
<bean id="openKnowledge" class="org.splat.simer.OpenKnowledge"
- scope="session">
- <property name="projectElementService"
- ref="projectElementService" />
- <property name="projectSettings" ref="projectSettings" />
+ parent="openObject" scope="session">
</bean>
<bean id="baseAction" class="org.splat.simer.Action"
scope="prototype">
<property name="projectElementService"
ref="projectElementService" />
- <property name="studyService" ref="studyService" />
- <property name="menu" ref="newScenarioMenu" />
+ <property name="scenarioService" ref="scenarioService" />
+ <property name="menu" ref="newScenarioMenu" />
</bean>
<bean id="importDocumentAction"
<property name="projectSettings" ref="projectSettings" />
<property name="publicationService" ref="publicationService" />
<property name="repositoryService" ref="repositoryService" />
+ <property name="documentTypeService" ref="documentTypeService" />
</bean>
<bean id="displayStudyStepAction"
<bean id="studyPropertiesAction"
class="org.splat.simer.StudyPropertiesAction" scope="prototype"
parent="displayStudyStepAction">
+ <property name="documentTypeService" ref="documentTypeService" />
</bean>
<bean id="editStudyAction" class="org.splat.simer.EditStudyAction"
<bean id="editDocumentAction"
class="org.splat.simer.EditDocumentAction" scope="prototype"
parent="displayStudyStepAction">
+ <property name="stepService" ref="stepService" />
<property name="publicationService" ref="publicationService" />
<property name="repositoryService" ref="repositoryService" />
</bean>
parent="displayStudyStepAction">
<property name="knowledgeElementService"
ref="knowledgeElementService" />
+ <property name="knowledgeElementTypeService"
+ ref="knowledgeElementTypeService" />
<property name="scenarioService" ref="scenarioService" />
</bean>
<property name="searchService" ref="searchService" />
<property name="simulationContextService"
ref="simulationContextService" />
+ <property name="knowledgeElementTypeService"
+ ref="knowledgeElementTypeService" />
</bean>
<bean id="searchDocumentAction"
<bean id="saveDocumentAction"
class="org.splat.module.SaveDocumentAction" scope="prototype">
+ <property name="documentTypeService" ref="documentTypeService" />
<property name="publicationService" ref="publicationService" />
<property name="repositoryService" ref="repositoryService" />
<property name="scenarioService" ref="scenarioService" />