Quantcast
Channel: Adobe Community : Popular Discussions - CQ5 (read only)
Viewing all 12476 articles
Browse latest View live

Unable to set maximum for tags widget

$
0
0

Hello,

 

according to the 'tags' widget (/libs/cq/tagging/widgets/source/widgets/TagInputField.js) documentation it should be possible to restrict the namespaces to select from usint the 'namespaces' attribute.

This works fine if I only specify the namespaces to restrict to (namespaces = [namespace1,namespace2].

But still according to the documentation, it should also be possible to restrict the number of tags that can be selected using the following format for each namespace in the 'namespaces' array:

 

{

    name: "namespace",

    maximum: 1

}

 

Unfortunately, that does not work. I have tried all sorts of combinations.

 

Anyone else stumbled into this issue?

 

Kind regards,

 

Luc


How to manually install the rep:Policy nodes using package manager?

$
0
0

When i try to install the package containing rep:policy nodes from another machine, the rep:policy nodes gets skipped.

 

In the activity log it shows a "A" or "U" for adding or updating the rep:policy node, but it shows a "D" in the immediately next step thereby deleting the rep:policy node which was installed. Is there any way to add or update the rep:policy nodes by installing a package?

 

Also, when nodes are pushed directly from SVN branch to a CQ5 instance (using Eclipse - File Vault(VLT)) all the other nodes except rep:policy nodes are getting pushed. I am not able to understand why rep:policy nodes are getting skipped during a package installation. Please help me to resolve this issue. Thanks in advance.

How to create a CQ package to export all the users and their permissions.

$
0
0

Hi All,

          Hope you all are doing great. Have a qn regarding the packge export via package manager. I am trying to export all the users and their permissions from one env to the other. I can get the users and groups but not their permissions. Can any one suggest me a way of how to do this? I was not able to get the include/exclude filters right..

 

Regards

Rama

Gatekeeper workflow process does not prevent re-rendering images

$
0
0

We experienced some trouble with the workflow gatekeeper process:

As far as I unterstood this process, it should prevent image rendering workflows to re-create all renditions if assets are imported via the package manager. So all our workflows contain the gatekeeper as first step - as seen in the original CQ DAM workflows.

 

But every time I import/reinstall a content package, all my rendering workflows start again and create renditions for every image. This is unnecessary and overwrites all manually modified renditions. So our editors are not amused.

 

What is the right way to use the gatekeeper or could it be, that it is buggy?

 

Cheers

Robert

How to write a subquery using JCR SQL2 in CQ5(without ModeShape)

$
0
0

Hi,

 

We have a parent node with several levels of child nodes. We are trying to do a node level search i.e., if the search key is present in any of the properties in the parent node or the child nodes, the query must return the parent node alone(NOT the child nodes).

 

The below JCR SQL2 query will do the above said functionality,

SELECT * FROM [nt:base] AS s WHERE ISDESCENDANTNODE([/DB/ParentNode]) and CONTAINS(s.*, 'searchKey')

 

The constraint is that we have other filters, which when applied, will give only the nodes which has the required property. For example

SELECT * FROM [nt:base] AS s WHERE ISDESCENDANTNODE([/DB/ParentNode]) and CONTAINS(s.*, 'searchKey') and column1 = 'filter1'

 

where column1 is present only in the ParentNode and not the child nodes.

 

Hence the above query will limit the search to the ParentNode only and it will not search the child nodes. Also when you use the first query you are getting child node path but my requirement is to get all the Parent Node paths.

 

And so I decided to write a sub-query like the one shown below,

SELECT * FROM [nt:base] as a

WHERE PATH() IN (

   SELECT * FROM [nt:base] AS s WHERE ISDESCENDANTNODE([/DB/ParentNode]) and CONTAINS(s.*, 'searchKey')

)

and column1 = 'filter1'

 

But the above query is not working in CRXDE Lite. When i searched the web it is said that sub-query and join conditions are possible only using ModeShape.

 

I have no idea what ModeShape is. If any one has any idea on writing a sub query using JCR SQL2 in CQ5 without ModeShape, please help. Thanks in advance.

Calculation of jcr:score in CQ5

$
0
0

Hi,

 

We are running a JCR SQL2 query to perform search over the content within pages. We have come across a clause "order by jcr:score" which I assume will be ordering the search results but I am not sure what is the ordering criteria. When i looked through the JCR specification at http://www.day.com/specs/jcr/1.0/6.6.5.3_jcr_score_function.html it suggests that "how this value is calculated is left up to the implementation" . I am not sure what implementation is referred to here - is it referring to Jackrabbit implementation?

 

Has anyone used jcr:score in their applications and could help shed some light on what it means and how does the ordering work in case of a searches on cq:pagecontent nodes.

 

Thank you for your time.

 

Thanks and Regards,

Anoop Kumar

javax.jcr.nodetype.ConstraintViolationException : Node is protected

$
0
0

Hi

 

    I have an nt:unstructured node to which i am writing some properties through java code. The properties are getting written but in my error log i am getting

 

javax.jcr.nodetype.ConstraintViolationException: Unable to perform operation. Node is protected.

 

       this error message.  Can anyone tell me why it happens and how to avoid this error message

 

 

 

Thanks and regards

 

Veena

AEM CQ5.6 - page properties editing functionality depending on templates

$
0
0

Hello everyone,

 

I want to provide a view (UI touched) to the editor/user different page properties depending on the template within CQ 5.6. Let's say I have three templates which have a bunch of common page properties. Additionally they have some different properties. In the end the user should see (with UI touched overlay) different page properties depending on different templates. This is regarding to the page which already exist and also when the user want to create a page based on a special template.

 

What I have done so far:

1) For existing pages.

