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