활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
Hi ,
I am facing a small problem with the current text component in CQ5 , Whenever I am making any hyperlink with the help of text component and I select the option of "Open in New Window " it is getting captured inside the text element properties . But the link does not open in new window , the reason being the property escapeXml="true" used in the text.jsp of text component is removing the target="_blank" from the text .
Can anyone , please help me in this .
해결되었습니다! 솔루션으로 이동.
One solution is to overlay the standard text component and then remove that property of the CQ text if you wanted to in your own text component.
Then you would get your target="_blank" back
Regards
/Johan
조회 수
답글
좋아요 수
One solution is to overlay the standard text component and then remove that property of the CQ text if you wanted to in your own text component.
Then you would get your target="_blank" back
Regards
/Johan
조회 수
답글
좋아요 수
Your best bet is to configure the XSS protection to allow the target attribute. See http://helpx.adobe.com/experience-manager/kb/target-attribut-issue-tag.html
Thanks a Lot Justin , It worked ....
조회 수
답글
좋아요 수
Thanks Johan for the quick reply , I just wanted to know is there any other way also other than creating a new text component ..and also if I remove the excapeXml="true" from that , it would not provide it's functionality which might be needed later on.
The reason for this that when we have escapeXml="true" is internally using a TextTag tag library class which is filtering the content using xssAPI.filterHTML(text).
So is it possible to make some configuration change which I can do inspite of creating a completing new component
조회 수
답글
좋아요 수