aem - How to drag and drop a component over other components (other than parsys) in CQ5? -
i have created button component in cq5 without inheriting existing button component. want
place button component on custom banner component drag , drop method sidekick. gave banner comp parent button , in banner gave button in allowed children , made container too. have created design dialog banner component added button component in allowed components option. still not able drag , drop button on banner, going either above or below banner , banner inside parsys. if include component via jsp, working fine. must drag , drop.
i new cq5, appreciate can get. in advance.
a parsys fundamental container component composition. applying functionality manually component require quite bit of custom configuration.
if @ parsys @ /libs/foundation/components/parsys, see defined container property cq:iscontainer - true, instructs cq allow drag , drop. there multiple sub nodes need defined etc.
if trying limit particular component dropped in, may make sense, , yo should @ image component, however, best approach make component contains parsys.
remember author's should have ability add as want to, , single object not allow flexibility. should handling bad author activity through review process before content published, rather enforcing on software level.
hope helps.
Comments
Post a Comment