private ProjectSettingsService _projectSettingsService;
private ApplicationSettings _ApplicationSettings;
+
+ /**
+ * Value of the menu property.
+ * It can be: none, create, open, study, knowledge, sysadmin, help.
+ */
+ private String _menuProperty;
+
/**
* Serial version ID.
*/
session.put("knowledge.filter", wapp.getFilter("knowledge"));
// transax.commit();
+
+ setMenuProperty("none");
+ initializationScreenContext(_menuProperty);
+
return SUCCESS;
}
catch (Exception error) {
logger.fatal("Reason:", error);
+
+ setMenuProperty("study");
+ initializationScreenContext(_menuProperty);
+
return ERROR;
}
}
public void setApplicationSettings(ApplicationSettings applicationSettings) {
_ApplicationSettings = applicationSettings;
}
+
+ /**
+ * Get the menuProperty.
+ * @return the menuProperty
+ */
+ public String getMenuProperty() {
+ return _menuProperty;
+ }
+
+ /**
+ * Set the menuProperty.
+ * @param menuProperty the menuProperty to set
+ */
+ public void setMenuProperty(String menuProperty) {
+ this._menuProperty = menuProperty;
+ }
}
\ No newline at end of file