Package com.citytechinc.cq.component.dialog.widget

Examples of com.citytechinc.cq.component.dialog.widget.WidgetParameters


    Boolean isRequired = getIsRequiredForField();
    Map<String, String> additionalProperties = getAdditionalPropertiesForField();
    String defaultValue = getDefaultValueForField();
    boolean hideLabel = getHideLabelForField();

    WidgetParameters widgetParameters = new WidgetParameters();
    widgetParameters.setXtype(parameters.getXtype());
    widgetParameters.setName(name);
    widgetParameters.setFieldName(fieldName);
    widgetParameters.setFieldLabel(fieldLabel);
    widgetParameters.setFieldDescription(fieldDescription);
    widgetParameters.setAllowBlank(!isRequired);
    widgetParameters.setHideLabel(hideLabel);
    widgetParameters.setAdditionalProperties(additionalProperties);
    widgetParameters.setDefaultValue(defaultValue);
    widgetParameters.setListeners(getListeners());

    return new SimpleWidget(widgetParameters);

  }
View Full Code Here

TOP

Related Classes of com.citytechinc.cq.component.dialog.widget.WidgetParameters

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.