Can we restrict Page assets shown in Content Finder to match available cq drop targets?

We have defined a component that accepts drag-and-drop of user content, and the cq:DropTargetConfig node (under cq:editConfig > cq:dropTargets) defines groups=[page] because it accepts assets of type cq:Page not images.  Our component is a copy of the /libs/foundation/components/image component, because it accepts drag-and-drop, and we modified its innards to accept cq:Page not image.  Seems that the 'accept' property is completely ignored when groups=[page], I think 'accept' is only processed when groups=[media] i.e. images.
This is basically working fine except there is so much user content that it is time-consuming for users to select the right pages to drag from the Content Finder extension into the drag-and-drop target.  And if they pick the wrong kind of asset it can really mess up the target page.  There are so many types of components based on cq:Page and many of them just do not belong in this particular drop target, but if the user drags an inappropriate asset into our drop target then cq allows it, often with disastrous results (content properties and nodes get overwritten in the wrong place, etc).
Yes the Content Finder has a search bar but really I would like to restrict the list of assets shown there without the user having to type in a search term.  I hope there is something for Page-based content analogous to the 'allowedPaths' property in a Template.  In the WCM when you click New Page at some jcr path, a template-chooser dialog comes up and it only has templates which are allowed for that jcr path, so the dialog is uncluttered and guides the user to a relevant template.  Similarly, Components have an 'allowedParents' property so you can't use them where they don't belong.  Please advise if there is something similar to make it easier to find relevant content in Content Finder tab Pages.

I just checked this behavior. In CQ 5.5, an image dropped in an image component OEM is trunct'ed to fit the column or parsys that it is added to. The image remains 100% full-scale and flush left. In the past as a CQ architect, I have participated in the conversation no less than 10 times. If fact I discussed this with a client last week. They insisted on being able to use renditions as part of content.
I've advised on various solutions. The most complex solution I've advised on will autosize the image component to fit the column it is used in without author intervention. This is, however, predicated on the column components to be rewritten using a grid system and not %. It's extremely complex and changes the behavior of various components dramatically.
I agree I don't fully understand or embrace the philosophy on this one. I see the purist attitude toward renditions of images but its not practical in the field. Under the current philosophy images of the same size and scale will be cached in multiple locations.
Lars, feel free to school us on this one... it's your baby.

