Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM hyperLink in Dialog

Avatar

Level 1

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

please use granite type

Hyperlink — Granite UI 1.0 documentation

for classic ui use lable xtype and as value give HTML

CQ5 | Widgets API

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

please use granite type

Hyperlink — Granite UI 1.0 documentation

for classic ui use lable xtype and as value give HTML

CQ5 | Widgets API