For exsiting pages I have overloaded and addapted /libs/cq/gui/components/siteadmin/admin/childpage/childpage.jsp

Additionally I have overloaded /libs/wcm/core/content/sites/bulkproperties/items/content/items/tabs/items depending on my template.

 

2) No solution found for creating of new pages

 

 

Is there a way to solve this issue in easy way? I guess the overloading "solution" on the UI touch is a way to excessive.

If there is a way to solve it, please provide how to do it.

 

Thanks in advance

 

Vladimir

 

To make it more clear I made a screenshot of what I want to do. Please note there is no need to touch the /libs.

createPage.PNG


Does CQ provide a valid example of reverse replication for forms?

$
0
0

I am not talking about this:

http://helpx.adobe.com/cq/kb/HowToUseReverseReplication.html

and not this:

http://mkalugin-cq.blogspot.com/2012/02/reverse-replication-woes-solved.html

 

They work for polls and comments, but they don't seem to be working for forms. As far as I understand, the default servlet for forms creates a "sling:Folder" as a data container, under which all form values are set into properties. However, polls and comments are created as an entity(or node) under a container. A working example for comment is under "/content/usergenerated/content/geometrixx/en/blog/2009/02/shapecon_2009_inveg". All essential properties such as "cq:distribute", "cq:lastModified" are set correctly under this node. I tried to copy the idea of this example, but it never works for me.

 

Here's how I did.

1. I need to make a node as a "cq:Page", since reverse replication only works for this primary type. Let's name it "Page-1"

2. Create a "jcr:content" node under this node, make it as "cq:PageContent". I also set resourceType and template in "jcr:content". I need to make "Page-1" as a content page.

3. Create a data container under "cq:Page" node, make it "nt:unstructured". Let's name it "form_container". All form values are set into properties in this node. set "cq:lastModified", "cq:lastModifiedBy" and "cq:distribute" under this node.

4. Create a "jcr:content" node under "form_container", make it "nt:structured", set "cq:lastModified", "cq:lastModifiedBy" and "cq:distribute" under this node.

 

Obviously CQ doesn't know what I did and refuses to reverse replicate. Any help will greatly appreciate.

 

A finished upload will look like this:

 

/content

    /usergenerated

        /newsevent [cq:Page]

            /1351359963325_1 [cq:Page]

                |

                + form_content [cq:PageContent, cq:distribute==>true, and all form values stored as properties]

                |

                -- jrc:content [cq:distribute==> true, cq:lastModified==>Date Instance, cq:lastModifiedBy==>admin]

 

Kevin

Can not access bundle context from JSP in CQ5.5

$
0
0

I created an OGI bundle , named :

 

 

com.sdl.ws.integration.profserv.webservice.connector.server.external.beans

I can see the bundle under :

 

 

http://localhost:4502/system/console/bundles

Following is my JSP code , using which I am trying to access a bundlecontext

 

 

