borderlayout + south + iFrame

asked 2016-05-03 12:00:56 +0800

andij62 gravatar image andij62
307 1 7

updated 2016-05-04 20:43:45 +0800

Hi all,

i have a borderlayout with South-Area. In the South-Area i have integrated a iFrame. If the South-Area is open and i fill the iFrame with

AMedia amedia = new AMedia("test.html", "text/html", "text/html", t.toString())

it works perfect. If i fill the iFrame and the South-Area is closed then i have a Problem because the javascript in test.html throws an error. The test.html inludes javascript and html.

I will load a map in background so the map is loaded when the user open the South-Area

Can someone help me?

Regards Andi

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-05-04 21:28:21 +0800

Darksu gravatar image Darksu
1991 1 4

Hello andij62,

You could use the onOpen event, and in that create dynamically the AMedia component.

Do not forget to put some handling to check if the layout has been opened and you are set.


Best Regards,


link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2016-05-03 12:00:56 +0800

Seen: 16 times

Last updated: May 04 '16

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More