Expandir minha barra de realizações na Comunidade.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLUCIONADO

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 Solução aceita

Avatar

Resposta correta de
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. 

Ver solução na publicação original

3 Respostas

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

Resposta correta de
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.