@RequiresXsrfCheck public String doAddMetaAttribute() throws Exception { final ServiceOutcome<?> outcome = createEditor().addProperty(attributeKey, attributeValue); if (!outcome.isValid()) { addErrorCollection(outcome.getErrorCollection()); return INPUT; } else { return getViewRedirect(); } }
outcome = editor.addProperty(key, body.value);