Similar Messages

  • If I choose any i-works draft, I only can get one page not the complete draft

    If I choose any i-works draft, I only can get one page not the complete draft

    Mousing shows all the available pre-formatted page available in each template to give you an idea what is there, but you only get one, sometimes 2, when you create a new document. All of the other pages can be accessed via the Insert menu. Insert > Sections in word processing & Insert > Pages in page layout.
    If they all loaded when you opened a template, you'd have to go through & delete the ones you don't want & duplicate the ones you want more than one of.
    FYI: the name of the program is iWork, no 's' & no hyphen

  • Pages 09 opening to a Finder Window - not the Pages new docuemnt screen?

    I have a NEW 2012 iMAC - all the latest software. Pages 09 opens always to a Finder window, not the Pages 09 new document screen. How can I get Pages 09 to skip the finder window when I open Pages and go directly to the Pages new document page? In summary, I want to skip the Finder window that's opening every time I click on Pages in my dock and go directly to the Pages new document screen.
    Thank you

    Hi Scott,
    Thanks for your reply.
    so far I havent noticed any repurcussions on the Mac itself...
    Can we take that to mean that the iCloud threat to delete stuff from my Mac was an idle threat? And the iCloud bully is really a wimp?
    Regards,
    Ian.
    P.S. Your username contains an email address. Best to change it. This is an open forum .
    Ian.

  • The scroll back gesture to the previous page, even after i sign out of my email account or Facebook anyone can still be able to see the content in the accounts just by scrolling back using the gesture.

    the scroll back gesture to the previous page, even after i sign out of my email account or Facebook anyone can still be able to see the content in the accounts just by scrolling back using the gesture. how can i stop safari from showing the content of my accounts?

    Try calling Tech Support, they should be able to check to see if theres a lock and try to help you reset it, I had to call and get my account unflagged, for something that I didn't even do.

  • How can I restrict the total no. of recs. per physical page

    Hi !
    I have created a report and I am saving that in a text file. The
    problem is that when I try to take the output on the printer
    then the total no of records overflows to the next pages and the
    next page heading comes much below to it's designated place.
    Max.no of records property in the repaeting frame is for the
    logical page.
    How can I restrict the max. number of records per physical page ?
    Any pointer will be welcome,
    Thanks in advance,
    Shobhit
    null

    Just for fun (and in case this wasn't done to death in the other thread), the rule posted here states:
    Most years have 365 days, but a leap year has 366 days. That adds up to 52 weeks (where each week is exactly 7 days) PLUS 1 or 2 additional days. The year 2012 has exactly 366 days.Now if the year starts on a Sunday in a non-leap year, you end up with 53 Sundays. Or if either of the first two days lands on a Sunday during a leap year, then you can also get 53 Sundays.>
    which allows a calculation like this:
    with test_data as
         ( select rownum + 1999 as test_year from dual
           connect by rownum <= 15 )
    select test_year
         , case
              when first_day = 'SUN'
              or ( first_day = 'SAT' and leap_year = 'Y' )
                 then 53
              else 52
           end as sundays
    from   ( select test_year
                  , to_char(to_date(d.test_year||'-01-01','YYYY-MM-DD'),'DY', 'NLS_DATE_LANGUAGE=ENGLISH') first_day
                  , case extract(day from last_day(to_date(d.test_year||'-02','YYYY-MM'))) when 29 then 'Y' else 'N' end as leap_year
             from   test_data d );
    TEST_YEAR    SUNDAYS
          2000         53
          2001         52
          2002         52
          2003         52
          2004         52
          2005         52
          2006         53
          2007         52
          2008         52
          2009         52
          2010         52
          2011         52
          2012         53
          2013         52
          2014         52
    15 rows selected.

  • Firefox4 keeps haning on first page , and shown not responding at top of page.had to install 3.6.16 to get firefox to work.(no virusses/mall/adware etc. found, amd explorer worked fine) how can i get ff4 to work properly again (like it did for two weeks)

    When i open FF4 the first page opens(google search).
    the when i go to, lets say gmail, it will open but when i try to look at an e-mail, it won't load.In the bar at the top of the screen a msg shows (in Dutch) saying" firefox reageert niet" (firefox is not responding).
    All I can do is close FF and when I start it again it opens with a window asking me to start a new session or open the latest session.
    No matter what choice I make the outcome is the same. I can open 0ne page , and then get the same msg as before.
    I ran several anti virus programs as well as Mall and Spy-ware killers,restarted the computer, started the computer from a point in the past, nothing helped.
    As this went on I was able to use Explorer.
    As a last resort I re-installed FF3.6.16
    Now everything seems to work again.
    But in the two weeks I worked with FF4 it worked really nice, therefore I'd really like to be able to to use FF4
    I Use a Dell Dimension E521
    AMD Athlon64 processor
    3200+
    2.00Ghz,3.00GB
    XP-Home version 2002
    Service Pack 3
    Protected by McAfee Security center

    When i open FF4 the first page opens(google search).
    the when i go to, lets say gmail, it will open but when i try to look at an e-mail, it won't load.In the bar at the top of the screen a msg shows (in Dutch) saying" firefox reageert niet" (firefox is not responding).
    All I can do is close FF and when I start it again it opens with a window asking me to start a new session or open the latest session.
    No matter what choice I make the outcome is the same. I can open 0ne page , and then get the same msg as before.
    I ran several anti virus programs as well as Mall and Spy-ware killers,restarted the computer, started the computer from a point in the past, nothing helped.
    As this went on I was able to use Explorer.
    As a last resort I re-installed FF3.6.16
    Now everything seems to work again.
    But in the two weeks I worked with FF4 it worked really nice, therefore I'd really like to be able to to use FF4
    I Use a Dell Dimension E521
    AMD Athlon64 processor
    3200+
    2.00Ghz,3.00GB
    XP-Home version 2002
    Service Pack 3
    Protected by McAfee Security center

  • Design view disappears when I uncheck Restrict Page Occurrence

    Dear Adobe Forms Experts,
    I have an Adobe print form with two master pages: one mailing address page that should only occur once, as the first page, and then the main page, which can occur many times. I have been asked to make the mailing page conditional, based on the company code of the invoice. I followed a very useful discussion on SCN explaining how to do this with a HIDEPAGE global variable, wrapping all the fields on the page in a subform, and doing some FormCalc scripting for the subform.
    I was able to get the page to print as blank when the HIDEPAGE flag was set, but so far I have been unable to get the mailing page to go away altogether.
    I noticed that on the mailing page the "Restrict Page Occurrence" checkbox was checked, and the Min count was set to 1. Well, I thought, that could explain it; I'll just uncheck the "Restrict page Occurrence" checkbox, and all will be right with the world!
    Wrong! When I uncheck that checkbox, the Design View for my mailing master page disappears, and the mailing page never prints, regardless of the state of my HIDEPAGE global variable! When I recheck the checkbox, the design view reappears, and the mailing page goes back to printing a blank page when my HIDEPAGE flag is set.
    What in the world is going on here?! What am I doing wrong?
    Cheers,
    TerryB
    P.S. I am using Adobe LiveCycle Designer 9.0, and I believe the form was originally created using 9.0

    First off, in case anybody reading this in the future has any doubt, I will confirm that this discussion has morphed into the well-worn discussion on how to conditionally hide a page.
    Pavan,
        I am now working on a copy of the original form, so I have the freedom to do whatever I want. First off, thank you for the suggestion of right-clicking on the "data" very-top-level node in the hierarchy view, and selecting "Insert subform". That did the trick for adding the missing design view for my mailing page.
        I am now trying to reduce things to their simplest form, to reduce the number of places I could be going wrong. The mailing master page now contains nothing but a content area (which appears to be required). The design view for my mailing page now contains only two objects: the "D_HIDE_PAGE" flag, (bound to the global field in the interface, where I have put the code to conditionally set the flag), and a subform called "Show_Hide", which is set to "flowed". The flag field is wrapped in the Show_Hide subform. I added the following FormCalc code to the Initialize, form:ready, and layout:ready events of the Show_Hide subform:
    if ($.D_HIDE_PAGE == "X")
    then
    $.presence = "hidden" 
    endif
        When I do a print preview on the form for an invoice that does not set the flag, I see the label for my flag field on the mailing page. When I do a print preview for an invoice that DOES set the flag, I get a completely blank mailing page--but the blank page is NOT being suppressed!
        Just for grins I also tried adding the same FormCalc code to the same 3 events of the top-level subform of the design view (the one I added by right-clicking on the "data" node in the hierarchy view; I called this subform "MAIL_DESIGN"). Same results as before.
        I believe I've followed all the steps laid out in the many SCN discussions on this topic--but obviously I am still missing something. Any clues where I may have gone wrong?
    Cheers,
    TerryB

  • Can't restrict Contribute from modifying anything and everything

    I am hand coding a website for a client. I don't use
    Dreamweaver. The client wants to be able to modify text content on
    the home page and a few other pages. Contribute seems like the
    perfect choice. The content on the home page that the client wants
    to modify is contained in the cell of a table. Based on what I
    understood from a previous job, I thought I could make this happen
    by encasing the modifiable text with the following tags: <!--
    InstanceBeginEditable name="title" --> modifiable content
    <!-- InstanceEndEditable -->. The problem is that Contribute
    allows me to edit any part of the page including the table cell
    widths and heights.
    Even more alarming is that I can use Contribute to edit any
    web page on the site even though there are no Dreamweaver or
    Contribute tags to allow that to happen. How do I restrict
    Contribute to edit only the areas where I want to allow editing? Am
    I using the wrong Dreamweaver tags? How can Contribute modify pages
    where it has no tags allowing it to do so?
    Thanks to anyone who can shed light on this.

    Maybe this will help you.
    The basic template code in Dreamweaver 8 looks like this:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    </head>
    <body>
    <!-- TemplateBeginEditable name="EditRegion3"
    -->EditRegion3<!-- TemplateEndEditable -->
    </body>
    </html>
    When you create a page from a template in Dreamweaver 8 it
    looks like this:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml"><!--
    InstanceBegin template="/Templates/template2.dwt"
    codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <!-- InstanceEndEditable -->
    <!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    </head>
    <body>
    <!-- InstanceBeginEditable name="EditRegion3"
    -->EditRegion3<!-- InstanceEndEditable -->
    </body>
    <!-- InstanceEnd --></html>

  • Can't open file "/Applications/iWeb.app/Contents/Resources/Themes/Kids Pink.webtheme/pt.lproj/Welcome.webtemplate."

    Can’t open file “/Applications/iWeb.app/Contents/Resources/Themes/Kids Pink.webtheme/pt.lproj/Welcome.webtemplate.”
    What do i need to do to fix thisso I can use the program

    Try the troubleshooting steps under "Fix iWeb" here...
    http://www.iwebformusicians.com/iWeb/iWeb-Tips.html
    If that doesn't do it, try reinstalling the app as shown further down the page.

  • How can we upload file into to OCS Content repository when we are in Apex

    We have installed the Oracle Application Express 2.2.1 into the OCS 10.1.2 database.
    The Apex authentication is set to operate with OCS SSO.
    We have made a form. There is a browse button on the form. We would like if the uploaded file appeared in the OCS content database repository as
    opposed to Apex document repository.
    To put it into another word, how can we upload the file into to OCS Content repository when we are in Apex.
    Generally speaking, how can we reach content from Apex?
    We have found many java based examples to use content sdk, but how can we use them with Apex? We believe that
    content hasn't got plsql interface.
    i would highly appreciate it if you sent me a full example program.

    Hi Ram,
    Thanks for the reply
    We have a requirement to device a solution to upload the policy documents related to iProcurement
    I am planning to create an OA page to upload the content and planning to use the AOL function security to restrict the users those who can access this page .
    Is there any better way to implement the security?
    Is this approach feasible or is there any better way to approach this requirement?
    Thanks

  • Can I mix Pages page layout and word processing together in one document?

    Hello there ! I am quite new to Pages and I am desperate to learn as i want to get rid of everything being Microsoft
    As you all know when you open Pages you can choose between page layout and word processing !
    the thing is i thought that after using a page layout you could just go with word processing easily... well no, you can't, but i'm sure i'm missing something...
    For exemple i really like the catalogue brochure and it would be perfect for me to start a project... but after a few pages, i can just add blank pages and if i want to type text, i have to add text boxes... i don't want that, I want word processing... and another thing in this brochure i can't add table of content because it is not by default in the template...
    So my question is quite basic here, can we link Page layout and word processing without having to use text boxes and everything ?
    Thanks in advance !
    Have a good day

    Alexander,
    Welcome to Apple discussions.
    The simple answer is no. What differentiates page layout from word processing mode is that the PL mode has no text layer. So everything that goes on the page must be an object of some kind. And any pages you add to a PL document must also be PL. You can't mix the two modes. One way around it is to start with a blank page, insert a text box, then stretch the box so that it covers the entire page. You can the type in it as if it were a text layer in a WP file. You can even capture that page so that you can add it automatically when you need it, or save it as a template.
    As for building a Table of Contents, it appears that Pages only sees text styles that are on the text layer, which means it won't see styles that are in objects -- which means it won't work with a PL document. From being a long-time reader of this discussion group, I've noticed it's rare that someone wants to add a ToC to a PL document.
    If you find that you're going to be mixing text and graphics, start with a word processing template. If you really like the Catalog Brochure, you could always copy some or all of its elements over to a blank WP template.
    Hope this helps.
    -Dennis

  • Can't open pages documents I created 3 days ago with Pages 5.2

    get the message:
    You need a newer version of Pages to open this document.
    - I've just updated to the newest Pages and now I can't open documents I created 3 days ago in Pages. Please help.

    You have 2 versions of Pages on your Mac.
    Pages 5.2 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Previous Pages 5 versions can not open Pages 5.2 files and you will get the warning that you need a newer version.
    Pages 5 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Once opened and saved in Pages 5.2 files can not be opened in previous Pages 5 versions.
    Anything that is saved to iCloud is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has removed over 95 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Archive/trash Pages 5, after exporting all Pages 5 files to Pages '09 or Word .docx, and rate/review it in the App Store, then get back to work.
    Peter

  • How can I restrict access to some webpages

    I have one website that I designed it in Dreamweaver with html pages.
    I want to have some  restricted pages. It means that when one user wants to access to the special page, fist in one form ask him the password and if that password be correct it will direct to the next page.
    I do not want to have database and different user names just I want to have one password for all and ask all the users that password.
    Would you please help me and say how can I do that.
    Thanks

    Hi Parmin...
    If your looking for a quick and easy.. no php backend mess.. Here's a javascript password method.. Because you're using all front end languages its hard to hide the target page from the source code, that anyone with a clue could view.. this method and the best Ive ever seen.. the password IS the new page.. so "password" + .html is the script.. never showing a target pages name...
    Gate Keeper Password Protect
    this demo its in a popup window.. but you could take that code and just place directly into a main page if you liked..

  • How can i restrict user to access database object (procedure) or JSP

    Hi
    I have 9ias infrastructure 902, on win2k box with 9i DB.
    and I have one PL/SQL web application and another J2EE application both are hosted by 9ias 902.
    Now we are looking forward to couple both with SSO.
    I have deloyed samples of both and works fine.
    Each application have different set of users, i mean there is no common user.
    How can i restrict user not to view the web page which is not authorised to them.
    as far as i understand from the Grocery demo is pick the role (which is a string only) from OID and programaticall apply security via if else endif construct.
    can any one through light upto my concern.
    regards
    [email protected]

    Hey Mary
    No i haven't try to do that via pl/sql....
    as the our application is j2ee app... deployed in oc4j.. with sso and ldap....
    still finding to do so....
    what i have realized that LDAP is just to store user information in inverted tree... and one have to build separated access security mechnisum that will be applicable to j2ee system....
    thanx...
    samir....

  • I am getting error "The connection to the server was reset while the page was loading" whenever i am trying to view one perticular page asset?.

    Hi Experts,
    i am getting  error "The connection to the server was reset while the page was loading" whenever i am trying to view one perticular page asset. i am directly view page asset through contribute editor. Please tell me what is the issue.
    Thanks
    Satya

    Hello.
    Can you provide more details? Is there more information in the logs (what's the stacktrace)? What version are you working with?
    Regards,
    Raul.

Maybe you are looking for

  • Dynamic  report generation

    We are migrating our client reports from crystal reports to business object reports and I need your help on how to achieve the below functionality in Business object reports. Requirements 1. We need to generate and deliver around 30,000 statements to

  • Yoga 2 10inch with Win 8.1 and problem with CCleaner

    Hi guys! I bought my new Yoga 2 10inch with Win 8.1 few days ago and everything was all right, until i installed CCleaner. The CCleaner app window doesn't move smoothly when i'm using it by touch screen and touch pad, choosing the options works slowl

  • System locks up during multiple Podcast downloads

    I am using the latest 7.7 (43) iTunes and found that when I download Podcasts using the setting "Allow simultaneous downloads" my entire system totally locks up after about 1/2 hr. It's not just the Beachball effect but the whole computer just freeze

  • Problems on selecting views with french characters into column names

    Hi All, I have views with column names such as "Détermination Planimétriq" or "Année de construction:*"; I can get in my c# function this columns names from ALL_VIEWS dictionary table, but if I try to make a selectionby use of an OracleCommand, Oracl

  • WEBUTIL encodedFile ERROR

    I am using webutil in my form to download a BLOB from the DB to the client's local pc. But when running the form on the application server an error occurs when webutil_file_transfer is making the encoded file. encodedFile := JAVA_FILE.createTempFile(