This conversation has been locked due to inactivity. Please create a new post.
This conversation has been locked due to inactivity. Please create a new post.
I am trying to create a dialog that has an xtype of "textfield"...I need to specify that anytime the user updates this field it will always overwrite the same JCR content node.
I am including this component/dialog in multiple pages, so that the author can edit the text. The issue is that the text will be updated for that page. (because I am using a relative path).
What I need to happen...The content is updated and written to a central location so that no matter which page the user edits this text it will always update to a central location.
A real world example: We have modal dialogs that show throughout the site. Some of these dialogs are global. Out client has requested to have an edit option on any page that these dialogs show. The acceptance criteria is that they can edit on any page and that edit will be applied globally.
My problem is that I am not sure how to set the path that the text field will write to.
I am retrieving the content from here:
<cq:include path="/content/jjj/en/misc/deviceoutmodal/jcr:content/buttontext1" resourceType="zig/components/text"/>
Solved! Go to Solution.
Views
Replies
Total Likes
Please follow the documentation [1]. It will let you update content to a central location no matter which page includes that.
[1] http://dev.day.com/docs/en/cq/current/developing/boilerplates.html
Views
Replies
Total Likes
If you are Using Components as Boilerplates it will apply at global level only. Recheck the resourceType path as documented at
http://dev.day.com/docs/en/cq/current/developing/boilerplates.html
Views
Replies
Total Likes
So sorry...i am new to CQ. I still don't understand. Do you think you can help a little more.
thanks!
Views
Replies
Total Likes
Please follow the documentation [1]. It will let you update content to a central location no matter which page includes that.
[1] http://dev.day.com/docs/en/cq/current/developing/boilerplates.html
Views
Replies
Total Likes
Views
Likes
Replies