I am using currentStyle Object to fetch the design dialog properties for a component.
${currentStyle.linkurl}
This is working fine in author but returning null in publisher. I have already seen the below given post, but no solution has been posted. Is anyone has come across any solution for this?
currentStyle.<propertyName> is returning null in cq5 publisher, which is working perfectly fine in a... (I did post a comment but looks like this post has been marked for deletion)
Views
Replies
Total Likes
Please refer to following links for some help:-
//
if (wcmmode.disabled) { request.setAttribute(Packages.com.day.cq.wcm.api.components.ComponentContext. BYPASS_COMPONENT_HANDLING_ON_INCLUDE_ATTRIBUTE, true); }
Comment out this and everything was back to normal.
I hope this would help you.
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes