How can I include coltrl in a template?

I want to include a colctrl component in my template. I could include a parsys that has the colctrl component enabled and it's specific layouts defined in the design, but then that leaves the users the ability to add items outside of the colctrl.
My approach is to include the colctrl directly on the template with a cq:include.
<cq:include path="banner" resourceType="foundation/components/parsys/colctrl" />
When I do this, I am able see the components edit bar on the page, and I can select the layouts as needed, but it doesn't generate the parsys_column areas to add content.
Is there another approach I should try? Is there another way to accomplish this? The idea here is to give the user options on the way the columns are laid out in this section, but not be able to add anything outside of these columns.

The best way to do this os edit your template node do receive a colctrl. An example:
<?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:description="Page with a parsys"
    jcr:primaryType="cq:Template"
    jcr:title="Page with a parsys"
    allowedPaths="[/content(/.*)?]"
    ranking="{Long}100">
    <jcr:content
        jcr:primaryType="cq:PageContent"
        sling:resourceType="fiat-portal/containers/empty-container">
        <banner
            jcr:primaryType="nt:unstructured"
            sling:resourceType="foundation/components/parsys">
            <colctrl
                jcr:created="{Date}2013-07-05T11:06:16.396-03:00"
                jcr:createdBy="admin"
                jcr:lastModified="{Date}2013-07-05T11:06:16.396-03:00"
                jcr:lastModifiedBy="admin"
                jcr:primaryType="nt:unstructured"
                sling:resourceType="foundation/components/parsys/colctrl"
                controlType="start"
                layout="2;cq-colctrl-lt0"/>
     </banner>
    </jcr:content>
</jcr:root>
The colctrl needs to be inside a parsys component. The template node "page" in the geometrix-outdoors, (/apps/geometrixx-outdoors/templates/page) is an example of a template with columns.

