Announcement

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

    Open a widget in a new window

    Hey there

    i've got a question. is there a way to open a widget in a new browser window? i've got a set of layouts, anchors, labels, ... which are my default-view. kind of a startpage. on this startpage is a link (Anchor) which points to another page with additional information. developer, helptexts and some other stuff. i'd like to open this page in a new browser window. I'm reacting to the link-click by using a clickhander. how can i ensure that the new Layout is opend in a new browser window (target="_blank")?

    this.display.getAnchor().addClickHandler(new ClickHandler() {

    @Override
    public void onClick(ClickEvent event) {
    VLayout layout = new VLayout();
    ...
    ...
    ...
    }
    });

    i'm looking forward to reading from you. thanks in advance
    sebastian
Working...
X