<%@ page import="org.osgi.framework.BundleContext"%>

<%@ page import="org.osgi.framework.FrameworkUtil"%>

<%@ page import="com.sample.osgi.components.FormattingServiceImpl.*"%>

<%@ page import="org.osgi.service.cm.ConfigurationAdmin"%>

<%@ page import="org.osgi.service.cm.Configuration"%>

<%@ page import="org.osgi.service.packageadmin.PackageAdmin"%>

<% BundleContext bundleContext =      FrameworkUtil.getBundle(FormattingServiceImpl).getBundleContext();  %>

 

I am getting the following error : FormattingServiceImpl cannot be resolved , Class name "FormattingServiceImpl" is missing

 

I tried to use multiple ways to import the jar but nothing is working ,

Here is a structure how my bundle is configured :

snap.png

 

 

I am stuck on the point how to access the bundle context from JSP , does any one has any suggestions / corrections ?

How to create pagination in CQ5

$
0
0

Hello,

 

Sub- Component for CQ5 pagination

 

I have a static webpage and having static pagination and I want to create pagination in CQ5.

Ex. page having 5-5 product on each page and each product is authorable by author and same component I want to develop in CQ5.

Please let me know is there any component available in CQ5 or how we can do this in CQ5

 

pag.JPG

 

 

Regards,

How to add a document to the JCR Repository via Java API

$
0
0

I'm trying to get started with the JCR 2.0 " Content Repository Java Technology API Specification" It's really a great document but I miss a minimum of examples to visualize how it is all fits together.

For a start I want to add a pdf-document to my local CRX repository. Form the book I see, that I must add a Node and add the Properties.

 

File file = new File("/mypath/mydocument.pdf");
FileInputStream is = new FileInputStream(file);
ValueFactory valueFactory = session.getValueFactory();
Binary myBinary = valFact.createBinary(is);
Value valueFactory =valFact.createValue(myBinary);
Node nodeCarl=content.addNode("Carl", "nt:file");
Property pCarl=nodeCarl.setProperty("jcr:data", myBinary);

The program fails with:

javax.jcr.nodetype.ConstraintViolationException: no matching property definition found for {http://www.jcp.org/jcr/1.0}data in the lastt cited line.

I don't know, why this comes up with ..jcr/1.0; The Classpath consists of JCR-2.0.jar and jackrabbit-standalone-2.2.13.jar.

 

Any hint to get this stored is appreciated.

Ulrich

CQ login page is throwing 500 Internal Server Error on start up. Can't load http root property error

$
0
0

Hello Team,

 

When I am trying to start the CQ instance, I am seeing the following in the stderr.log

 

Setting properties from filename 'C:/CQ/CQInstall/cq-author-4502.jar'

Property '-r' set to 'author' from filename cq-quickstart-5.5.0-20120220.jar

System property 'sling.run.modes' set to 'author' by -r option

Redirecting stdout to C:\CQ\CQInstall\.\crx-quickstart\logs\stdout.log

Redirecting stderr to C:\CQ\CQInstall\.\crx-quickstart\logs\stderr.log

ResourceProvider paths=[/gui, /gui/default]

Can't load http root property: java.io.FileNotFoundException: C:\CQ\CQInstall\.\crx-quickstart\conf\sling.properties (The system cannot find the file specified)

 

MAIN process: shutdown hook

 

MAIN process: exiting

 

I am not sure where from this extra \.\ is getting added in the path.

 

Even when I see the osgi bundle in the system console,

 

http://localhost:4502/system/console/bundles


Bundle information: 122 bundles in total, 119 bundles active, 3 active fragments, 0 bundles resolved, 0 bundles installed.


On my mac machine, I have the same version and could see the total bundles as different.


bundle information 231 bundles in total, 224 bundles active, 7 active fragments, 0 bundles resolved and 0 bundles installed


When I try to access the http://localhost:4502/libs/crx/core/content/login.html

 

Internal Server Error

 

When I looked into the logs, it is giving the following error message:

 

06.02.2013 17:38:31.980 *ERROR* [0:0:0:0:0:0:0:1 [1360193734586] GET /libs/crx/core/content/login.html HTTP/1.1] org.apache.sling.servlets.resolver.internal.SlingServletResolver Original error class org.apache.sling.api.SlingException org.apache.sling.api.SlingException:

 

at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInterna l(JspServletWrapper.java:563)

 

at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspSer vletWrapper.java:499)

