I was able to resolve this with following update to execute methode. Not sure
why I didn't notice this before in SaveDialogAction code.
public void execute() throws ActionExecutionException {
// First Validate
validator.showValidation(true);
if (validator.isValid()) {
//subAppEventBus.fireEvent(new ItemEditedEvent(item));
final JcrNodeAdapter itemChanged = (JcrNodeAdapter) item;
try {
final Node node = itemChanged.applyChanges();
node.getSession().save();
emailPage(node);
} catch (final RepositoryException e) {
throw new ActionExecutionException(e);
}
callback.onSuccess(getDefinition().getName());
} else {
log.debug("Validation error(s) occurred. No save performed.");
}
}
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=4e32b762-5ff6-4723-b610-8e62c0f34115
----------------------------------------------------------------
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]>
----------------------------------------------------------------