AEM hyperLink in Dialog

Avatar

Avatar

kanthetis585634

Avatar

kanthetis585634

kanthetis585634

21-05-2019

Hello Everyone,

I'm trying to add a hyperLink in component Dialog and managed to add that in Touch Ui using

<?xml version="1.0" encoding="UTF-8"?>

<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"

   jcr:primaryType="cq:Widget"

   sling:resourceType="granite/ui/components/foundation/hyperlink"

   fieldLabel="Click for Icons"

   href="www.google.com"

   name="./iconLink"

   target="_blank"

   text="Click here for icon names"/>

and it looks like this Capture2.JPG

Is there any way to get the same in Classic UI?smacdonald2008

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Reply

838

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Reply

838
Arun_Patidar
MVP

22-05-2019

please use granite type

Hyperlink — Granite UI 1.0 documentation

for classic ui use lable xtype and as value give HTML

CQ5 | Widgets API

Answers (0)