Re: Panel exposed as url?

8 views
Skip to first unread message

Navindian

unread,
Sep 19, 2011, 3:14:06 AM9/19/11
to google-we...@googlegroups.com

is this possible?
On Sat, Sep 17, 2011 at 7:59 PM, Navindian <navi...@gmail.com> wrote:
<a href="widgetURL">
 
WidgetURL need to be mapped to GWT Widget/Panel.
 

Alexandre Dupriez

unread,
Sep 19, 2011, 6:21:14 AM9/19/11
to Google Web Toolkit
What do you mean?

Alexander Orlov

unread,
Sep 19, 2011, 6:36:50 AM9/19/11
to google-we...@googlegroups.com
As far as I understand you, you can do the following:


String widgetToShow = Window.Location.getParameter("showWidget");

if(widgetToShow.equals("infoPanel")) {
// DO something to "expose your Panel" to the user

// infoPanel should be visible="false" by default
 infoPanel.setVisible(true);
}

Alexander Orlov

unread,
Sep 19, 2011, 6:38:26 AM9/19/11
to google-we...@googlegroups.com
I mean rather something like http://host/index.html?showWidget=infoPanel
Reply all
Reply to author
Forward
0 new messages