All Downloads are FREE. Search and download functionalities are using the official Maven repository.

SLING-INF.apps.merkle.genericmultifield.readonly.readonly.jsp Maven / Gradle / Ivy

The newest version!
<%
%>
<%@include file="/libs/granite/ui/global.jsp" %>
<%
%>
<%@page session="false"
        import="com.adobe.granite.ui.components.AttrBuilder,
                com.adobe.granite.ui.components.Config,
                com.adobe.granite.ui.components.Tag" %>
<%
    Config cfg = cmp.getConfig();

    Tag tag = cmp.consumeTag();
    AttrBuilder attrs = tag.getAttrs();

    attrs.addClass("coral-GenericMultiField");
    attrs.add("data-init", "genericmultifield");
    attrs.add("id", cfg.get("id", String.class));
    attrs.addClass(cfg.get("class", String.class));
    attrs.addRel(cfg.get("rel", String.class));
    attrs.add("title", i18n.getVar(cfg.get("title", String.class)));

    attrs.addOthers(cfg.getProperties(), "id", "rel", "class", "title", "fieldLabel", "fieldDescription");

    String fieldLabel = cfg.get("fieldLabel", "");
%>

>




    © 2015 - 2024 Weber Informatics LLC | Privacy Policy