setUrl and getUrl

28 views
Skip to first unread message

mahi

unread,
Aug 20, 2008, 5:34:07 AM8/20/08
to Gwt Window Manager
Hi,
I am trying to use DefaultGFrame's setUrl and getUrl.
setUrl method opening the URL that the first pointed to, looks like it
is not possible as of now for me.
Also getUrl method is returning the first URL that was pointed to even
if I browse the GFrame, it is not giving the updated URL.
Is it possible to get the above mentioned functionality using GWM.
Please tell me if anyone knows this already, or any suggestions...
thanks in advance...

- Mahi

mahi

unread,
Aug 20, 2008, 7:10:04 AM8/20/08
to Gwt Window Manager
Ooops...! I got the solution for the second problem...
using setUrl() multiple times at

http://groups.google.com/group/gwt-window-manager/browse_thread/thread/ded29f6a1bf808b8/5c837a84167d466a?lnk=gst&q=seturl

Please help me in the first one (getUrl())...

- Mahi

Luciano Broussal

unread,
Aug 20, 2008, 10:17:55 AM8/20/08
to gwt-windo...@googlegroups.com
Hi,

the url retrieved by the getURL() is always the curent url set on the gframe so it should work rightly

public void setUrl(String url) {
        this.url = url;
        myContent = getFrame();
    }

    public String getUrl() {
        return url;
    }


HTH
Reply all
Reply to author
Forward
0 new messages