I have this on my custom component<?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" jcr:primaryType="cq:Component" jcr:title="Footer" ...
How to render this via Java and show in react? <linkURL jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/form/pathfield" fieldLabel="Link" nodeTypes="cq:Page" name="./linkURL" required="{Boolean}true" rootPa...
I want to create custom footer component like this, which will have footer dialog and inside that user can add 3 titles and add links, how I can achieve this
I have this@Self@Via(type = ResourceSuperType.class)private List list; @Overridepublic Collection<ListItem> getListItems() { return null != list ? list.getListItems() : null;}Is that even good? And in react im trying to render it like this but nothing is happening, blank page{props.listItems && (...
Hi, I have that, anyway I fixed it, can you help me how to render image? I have next stuff for image@ValueMapValueprivate String fileReference; @Overridepublic String getFileReference() { return fileReference;}<file granite:class="cmp-image__editor-file-upload" jcr:primaryType="nt:u...
I have this in modelstatic final String RESOURCE_TYPE = "sample/components/header";@ValueMapValueprivate String title;@Overridepublic String getTitle() { return title; }@Overridepublic String getExportedType(){ return HeaderModelImpl.RESOURCE_TYPE; }This is content from d...