Hello,
I need to create an iframe, and then run a JS function declared in its body.
If I use HTMLPane, it is created without name, and I cannot access it using JSNI.
Is there another way to handle it? Can I define an iframe name in HTMLPane?
This didn't work:
thank you
I need to create an iframe, and then run a JS function declared in its body.
If I use HTMLPane, it is created without name, and I cannot access it using JSNI.
Is there another way to handle it? Can I define an iframe name in HTMLPane?
This didn't work:
Code:
HTMLPane frame = new HTMLPane(){ frame.setID("customIframeID234"); frame.setContentsType(ContentsType.PAGE); frame.setContentsURL('/customURL.do')