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
BedrockMission!

Learn More

View all

Sign in to view all badges

Issue in using cqinclude through infinity.json path in granite UI

Avatar

Avatar
Ignite 1
Level 2
cq_5_5
Level 2

Likes

2 likes

Total Posts

23 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Validate 1
Give Back
Boost 1
View profile

Avatar
Ignite 1
Level 2
cq_5_5
Level 2

Likes

2 likes

Total Posts

23 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Validate 1
Give Back
Boost 1
View profile
cq_5_5
Level 2

15-10-2015

We have the below structure in classic UI:

comp1:  xtype: cqinclude

         path: /apps/thf/components/........./comp2/dialog/items/items/tab1.infinity.json

 

comp2:

          xtype: panel

 

Finding problem in converting it to respective touch ui dialog. 

Any suggestions?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 50
Level 10
Sham_HC
Level 10

Likes

161 likes

Total Posts

2,114 posts

Correct Reply

1,204 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 100
View profile

Avatar
Boost 50
Level 10
Sham_HC
Level 10

Likes

161 likes

Total Posts

2,114 posts

Correct Reply

1,204 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 100
View profile
Sham_HC
Level 10

15-10-2015

The cqinclude xtype has been ported in Touch UI , see the "include" component at [1].

See an example at /libs/wcm/core/content/sites/jcr:content/body/account
Property "path" is essential, the "resourceType" property is optional but allow to force the RT for the included path .

Alternatively if you are trying to use in list with the legacy structure, Make use of "datasource" property to generate the list dynamically from the old node structure.

Take exemple on how it's done on the foundation page properties dialog : /libs/foundation/components/page/cq:dialog/content/items/columns/items/tabs/items/advanced/items/section1/items/language/datasource .

The language list is generated by the /libs/cq/gui/components/common/datasources/languages/languages.jsp .

You can do something similar .

 

[1] http://docs.adobe.com/docs/en/aem/6-0/develop/ref/granite-ui/api/jcr_root/libs/granite/ui/components...

Answers (0)