Skip navigation

CQ5

palani046
Currently Being Moderated

Need help in Custom component creation with cq

May 4, 2012 12:57 AM

Tags: #websites #component #cq5 #page #widgets #crx #replication #parsys #programmatically

Hi,

 

I have created my own component in adobe cQ and able to drag an drop in any page. for each instance I am seeing the copy of

 

component under node /content/mypage/commoncomp. If I edit the properties using design dialog  I can able to store values as

 

expected.

 

Need help in

 

1) When I drag and drop the component it shows null for the property by deafult if I click save on edit dialog then the

 

value is showing. The default value is not shown by default while drag and drop my component it requires atleast one time to

 

click save from dialog using design mode

 

2) I need to use the default properties of the orginal components which is root and use the duplicated properties if incase user edit the properties of duplicated component. This may be too messy.... to be more clear

 

I want to use a common component in many pages but the properties of the components should be updated only when user edit it in design dialog utill then I need the page to use properties of root component.

 

Thanks

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points