예제 #1
0
 /** @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;
 }
예제 #2
0
 /** @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");
 }
예제 #3
0
 /** @return the label for this hide/show block */
 public String getLabel() {
   return definition.getLabel();
 }