Switching from Edit mode to Preview mode and vice versa in Touch UI | Community
Skip to main content
Ratna_Kumar
Level 10
January 16, 2016
Solved

Switching from Edit mode to Preview mode and vice versa in Touch UI

  • January 16, 2016
  • 3 replies
  • 1640 views

Hi Team,

Is there any issue in Touch UI, while switching from Edit mode to Preview mode? The issue is that, the page is not refreshing while switching from any of the modes.

But the refresh happens when changing the modes in Classic UI from Edit to Preview and Vice versa.

Can anyone let me know, Whether this is an issue in Touch UI or its the normal behavior in Touch UI.

Thanks,
Ratna Kumar.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jitendra_S_Toma

Hi Ratna,

As Lokesh pointed out that both UI's are designed with different frameworks. Don't think this is an issue. It is a good design. Author often complains that on each action, page gets refreshed.

To make things work correctly in classic UI, page refresh was needed like we add add cq:listeners at the component level for edit, drop event etc. However, The Granite UI framework does not need it.

Jitendra

Ratna Kumar wrote...

Hi Team,

Is there any issue in Touch UI, while switching from Edit mode to Preview mode? The issue is that, the page is not refreshing while switching from any of the modes.

But the refresh happens when changing the modes in Classic UI from Edit to Preview and Vice versa.

Can anyone let me know, Whether this is an issue in Touch UI or its the normal behavior in Touch UI.

Thanks,
Ratna Kumar.

 

3 replies

Lokesh_Shivalingaiah
Level 10
January 16, 2016

Hi Ratna,

Classic ui and touch ui are built on different frameworks (extjs n granite ui resp) and the way both works may not be the same. Unless the mode is changing without any issue in touch ui, weather it refreshes or not shudnt be a worry.

Is there any particular reason why the page shud be refreshed when the mode is changed?

Jitendra_S_Toma
Jitendra_S_TomaAccepted solution
Level 10
January 17, 2016

Hi Ratna,

As Lokesh pointed out that both UI's are designed with different frameworks. Don't think this is an issue. It is a good design. Author often complains that on each action, page gets refreshed.

To make things work correctly in classic UI, page refresh was needed like we add add cq:listeners at the component level for edit, drop event etc. However, The Granite UI framework does not need it.

Jitendra

Ratna Kumar wrote...

Hi Team,

Is there any issue in Touch UI, while switching from Edit mode to Preview mode? The issue is that, the page is not refreshing while switching from any of the modes.

But the refresh happens when changing the modes in Classic UI from Edit to Preview and Vice versa.

Can anyone let me know, Whether this is an issue in Touch UI or its the normal behavior in Touch UI.

Thanks,
Ratna Kumar.

 

Ratna_Kumar
Level 10
January 17, 2016

Thanks Lokesh and Jitendra!!