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

guideBridge in AEM 6.2 and Forms

Avatar

Avatar
Validate 10
Level 3
roberth55706517
Level 3

Likes

3 likes

Total Posts

101 posts

Correct Reply

7 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Affirm 5
View profile

Avatar
Validate 10
Level 3
roberth55706517
Level 3

Likes

3 likes

Total Posts

101 posts

Correct Reply

7 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Affirm 5
View profile
roberth55706517
Level 3

09-08-2016

I'm noticing that in 6.2, the binding that is built for the form items doesn't match the id of the items. When I use the id returned by calling var anId = $(this).parents('.guideFieldNode').data('guideViewBind') then take the returned id and then call guideBridge._resolveId( anId ), it does not find the element. The id for the element in the page does not match the id created in the guideBridge._guide._modelTemplateCasheStore._modelIdCache list of items. 

When the components are built in the JSP page, the binding is done using the ${guideid} variable. This id is very different that the id that is in the cache. 

Any idea what I need to do in order to fix this?

Replies

Avatar

Avatar
Boost 3
Level 2
varundua
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

10 solutions
Top badges earned
Boost 3
Boost 1
Affirm 5
Affirm 3
Affirm 10
View profile

Avatar
Boost 3
Level 2
varundua
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

10 solutions
Top badges earned
Boost 3
Boost 1
Affirm 5
Affirm 3
Affirm 10
View profile
varundua
Level 2

21-11-2016

Hi Robert,

Can you specify the use case you are targeting ? You are requested not to use any methods starting with _ since the can change without any notice. Also id is internal and we change it for repeatable instances, fragments etc during render.