This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a.hrefTarget ? ' target="' + a.hrefTarget + '"' : "", '><span unselectable="on">', | |
CQ.shared.XSS.getXSSValue(n.text.replace(/</g, "<")),"</span></a></div>" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a.hrefTarget ? ' target="' + a.hrefTarget + '"' : "", '><span unselectable="on">', | |
CQ.shared.XSS.getXSSValue(n.attributes.name.replace(/</g, "<")),"</span></a></div>" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title = cqPage.getTitle() == null ? cqPage.getName() : cqPage.getTitle(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title = cqPage.getName(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
else{ | |
var select = $field.closest(".coral-Select").data("select"); | |
if(select){ | |
select.setValue(rValue); | |
} | |
else{ | |
$field.val(rValue); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" | |
jcr:primaryType="nt:unstructured" | |
jcr:title="Multifield" | |
sling:resourceType="cq/gui/components/authoring/dialog"> | |
<content | |
jcr:primaryType="nt:unstructured" | |
sling:resourceType="granite/ui/components/foundation/container"> | |
<layout | |
jcr:primaryType="nt:unstructured" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
var DATA_EAEM_NESTED = "data-eaem-nested"; | |
var CFFW = ".coral-Form-fieldwrapper"; | |
//reads multifield data from server, creates the nested composite multifields and fills them | |
function addDataInFields() { | |
$(document).on("dialog-ready", function() { | |
var $fieldSets = $("[" + DATA_EAEM_NESTED + "][class='coral-Form-fieldset']"); | |
if (_.isEmpty($fieldSets)) { | |
return; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.dialog-width-50rem{ | |
width:50rem; | |
} | |
.coral--dark + .dialog-width-50rem{ | |
width:100%; | |
} | |
.coral--dark + .dialog-width-50rem .column-full-width{ | |
width:60%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.aem.sgaem.project.servlets; | |
import com.adobe.cq.account.api.AccountManagementService; | |
import java.util.HashMap; | |
import java.util.Map; | |
import org.apache.felix.scr.annotations.Reference; | |
import org.apache.felix.scr.annotations.sling.SlingServlet; | |
import org.apache.sling.api.SlingHttpServletRequest; | |
import org.apache.sling.api.SlingHttpServletResponse; | |
import org.apache.sling.api.request.RequestParameter; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.aem.sgaem.project.servlets; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.UnsupportedEncodingException; | |
import org.apache.sling.api.request.RequestParameter; | |
final class Parameters implements RequestParameter { | |
private final String parameter; | |
public Parameters(String parameter) { this.parameter = parameter; } |
OlderNewer