cancel
Showing results for 
Search instead for 
Did you mean: 

Closing an Iview on click of CLOSE button

Former Member
0 Kudos

Hi All,

I have an webdynpro java iview which runs independently using the preview url. I have some fields in it and a close button .

Is it possible that when I click on the CLOSE button the iview page also gets closed in the browser window.Please let me know .

I am using NWDS 7.0.13 version .

Thanks and Regards,

Ghousia Naaz

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member187977
Participant
0 Kudos

hi,

just destryo the instance of the window in which your WDJ view is currently available.

using window.destroy() method.

mohammad

Former Member
0 Kudos

Hi Roshan,

I have tried doing that but it didnt work . no action is taken when i try to destroy the window .

Since its not a pop-up . I am running this iview independently.

Thanks ,

Naaz

junwu
Active Contributor
0 Kudos

it discussed a lot in the forum. you can search.

it is not that easy to implement....

Former Member
0 Kudos

Hi Jun,

You are right i infact searched in SDN and found out a solution but that didnt work. I have created a exit plug in the interface view of my component and then created a html page and uploaded in the src folder which contained the javascript for closing the window and finally at the onAction of the close button wrote the code to call the url and fired the plug but that didnt work .