Issue Type: Task Task
Affects Versions: 0.4.0
Assignee: Unassigned
Components: Wiki Documentation
Created: 27/Apr/12 1:08 PM
Description:

In 0.4.0 the config templates bundle has been replaced by a velocity based bundle. The WIKI page http://www.amdatu.org/confluence/display/Amdatu/Using+Templates aims to describe how to use the new template engine, but seems to be outdated or incorrect:

  • The page does not describe where to get the template processor from. Quote: "you should request the service from the current context". What context? The bundle context? And if so, shouldn't it be retrieved using a service dependency? And if so, is the service registered in the PLATFORM space or in each TENANTS space?
  • What is the purpose of the TemplateContext?
  • The VelocityBean in the example seems to come from itest package? And what does it do?
  • In my case I have a container.js file, which holds placeholders for configuration entries retrieved from config admin (i.e. ${org.amdatu.opensocial.shindig/workdir}) and system properties (i.e. ${system/amdatu.contextpath}). These placeholders should be replaced at runtime and written to file on disk. How should I do that?
Project: Amdatu
Labels: pfu040
Priority: Major Major
Reporter: Ivo Ladage - van Doorn
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers

Reply via email to