It seems to be rather hardcoded in for example the AreaElement class if I am
not mistaken:
{code}
if (isAdmin() && hasPermission(this.areaNode)) {
MarkupHelper helper = new MarkupHelper(out);
helper.openComment(CMS_AREA).attribute(AbstractDirective.CONTENT_ATTRIBUTE,
this.areaPath);
helper.attribute("name", this.name);
helper.attribute("availableComponents", this.availableComponents);
helper.attribute("type", this.type);
helper.attribute("dialog", this.dialog);
helper.attribute("label", messages.getWithDefault(this.label,
this.label));
helper.attribute("inherit", String.valueOf(this.inherit));
if (this.editable != null) {
helper.attribute("editable", String.valueOf(this.editable));
}
helper.attribute("optional", String.valueOf(this.optional));
if (isOptionalAreaCreated()) {
helper.attribute("created", "true");
}
helper.attribute(SHOW_ADD_BUTTON,
String.valueOf(shouldShowAddButton()));
helper.attribute(SHOW_NEW_COMPONENT_AREA,
String.valueOf(shouldShowNewComponentArea()));
if (StringUtils.isNotBlank(description)) {
helper.attribute("description",
messages.getWithDefault(description, description));
}
helper.append(" -->\n");
}
{code}
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=790bee80-f6a4-4b9e-b3e9-f1954a94ef67
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------