0

How to re-enter the view

Hi,
I have a problem where I have to re-enter a view by clicking the back button and send some data to the previous view.
I have done it by using KONtx.application.previousView{"send some data"}.
I understand that a when we re-enter the view ,it starts from 'updateView'.
Is there any way to indicate that the updateView is being called as result of click of a back button.

I am sorry if I have confused you.
Thanks in advance.

Priya

by
2 Replies
  • Well, you can pass a variable in the call of the previous view, and than check that value in the updateView for knowing if you came from a back button or not using the this.persist.yourvalue. If you use this you have to remenber that everytime that view is loaded from another view you have to pass that value since now the this.persist.youvalue must always be defined for not having problems, or you could cache a value with KONtx.messages.store and check that in your update view.
    0
  • Thank You Gades
    0

Recent Posts

in Design / Interaction - Yahoo! TV Widgets