Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    HTMLPane with name

    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:
    Code:
            HTMLPane frame = new HTMLPane(){
            frame.setID("customIframeID234");
            frame.setContentsType(ContentsType.PAGE);
            frame.setContentsURL('/customURL.do')
    thank you
Working...
X