Logger log = ApsSystemUtils.getLogger();
if (null == showlet) {
try {
showlet = this.createNewShowlet();
//for ContentFeedbackWidgetAction
IContentFeedbackConfig systemConfig = this.getContentFeedbackManager().getConfig();
String value = systemConfig.getComment();
if (null != value && value.equalsIgnoreCase("true")) showlet.getConfig().setProperty(WIDGET_PARAM_COMMENT_ACTIVE, value);
value = systemConfig.getAnonymousComment();
if (null != value && value.equalsIgnoreCase("true")) showlet.getConfig().setProperty(WIDGET_PARAM_COMMENT_ANONYMOUS, value);
value = systemConfig.getModeratedComment();
if (null != value && value.equalsIgnoreCase("true")) showlet.getConfig().setProperty(WIDGET_PARAM_COMMENT_MODERATED, value);
value = systemConfig.getRateContent();
if (null != value && value.equalsIgnoreCase("true")) showlet.getConfig().setProperty(WIDGET_PARAM_RATE_CONTENT, value);
value = systemConfig.getRateComment();
if (null != value && value.equalsIgnoreCase("true")) showlet.getConfig().setProperty(WIDGET_PARAM_RATE_COMMENT, value);
//---
} catch (Throwable t) {
ApsSystemUtils.logThrowable(t, this, NONE);