on 05-01-2005 8:36 AM
Hi All,
I've a WebDynpro application with a View. THe View contains an IFrame and a list of URLs. When I click on a particular URL, I open the corresponding WD Application inside the IFrame. This works fine.
But now I want to trap the actions performed on the WD inside the IFrame. And depeding on that I want to change the visibility of the outer View's (Containing IFrame & URLs) UI elements.
The problem is whatever actions I perform on the view inside the IFrame, the modidfyView method of the outer View is not called. And so I'm unable to change the visibilty of outer View elements.
Any clues to make this possible?
Thanks in advance!
Regards,
VaibhaV
Vaibhav,
I see no other way except reloading outside View's application.
1. IFrame has links with target="_parent"
2. This links point to outer application and contains some parameters ("hide-extras=true&url=<current-iframe-url>")
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vaibhav
u can get the instance of the view outside wdDoModify also by having some reference variable.
just read the URl thru webContextAdapter and try to there to change the properties of the outerView.
Wishes
Krishna Kanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krish Kanth,
Thanks for the reply.
Could you please tell me how to get the instance of the View outside wdDOModify? And where should I (in which method of View/Controller/Interface) change the properties of the outer View? Will it then automatically trigger the modify method once the proerties are changed?
Regards,
VaibhaV
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.