Index: Area.java =================================================================== --- Area.java (revision 45996) +++ Area.java (working copy) @@ -48,7 +48,9 @@ package info.magnolia.module.templatingkit.templates; import java.util.ArrayList; +import java.util.HashMap; import java.util.List; +import java.util.Map; public class Area { @@ -58,6 +60,8 @@ private String template; + private Map parameters = new HashMap(); + public List getParagraphs() { return paragraphs; } @@ -85,5 +89,16 @@ public void setTemplate(String tempate) { this.template = tempate; } + + /** + * An arbitrary list of parameters. Used to omit subclass with getters and setters for each extra parameter. + */ + public Map getParameters() { + return this.parameters; + } + + public void setParameters(Map params) { + this.parameters = params; + } }