Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

On clicking browser back button top navigation bar loses one resource

Avatar

Level 6

Hi

after login to CUG page if a user clicks on browser back button

then click on that CUG page link on top navigation bar, then this part

In the component code I saw that:

getResourceResolver().getResource(getStringProperty(linkPropertyName)) return NULL

 

I don't know how to debug it...

 

please help me

1 Accepted Solution

Avatar

Correct answer by
Level 10

Then click on supported AEM links and not the back button. In most modern day web apps - clicking the back button is not recommended. 

View solution in original post

3 Replies

Avatar

Level 9

Well, You have to explore the functionality and how it is designed. Or elaborate your concern with clear instructions.

--jitendra

Avatar

Level 6

hi thanks to replying

 

but i don't know where to see it in details

the top navigation bar there is nothing special on it.

but still

After login to CUG then back button, then again clicking on top navigation CUG page: getResourceResolver().getResource(getStringProperty(linkPropertyName)) returns NULL

so where should i start looking why this resource resolver doesn't have this link.

Avatar

Correct answer by
Level 10

Then click on supported AEM links and not the back button. In most modern day web apps - clicking the back button is not recommended.