popup window

2020-10-20 Thread Benjamin Cuthbert
all,

does anyone have an example of a popup window that opens a new browser 
window. I would like to dock and existing widget outside of the current 
browser window.

-- 








_This message, including any attachments, may include private, 
privileged and confidential information and is intended only for the 
personal and confidential use of the intended recipient(s). If the reader 
of this message is not an intended recipient, you are hereby notified that 
any review, use, dissemination, distribution, printing or copying of this 
message or its contents is strictly prohibited and may be unlawful. If you 
are not an intended recipient or have received this communication in error, 
please immediately notify the sender by telephone and/or a reply emailĀ and 
permanently delete the original message, including any attachments, without 
making a copy._

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/78a4a909-9443-4c78-92aa-8cbeb07081b5n%40googlegroups.com.


How to use OAuth service in a popup window and close the window, then return to the app and refresh?

2013-09-13 Thread Mohammad Al Quraian
Basically I want to close a page (the one that returned to by the OAuth 
provider). The refreshes the page that opened the popup to the AOuth 
provider. I hope that is clear.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


open native popup window and fill it with gwt doesn't work

2011-09-20 Thread Nicolas Wetzel
Hi all,

I my app, i want to alert the user for an important information, even he is
working on a other things (i.e word or other app). To alert him only native
popup (windows popup ws popup panel) can be put at the front of his desk.


So here is my code to do that, it's running without error but nothing is
display on the popup. With the java gwt debugger we have the dom
corresponding html content to the code:
divdiv class=gwt-label...Text for popup window/div/div
With firebug we can see the dom structure but it's in shadowing code writed.


I know that it's a huggly way to use gwt but for me it's should be work.


private static void displayWarningDialogBox() {

openInNewWindow(new Label(Text for popup window));


}

private static void openInNewWindow(Widget widget) {
Element ele = createWindow(widget.toString());
MyWindow win = new MyWindow(ele);
win.add(widget);
win.toString();
}

private static class MyWindow extends ComplexPanel {
public MyWindow(Element ele) {
setElement(ele);
}

@Override
public void add(Widget w) {
add(w, getElement());
}

}

private static native com.google.gwt.dom.client.Element
createWindow(String htmlCode) /*-{
myWindow = window.open(, mywindow,
location=1,status=1,scrollbars=1,  width=100,height=100);
myDiv = myWindow.document.createElement(div);
myWindow.document.body.appendChild(myDiv)
return myDiv;

}-*/;

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Open a native popup window and fill it with gwt doesn't work

2011-09-20 Thread nicolas.wet...@zenika.com
Hi all, 

I my app, i want to alert the user for an important information, even he is 
working on a other things (i.e word or other app). To alert him only native 
popup (windows popup ws popup panel) can be put at the front of his desk. 


So here is my code to do that, it's running without error but nothing is 
display on the popup. With the java gwt debugger we have the dom 
corresponding html content to the code: 
divdiv class=gwt-label...Text for popup window/div/div
With firebug we can see the dom structure but it's in shadowing code writed. 


I know that it's a huggly way to use gwt but for me it's should be work. 


private static void displayWarningDialogBox() {

openInNewWindow(new Label(Text for popup window));


}

private static void openInNewWindow(Widget widget) {
Element ele = createWindow(widget.toString()
);
MyWindow win = new MyWindow(ele);
win.add(widget);
win.toString();
}

private static class MyWindow extends ComplexPanel {
public MyWindow(Element ele) {
setElement(ele);
}

@Override
public void add(Widget w) {
add(w, getElement());
}

}

private static native com.google.gwt.dom.client.Element 
createWindow(String htmlCode) /*-{
myWindow = window.open(, mywindow,
location=1,status=1,scrollbars=1,  width=100,height=100);
myDiv = myWindow.document.createElement(div);
myWindow.document.body.appendChild(myDiv)
return myDiv;

}-*/;

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/bx5XJ4vtpK4J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



displaying HTML widget in Popup window

2011-09-19 Thread rrmadhav
Hi,
I'm displaying an HTML widget (populated with some downloaded html
page) in a PopupPanel object. The problem which I'm facing is as soon
as the popup panel loads with the HTML widget, it navigates to some
other page page and the content layout of popup panel changes.

Is there a way to prevent auto navigation of an HTML widget when it is
loaded in a panel?

thanks,
Madhav

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Popup Window Question

2010-02-11 Thread charlie
This may sound silly, but I want to open a new browser window via a
hyperlink with GWT and embed widgets in it, how would I do that ?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



set nested tab orders within a popup window

2010-02-09 Thread Kun Yang
Hi,

I need to set tab orders on my page, which has a tab menu bar
consisting of push buttons. On one of the push buttons (say button A)
there is a popup window. When the user presses tab key on the
keyboard, he should be able to navigate through the menu, and through
the popup window elements.

The popup window is a DecoratedTabPanel with two tabs, here is the
code to create the panel:

public void addRefDoc(String text, String content) {
  HTML child = new HTML(content, true);
  child.setSize(100%, 100%);
  child.addStyleName(refDoc);

  ScrollPanel scrollPanel = new ScrollPanel(child);
  scrollPanel.setSize(100%, 100%);
  scrollPanel.setAlwaysShowScrollBars(true);

  tabPanel.add(scrollPanel, text);
  tabPanel.selectTab(0);
}

To add the two tabs, I called addRefDoc() twice as below:
display.addRefDoc(Reference Doc1, text 1);
display.addRefDoc(Reference Doc2, text 2);

My question is how to set the tab index on the two tabs created.
Thanks a lot!

-Kun

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Regular Popup Window in GWT?

2009-09-03 Thread lakshmi thyagarajan
Hi,

I want to add a regular pop-up window to my application. I tried using a
PopupPanel (and DecoratedPopupPanel). But it doesnt have regular window
controls (like minimize, maximize, close etc). Am forced to either use the
auto-hide feature or include a Widget (like a button) to close the panel. Am
not able to minimize the panel and work in another window.
Does GWT have any other Window like widget?

Thanks for your time!
Lakshmi

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---