return;
}
display.syncExec(() -> {
- CmsFeedback.show("Unexpected exception in CMS", e);
- exception = e;
-// log.error("Unexpected exception in CMS", e);
- doRefresh();
+ // TODO internationalise
+ CmsFeedback.error("Unexpected exception", e);
+ // TODO report
+// doRefresh();
});
}
Subject.doAs(getSubject(), new PrivilegedAction<Void>() {
@Override
public Void run() {
- if (exception != null) {
- // TODO internationalise
- CmsFeedback.show("Unexpected exception", exception);
- exception = null;
- // TODO report
- }
+// if (exception != null) {
+// // TODO internationalise
+// CmsFeedback.error("Unexpected exception", exception);
+// exception = null;
+// // TODO report
+// }
cmsWebApp.getCmsApp().refreshUi(ui, state);
return null;
}
});
}
- /** Sets the state of the entry point and retrieve the related JCR node. */
+ /** Sets the state of the entry point and retrieve the related content. */
protected String setState(String newState) {
cmsWebApp.getCmsApp().setState(ui, newState);
state = newState;
@Override
public void navigateTo(String state) {
- exception = null;
+// exception = null;
String title = setState(state);
if (title != null)
doRefresh();