at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:451)

at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)

Caused by: org.apache.sling.api.SlingException: Unable to setup processor: Unable to get component of class 'interface org.apache.sling.rewriter.Generator' with type 'htmlparser'.

 

at org.apache.sling.rewriter.impl.ProcessorManagerImpl.getProcessor(ProcessorManagerImpl.jav a:452)

 

at org.apache.sling.rewriter.impl.RewriterResponse.getProcessor(RewriterResponse.java:172)

at org.apache.sling.rewriter.impl.RewriterResponse.getWriter(RewriterResponse.java:110)

at org.apache.sling.scripting.core.impl.helper.OnDemandWriter.getWriter(OnDemandWriter.java: 38)

at org.apache.sling.scripting.core.impl.helper.OnDemandWriter.write(OnDemandWriter.java:61)

at java.io.PrintWriter.write(PrintWriter.java:382)

Caused by: java.io.IOException: Unable to get component of class 'interface org.apache.sling.rewriter.Generator' with type 'htmlparser'.

 

at org.apache.sling.rewriter.impl.PipelineImpl.getPipelineComponent(PipelineImpl.java:160)

 

at org.apache.sling.rewriter.impl.PipelineImpl.init(PipelineImpl.java:85)

at org.apache.sling.rewriter.impl.ProcessorManagerImpl.getProcessor(ProcessorManagerImpl.jav a:445)

... 73 more

 

Any pointers to solve the problem would be highly appreciated.

 

Best Regards,

Durga

how to get the local file system path of an image that loaded into the image component in cq5?

$
0
0

Hi,

 

I'm having hard time uploading image from filesystem where as drag and drop works.

 

I'm not getting a path of image selected from filesystem.

 

here is my code..

 

private String populateImage() throws Exception {

                    if (currentNode != null && currentNode.isNode()) {

                                   Node ImageNode = JcrResourceUtil.createPath(currentNode, "image",

                                                                      null, "nt:unstructured", true);

 

                                   imageUrl = ImageNode.hasProperty("fileReference") ? ImageNode.getProperty("fileReference").getValue().getString() : "";

       imageUrl = imageUrl.trim();

        log.info("MANAGE PROFILE BEAN IMAGE URL INSIDE IF IS: " + imageUrl);

                    } else {

                                        imageUrl = properties.get("fileReference", "");

                                        imageUrl = imageUrl.trim();

                                        log.info("MANAGE PROFILE BEAN IMAGE URL INSIDE ELSE IS: " + imageUrl);

                    }

 

 

                    return imageUrl;

          }

 

 

So if I drag and drop..

ImageNode.hasProperty("fileReference") is returning a valid path

but if I upload an image  it is returning Null.

So how to get the path? any suggestions around would be appreciated...

Unresolved references to [org.osgi.service.component]

$
0
0

Hi,

 

I'm trying to create a bundle using maven-bundle-plugin. The pom.xml of the project is:

 

