/** @return the tab key for this hide/show block */ public String getTabKey() { if (tabKey == null) { tabKey = WebUtils.generateTabKey(renderingContext.getGroupLabel() + definition.getLabel()) + "-" + renderingContext .getAccountingLinePropertyPath() .replaceAll("\\.", "-") .replaceAll("\\[", "(") .replaceAll("\\]", ")"); } return tabKey; }
/** @return the concatenation of the group label and this block's label */ public String getFullLabel() { return renderingContext.getGroupLabel() + (!StringUtils.isBlank(definition.getLabel()) ? " " + definition.getLabel() : " Hide/Show Block"); }
/** @return the label for this hide/show block */ public String getLabel() { return definition.getLabel(); }