Package com.citytechinc.cq.component.dialog

Examples of com.citytechinc.cq.component.dialog.AbstractWidget


          parameters.getClassLoader(), parameters.getClassPool(), parameters.getWidgetRegistry(), null, true);

        DialogElement builtFieldWidget = WidgetFactory.make(curFieldMember, -1);
        if (builtFieldWidget instanceof AbstractWidget
          && StringUtils.isNotEmpty(dialogFieldSetAnnotation.namePrefix())) {
          AbstractWidget widget = (AbstractWidget) builtFieldWidget;
          String name = widget.getName();
          String newName;
          if (name.startsWith("./")) {
            newName = name.substring(2);
          } else {
            newName = name;
          }
          newName = dialogFieldSetAnnotation.namePrefix() + newName;
          if (name.startsWith("./")) {
            newName = "./" + newName;
          }
          widget.setName(newName);
        }
        elements.add(builtFieldWidget);
      }
    }
    WidgetCollectionParameters wcp = new WidgetCollectionParameters();
View Full Code Here


          parameters.getClassLoader(), parameters.getClassPool(), parameters.getWidgetRegistry(), null, true);

        DialogElement builtFieldWidget = WidgetFactory.make(curFieldMember, -1);
        if (builtFieldWidget instanceof AbstractWidget
          && StringUtils.isNotEmpty(dialogFieldSetAnnotation.namePrefix())) {
          AbstractWidget widget = (AbstractWidget) builtFieldWidget;
          String name = widget.getName();
          String newName;
          if (name.startsWith("./")) {
            newName = name.substring(2);
          } else {
            newName = name;
          }
          newName = dialogFieldSetAnnotation.namePrefix() + newName;
          if (name.startsWith("./")) {
            newName = "./" + newName;
          }
          widget.setName(newName);
        }
                builtFieldWidget.setRanking(ranking);
        elements.add(builtFieldWidget);
      }
    }
View Full Code Here

TOP

Related Classes of com.citytechinc.cq.component.dialog.AbstractWidget

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.