<project     xmlns="http://maven.apache.org/POM/4.0.0"

            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

            xsi:schemaLocation="http://maven.apache.org/POM/4.0.0http://maven.apache.org/maven-v4_0_0.xsd">

            

    <modelVersion>4.0.0</modelVersion>

    <groupId>com.adobe.support.examples</groupId>

    <artifactId>com.adobe.support.examples.osgi.service</artifactId>

    <version>1.0.8</version>

    <packaging>bundle</packaging>

    <name>OSGi Service Example</name>

    <url>http://blogs.adobe.com/kmossman</url>

    <description>Adobe Developer Support OSGi Service Example</description>

    <!-- 

    Credit: This example is based on Moritz Havelock's http://in-the-sling.blogspot.com/

    

    I suggest you use the most current versions of the plugin's.

    Search the Central Repository for the most current versions http://search.maven.org/

    

    Use the search strings below and update the appropriate versions

    

    // Felix

    g:"org.apache.felix" a:"org.apache.felix.framework"

    g:"org.apache.felix" a:"maven-bundle-plugin"

    g:"org.apache.felix" a:"maven-scr-plugin"

    g:"org.apache.felix" a:"org.osgi.core"

    // Maven

    g:"org.apache.maven.plugins" a:"maven-compiler-plugin" 

    // Sling

    g:"org.apache.sling" a:"maven-sling-plugin"

    -->

    <properties>

        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

        <project.build.java.version>1.6</project.build.java.version>

        <!-- Felix -->

        <org.apache.felix.framework.version>4.0.2</org.apache.felix.framework.version>

        <org.apache.felix.maven-bundle-plugin.version>2.3.7</org.apache.felix.maven-bundle-plugin .version>   

        <org.apache.felix.maven-src-plugin.version>1.7.4</org.apache.felix.maven-src-plugin.versi on>

        <org.apache.felix.org.osgi.core>1.4.0</org.apache.felix.org.osgi.core>

        <!-- Maven -->

        <org.apache.maven.plugins.maven-compiler-plugin.version>2.3.2</org.apache.maven.plugins.m aven-compiler-plugin.version>

        <org.apache.maven.plugins.maven-surefire-plugin.version>2.12</org.apache.maven.plugins.ma ven-surefire-plugin.version>

        <!-- Sling -->

        <org.apache.sling.maven-sling-plugin.version>2.1.0</org.apache.sling.maven-sling-plugin.v ersion>

    </properties>

    <build>

    

        <plugins>

            <!--  Maven will compile our source java classes using

             the "project.build.java.version" specified -->

            <plugin>

                <groupId>org.apache.maven.plugins</groupId>

                <artifactId>maven-compiler-plugin</artifactId>

                <version>${org.apache.maven.plugins.maven-compiler-plugin.version}</version>

                <configuration>

                  <source>${project.build.java.version}</source>

                  <target>${project.build.java.version}</target>

                </configuration>

            </plugin>

            <!--  this will install the OSGi bundle into Sling for us

            we now upload the jar file automatically when we build with this plug-in -->

            <plugin>

                <groupId>org.apache.sling</groupId>

                <artifactId>maven-sling-plugin</artifactId>

                <version>${org.apache.sling.maven-sling-plugin.version}</version>

                <executions>

                    <execution>

                        <id>install-bundle</id>

                        <goals>

                            <goal>install</goal>

                        </goals>

                        <configuration>

                            <slingUrl>http://localhost:4502/system/console/install</slingUrl>

                            <user>admin</user>

                            <password>admin</password>

                        </configuration>

                    </execution>

                </executions>

            </plugin>

            <plugin>

                <!-- This will create the OSGI-INF for us that handles the Activator Class for us

                we now auto-generate the details in our bundle with this plug-in-->

                <groupId>org.apache.felix</groupId>

                <artifactId>maven-scr-plugin</artifactId>

                <extensions>true</extensions>

                <version>${org.apache.felix.maven-src-plugin.version}</version>

                <executions>

                    <execution>

                        <id>generate-scr-scrdescriptor</id>

                        <goals>

                            <goal>scr</goal>

                        </goals>

                    </execution>

                </executions>

            </plugin>        

            <plugin>

                <!-- This will create the OSGi /META-INF/MANIFEST.MF for us

                we now auto-generated the filea for us with this plug-in -->

                <groupId>org.apache.felix</groupId>

                <artifactId>maven-bundle-plugin</artifactId>

                <extensions>true</extensions>

                <version>${org.apache.felix.maven-bundle-plugin.version}</version>

                <configuration>

                    <instructions>

                        <Export-Package>com.adobe.support.examples.osgi.service</Export-Package>

                        <Import-Package>org.osgi.framework;version="1.3.0"</Import-Package>

                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>

                        <Bundle-Name>${project.name}</Bundle-Name>

                        <Bundle-Vendor>Kurt Mossman</Bundle-Vendor>

                        <!--

                            Inserting content into the JCR and installing some files on the server with your bundle.

                        

                            Sling-Initial-Content

                            

                                The first line will overwrite the contents of the node at content/osgitest with test.json

                                NOTE: uninstall:=false says that it will not remove the content when I remove the package.

                                    This could be set to true to also remove the content when the package is removed the choice is yours.

                                

                                The second line will overwrite the path will install the files and overwrite them if you re-install.

                         -->

                        <Sling-Initial-Content>

                            SLING-INF/initial-content/content/osgitest;path:=/content/osgitest;overwrite:=true;uninst all:=false,

                            SLING-INF/initial-content/apps/samples/osgitest;path:=/apps/samples/osgitest;overwrite:=t rue;uninstall:=true

                        </Sling-Initial-Content>

                    </instructions>

                </configuration>

            </plugin>

            <!--  use the surefire plugin to run the test cases

            we use a thread count of 4 to increase the performance of the test time. -->

            <plugin>

               <groupId>org.apache.maven.plugins</groupId>

               <artifactId>maven-surefire-plugin</artifactId>

               <version>${org.apache.maven.plugins.maven-surefire-plugin.version}</version>

               <configuration>

                    <parallel>methods</parallel>

                    <threadCount>4</threadCount>

               </configuration>

            </plugin>

        </plugins>

    </build>

    <dependencies>

        <dependency>

            <groupId>org.apache.felix</groupId>

            <artifactId>org.osgi.core</artifactId>

            <version>${org.apache.felix.org.osgi.core}</version>

        </dependency>

        <dependency>

            <groupId>junit</groupId>

            <artifactId>junit</artifactId>

            <version>4.8.2</version>

        </dependency>

        <dependency>

            <groupId>org.apache.felix</groupId>

            <artifactId>org.apache.felix.scr.annotations</artifactId>

            <version>1.9.0</version>

        </dependency>

        <dependency>

          <groupId>org.apache.felix</groupId>

          <artifactId>org.osgi.compendium</artifactId>

          <version>1.4.0</version>

