I develop the site with Day CQ5. I am developing templates, components, and pages and faced with a problem. On the page of the site can be one instance of component, and need to prevent the addition of other instances. How can I do this? Maybe someone has faced this problem?
Require at most one instance of component on a page
538 Views Asked by Hleb At
2
There are 2 best solutions below
2
David Gorsline
On
This is just a hint, but it might solve your problem: http://dev.day.com/content/kb/home/cq5/Development/Components/HowToDefineComponentListDynamically.html.
Related Questions in ADOBE
- Adding a listener to a VerticalScrollBar in flex
- How to include an existing component multiple times
- Coldfusion 9 serializeJSON()
- Creating a vertically draggable container in Adobe Flex 3.5
- Adobe Analytics - Log/debug back-end traffic
- Redirection url in Adobe Analytics
- Adobe omniture - trying to fire evar and events in the s_code file doesn't work
- How to add multiple pages in AIR for Android
- Not able to see modified pdf only on Adobe Acrobat reader on ios
- blob url in ie is not working
- How do I get rid of a 3D grid overlaying my artboard in Ilustrator?
- Creating a Record Option on a PDF or Word Document
- Read IDML file in Java
- Photoshop - How to navigate the canvas using Javascript?
- Unable to see embedded image in <TextArea> using <img> tag (Flex 3.5 build 123683)
Related Questions in COMPONENTS
- Impose component restriction to a series of parsys-CQ
- Calling controller action from action in component
- Setting controller property from inside a component
- ReactJS: jQuery like components built with Flux
- Make a Component of Android Project for use it inside another android project
- Export PCA components in r
- same name component and model in cakePhp?
- How to align component horizentally using bootstrap?
- Loading Panel with Image in jFrame: Component must be non-null
- Angular add attribute(directive) before directive compiled
- Preventing component creation - Delphi
- How to set the height of a polymer component to 100%
- Vaadin CountdownClock Add On. How to freeze CountdownClock component and/or the appearance of count down tex
- VHDL OR logic with 32 bit vector
- VHDL using two components from a second file
Related Questions in INSTANCE
- SQL Server 2012 or 2014 Failover Cluster - Change Instance Port Number
- Receiving data with SEND intent create multiple instances of an Activity
- property chaine for a data property
- How do I access this array of structs - Swift
- How to accumulate a value in java?
- How to get the NAME OF an INSTANCE in node.js
- Error while creating Instance in gcloud ?. How to create an instance using Google Cloud
- Why do two programs have forward referencing errors while the third does not?
- Group instances based on NA values in r
- Getting instance of a jQuery plugin
- importing haskell module says "not in scope"
- How to share an instance created in main with a class in another module
- VB.net -- Creating an instance of an assembly
- cannot reference before supertype has been called java
- Are static members in XPosed hook classes shared between processes?
Related Questions in AEM
- Impose component restriction to a series of parsys-CQ
- Can't install AEM and Sling plugin in eclipse
- Adobe CQ: Copy node from one CQ instance to another using crx/de
- How to include an existing component multiple times
- How to start a clean publishing instance and sync everything including OSGi bundles?
- How to create multi image component with image preview In adobe cq5?
- TouchUI Image disable upload in dialog
- How to add a custom button in rte plugin in aem/cq
- How can single instance of an OSGI factory configuration be read from Java in CQ
- How to stop sling scheduler work if inconsistent situation occures inside the job?
- Get JSP output within Servlet in AEM
- How to adapt a child node in sling model of aem6
- OSGi Component's default configuration value contains escaped backslash
- How to programatically delete revisions of a page in CQ5?
- Blog component doesn't work properly when change the name of page in AEM 6.0
Related Questions in DAY-CQ
- Less files not working with AEM
- How to activate a particular node through java code / workflow in Day CQ
- selection xtype listener unable to access multifield and multifield unable to fire the dialog.form.findfield
- Not able to call form in AEM6
- How do you set up multiple JDBC database pools in Adobe/Day CQ5?
- Export user und user acl via script in CQ5
- Changing the name of a component in Adobe CQ
- Component group not showing in sidekick (Adobe CQ)
- Pass data from one component to another in adobe CQ
- Populate Values in Drop Down
- How do you disable the .export.zip selector/extension in CQ5.5?
- DAY CQ5.4 xtype Dropdown
- How to install third party component in CQ5
- how to debug in crxde eclipse?
- Require at most one instance of component on a page
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If the authors don't need the ability to add the component to different areas (parsys containers) of the page, you could just include it in a static location. Authors could then either populate the component or leave it blank to hide it. Then you would leave it out of the sidekick so they couldn't add additional copies.