Similar Messages

  • I want to download an invoice template. How can I then fill in the template and place in a file?

    I want to download a template of an invoice. How can I then fill in the template and create a separate file?

    template in Word format? Excel? PDF? a little more information please.

  • How can i display image in RTF template when Oracle Apps running in Windows

    Can any body help how can i display image in RTF template when oracle apps running in Windows Server.
    Thanks
    Ravi

    Hi Ravi,
    You can add images into your rtf template using MS Word Insert Picture feature.
    Did you try this method?
    Thanks
    Ravi
    [email protected]

  • How can I include my business email fonts on the ipad signature?

    How can I include my business email fonts on the ipad signature?

    It's a lot easier with Photo Manager Pro.
    https://itunes.apple.com/sg/app/photo-manager-pro/id393858562?mt=8

  • How can I include different DAQ cards (for notebook and PC) in one applicatio​n?

    I want to build one application, which runs on different computers. On PC a DAQ board PCI-6052E and LabVIEW including application builder are installed and work. My program runs.
    Now I want to build an application, which runs on the notebook without LabVIEW but with the similar DQACard-AI-16XE-50, too.
    How I have to install the DAQCard on the notebook and how can I include the driver?

    Sylke,
    Check the following link which guides you step by step to install the driver and configure the daq board:
    http://www.ni.com/support/install/
    Hope this information is helpful.
    L Aguila
    Applications Engineer
    National Instruments

  • I have a mac book pro, an ipad and an iphone.  i have an icloud account that allows my iPad and imac to sync.  but my mac book only has a connection to 'mobile me'.  how can i include my macbook with my other devices?  help!  thanks

    i have a mac book pro, an ipad and an iphone.  i have an icloud account that allows my iPad and imac to sync.  but my mac book only has a connection to 'mobile me'.  how can i include my macbook with my other devices?  help!  thanks

    You need OSX 10.7.2 or higher in order to access icloud.  The mobile me account is now defunct (it closed down more than a year ago).

  • How can i remove a pages/numbers template

    How can i remove a pages/numbers template.
    They used to  be in the library in my home map, but i can't find the library on my HD.
    Is there anyone who knowes a solution
    Greets Kloria

    Hi everyone,
    I find the answer myself.
    Go tot the finder, select Go in the menu, push the alt button and there it is.
    De library is now visible and you can open it.
    Find Application support > iWorks > Pages or Numbers > Templates > My Templates.
    Remove the template, thats it.
    Greets Kloria

  • How can I include a carriage return in a expression

    How can I include a carriage return in a expression between text strings eg
    Expression 1 = Text1 & text2 & text3 & text4
    I need to display it as below
    Text1
    Text2
    Text3
    Text4
    adjusting the box the size doesn’t work as the text strings are variable lengths

    Message Edited by Ryan.S on 01-04-2007 08:17 PM
    Ryan Shi
    National Instruments
    Attachments:
    untitled.JPG ‏37 KB

  • How can I include results of a subsequenc​e, which runs in a new thread, in the main sequence test report

    Hi!
    I', m working with TestStand Version 4.2.1. I have a main sequence, which calkls different subsequences. All these steps are properly reported. One of subsequences runs as "new thread". How can I include its results in common test report of the main sequence?
    I have markes variables of the subsequence as it is requred for test report (it works OK if it is not a new thread). If the the numerical test, which is executed in this subsequence is correct, I get no results at all. If the numeric test failed I get somewhere in the main sequence report a "red message", that test failed whithout any reference to the step or values of vaiables which were not correct.
    I tried an option "On the fly" in the Report Configuration , but haven' got any useful results. What shall I do?
    Best regards
    Solved!
    Go to Solution.

    Hi,
    I tried it but without success:
    1) I got a reference to the Thread as "Locals.Step1=RunState.Thread" for every of 2 steps which start a thread
    2) I put both "Waits" after steps with (and without) threads, at the same place, where they were before
    3) The sequence run OK, but when it came to Wait for Thread 1 it waited for ever, I had to terminate sequence
    Does it mean, that I got a false reference (suppose No - please, have a look at attached pic)?
    Or does it mean, that Waits are badly placed in the sequence (threads are already terminated)? Here is a pic of sequeces calls with Wait after them.
    Regards
    Attachments:
    Thread.JPG ‏34 KB
    SequenceCall.JPG ‏32 KB

  • How can I include a success message in a drag and drop interaction - I don't see this option in the Actions on success options, and cannot figure it out?

    How can I include a success message in a drag and drop interaction - I don't see this option in the Actions on success options, and cannot figure it out?

    I suspected you used the eye icon on the timeline to hide the message, but that one has no impact whatsoever on the published version. It is only meant to be used for editing reasons on the stage, to hide objects temporarily on a crowded stage. It is confusing, certainly in CP8 where for both instances the same eye icon is used. In previous versions the Properties panel had a checkbox for 'Show in Output', which was IMO much clearer than this eye icon. But of course, that is only my personal opinion.

  • Smartforms: how can I include a jpg picture stored an a web server ?

    I want do include a business graphic (JPG) in a smartforms window. The picture is created by a web serves and stored on a web server.
    the jpg-picture can be loaded on by an http-adress.
    How can I include the picture in the smartforms form ?
    thanks
    Richard

    hi,
    use transction SE78 to upload the picture .
    Then use it in smartforms.
    regards,
    guru

  • How can I include merged projects in the printed documentation?

    I have a master project with several merged projects. This works splendid with online documentation, but when I am asked to provide a printed version, it seems I have to create separate documents for each merged project.
    Is there any setting or fix that enables print also of merged projects and topics when I create printed documentation?
    Pretty please with sugar on top :-)

    Hm - there is a contract with the customer, saying that he wants documentation both as word and pdf, and as we now aim at only writing online documentation, these tasks create extra work, as we are delivering updates each month
    But yes - two beasts, where only chm is actually needed we think.
    -Tone
    Date: Tue, 3 May 2011 06:53:04 -0600
    From: [email protected]
    To: [email protected]
    Subject: How can I include merged projects in the printed documentation?
    Hi there
    I'm a bit curious as to the reasoning behind your "persuation process for using chm-files only".
    CHM files and printed documentation are two entirely different beasts.
    Cheers... Rick
    | http://www.robowizard.com/pc.gif | Helpful and Handy Links
    http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38
    http://www.gooberguides.com/ProductPages/RoboHelp/RoboHelp82Day.htm
    http://www.ShowMeSolutions.biz
    http://sorcererstone.wordpress.com/
    http://www.gooberguides.com |
    >

  • How can I include a portal component look and feel in a java servlet

    Does any body know how can i include a portal component look and feel (tables, buttons, etc) in a java servlet?

    Hi José,
    I don't think that is possible. But you can import the css files that ep uses for its look and feel and try to give your web pages similar look and feel. The tables and other controls used in EP are totally different and are done through complex JavaScript coding instead of simple HTML tags. If you want exact lok and feel then i thin you must go for a Webdynpro based application rather then a J2EE application with JSPs.
    Regards,
    Guru.
    PS: Give points for helpful replies.

  • How can i include a sampling of type in ps7 type tool?

    how can i include a sampling of type in ps7 type tool?   i did this in ps3

    I guess in my zest to answer your question i had forgotton about Adobe Type Reunion.
    What operating system are you using photoshop 7 on?
    photoshop 3.05 on mac os 7.6.1

  • How can i include a vi to help me save all the measurement from 10 to 100000

    hi, how can i include a vi that will store my data or save  them for each of the step increament , from the starting measurment 10hz to 10000000hz to the last. pls help
    good
    Attachments:
    saving vi.vi ‏53 KB

    Hi ifyo,
    I couldn't run your VI as i dont have all the components of it. But i have attached herewith a vi which will show you how to save continuously acquired data into a text file. The explanations are added on the block digaram. Let me know if this doesn't help and you need more information.
    Regards,
    Nitzz
    (Give Kudos to good Answers, Mark it as a Solution if your problem is Solved) 
    Attachments:
    Untitled 2.vi ‏9 KB

Maybe you are looking for

  • Issues with connection....

    My Safari cannot load most websites & my Google Chrome has a Yahoo! search engine as its homepage & tabs loading multiple Yahoo! search engine pages. How do I solve this problem?

  • Design View and a CSS Div layout page

    There are a few pages l ike this. I am assuming it is because everything is layed out w ith div tags, but there mush be a way to correct the desging view. Everything shows up great o nline. Here is a screenshot: Here is the code: <body onload="initHo

  • Division in java double variable.

    Hi all I have a simple query .I am using the following code in my java mapping. Please follow the following java code double d1 = 22058310.53; System.out.println("Output Value = " + d1/1000); This gives me an output Output Value = 220583.10530000002

  • When I add a phone-number, I can't define it as 'iPhone'.

    When I add a contact, and that person is also using iPhone, I can't define that. I can choose all kinds of things, like radio, fax, home, mobile,.. but not iPhone... This also means I can't use iMessage whit that person. How can I change this?

  • System crashes after mountain lion install

    I installed Mountain Lion this weekend and my 2008 iMac has crashed twice with the following messages logged: 2012-07-30 17:44:05 -0700 coresymbolicationd[351]: /Library/Caches/com.apple.coresymbolicationd/data did not validate, resetting cache 2012-