Obsolete Pages{{Obsolete}}
The official documentation is at: http://docs.alfresco.com
This page collects information, tips and errors about the book 'Alfresco Developer Guide' from Jeff Potts. The page is not related with Jeff Potts, his company or Alfresco in any way, but just a collection of things, the readers noticed while reading.
1) Debugging with Eclipse. It is not enough to set the 'repo.jscript' Debug. You need to set the ScriptLogger as well.
log4j.logger.org.alfresco.repo.jscript.ScriptLogger=debug
Question: Are there further tips so support Modeling debugging ?
2) listing multiple models. (page 299)
somco-model-context - in book is listed in one bean, which will lead to error message 'list expects </list>'
The downloadable code example is correct :
<bean id='someco.dictionaryBootstrap' parent='dictionaryModelBootstrap' depends-on='dictionaryBootstrap'>
<property name='models'>
<list>
<value>alfresco/extension/model/scModel.xml</value>
</list>
</property>
</bean>
<bean id='someco.workflowBootstrap'
parent='workflowBootstrap'>
<property name='models'>
<list>
<value>alfresco/extension/model/scWorkflowModel.xml</value>
</list>
</property>
</bean>
3) Tip regarding step 13 page 299 : The string 'scWorkflow' in 'alfresco.extension.scWorkflow' derives from (path + name of property file, containing the externalized strings).
4) The Hotdeployment function, mentioned in Appendix C, does only work, if you deploy files that do not exist in the 'webabbs' folder. An override, as suggested by the info lines in the administration console, does not happen. On restart, however, the uploaded 'web-client-confg-custom.xml' does override the webapps version !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.