</dependency>

    </dependencies>

</project>

 

I am getting the below error when I run mvn install command.

"Unresolved references to [org.osgi.service.component] by class(es) on the Bundle-Classpath[Jar:dot]: [com/adobe/support/examples/com/adobe/support/examples/osgi/service/SampleServiceImpl.cla ss]"

Could you please help me to fix it?

Regards,

Anderson

 



Updated my pages vanity url, but some of it doesn't reflect on /system/console/jcrresolver

$
0
0

Hi,

 

I have follow the instruction on this page (http://helpx.adobe.com/adobe-cq/kb/vanity-urls.html) to create the vanity url for my content.

After I have populate the page property with the vanity url, some page the pages are not reflected on the JCR Resolver page -> Resolver Map Entries.

 

 

I am running version 5.6 of CQ

 

 

Thanks

"cache file is newer than last flush" issue

$
0
0

I am unable to overwrite cached html files due to this following error, cache file is newer than lastflush -> use cache

 

The publish, render and live boxes have their time sync working, so I am at a loss to this issue. Files are being pushed to a box with Windows Server 2003 and IIS6 running Dispatcher 4.1.1. Here is the full log:

 

[Mon Jun 18 11:12:26 2012] [debug] Found farm website for x.x.x.x
[Mon Jun 18 11:12:26 2012] [debug] checking [/population_health/hello-world.html]
[Mon Jun 18 11:12:26 2012] [debug] cache file is newer than lastflush -> use cache [E:\inetpub\wwwroot\population_health\hello-world.html]
[Mon Jun 18 11:12:26 2012] [debug] cache-action for [/population_health/hello-world.html]: SPOOL
[Mon Jun 18 11:12:26 2012] [debug] request declined
[Mon Jun 18 11:12:26 2012] [info] "GET /population_health/hello-world.html" 0 - 0ms

How to get child pages of any WCM page?

$
0
0

Hello,

 

I want to get all child pages name and its WCM path of respected.

Can eny one will provide sample code for that.

 

I want to create side navigation, which having parent and its child, please let me know is there any way/approach to implement this.

 

Please find screen shot below for side navigation, and it should be editable by author

 

nav.JPG

 

Regards,

Satish Sapate

How to set allowedPaths property in Components?

$
0
0

How to set allowedPaths property in Components?

How can we restrict a Cq:component to be used on pages with certain path ,like the way we do do for cq templates.

I have tried allowedParents property as well. Doesn't seem to work.

Any pointers are appreciated.

Thanks!

Karan

Value not loading when using checkboxgroup.

$
0
0

Hi

 

      I am using a checkboxgroup as xtype. I have a cq:widget node whose xtype is checkboxgroup. Inside the node i have one items node. and inside items i have my individual checkboxes. In my dialog whatever i am selecting and submitting is goin to my CRX. But when i refresh and load my component again , all my checkboxes are unchecked. Can somebody please suggest me a solution for this. Its very urgent

 

 

Thanks in advance

 

Veena

Viewing all 12476 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>