Re: Window.open does nothing in windows mobile 10 (IEEdge)

2016-09-28 Thread Paul
(not desktop) where if you do not call window.open in the context of a native event initiated by the user then the window.open call is ignored. I'm guessing the IEEdge mobile is not as clever as the desktop version and simply blocks all window.open calls if not in the context of a user initiated

Re: Window.open does nothing in windows mobile 10 (IEEdge)

2016-09-27 Thread Paul
Thanks for suggestions. As far as I know you still cannot remote debug mobile IEEdge in visual studio 2015 Anyway I think I have the answer. For some reason if I call window.open in response to a click event or another native event like pointerdown then it works. If I call window.open

Re: Window.open does nothing in windows mobile 10 (IEEdge)

2016-09-27 Thread Vassilis Virvilis
..@kirona.com> wrote: > >> In a simple GWT test project it works. It must be something I'm doing >> with event capture. My application is complex so I'll have to try and >> workout what is stopping the window.open just for IEEdge on windows mobile10 >> >> IEEdge d

Re: Window.open does nothing in windows mobile 10 (IEEdge)

2016-09-27 Thread Vassilis Virvilis
but a console may give a hint. Vassilis On Tue, Sep 27, 2016 at 1:27 PM, Paul <paul.fre...@kirona.com> wrote: > In a simple GWT test project it works. It must be something I'm doing with > event capture. My application is complex so I'll have to try and workout > what is stopping the w

Re: Window.open does nothing in windows mobile 10 (IEEdge)

2016-09-27 Thread Paul
In a simple GWT test project it works. It must be something I'm doing with event capture. My application is complex so I'll have to try and workout what is stopping the window.open just for IEEdge on windows mobile10 IEEdge desktop is fine and so is chrome! Strange On Tuesday, September

Window.open does nothing in windows mobile 10 (IEEdge)

2016-09-27 Thread Paul
Window.open("http://www.google.co.uk","_blank",";) does nothing in windows mobile 10 (IEEdge) when running in GWT 2.7 Any ideas? If I write a simple html page with the above javascript, then the browser happily opens the google page on a new tab. -- You rece

Re: Window.open

2015-07-15 Thread ckuetbach
I think it may be a whitespace in the Window-Name (second Parameter), Christian Kütbach -- 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

Re: Open url in new mobile safari instance?: Window.open()

2012-12-31 Thread Jens
You have to program that behavior into UiWebView, see: https://www.google.com/search?q=open+link+in+safari+uiwebview -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: Open url in new mobile safari instance?: Window.open()

2012-12-30 Thread Paul Stockley
().dispatchEvent(e); RootPanel.get().remove(a); } On Sunday, December 30, 2012 1:57:50 PM UTC-5, markww wrote: Hi, I have a Button, when clicked, I'd like to open a url in a new browser instance. The following works on desktop: Window.open(url, _blank, null); When I run the same code

Re: Open url in new mobile safari instance?: Window.open()

2012-12-30 Thread Mark Wyszomierski
().dispatchEvent(e); RootPanel.get().remove(a); } On Sunday, December 30, 2012 1:57:50 PM UTC-5, markww wrote: Hi, I have a Button, when clicked, I'd like to open a url in a new browser instance. The following works on desktop: Window.open(url, _blank, null); When I run the same code

Open new tab in dev mode with window.open

2012-09-11 Thread Thomas Lefort
Hi, I am trying to programatically open a new tab in dev mode with a new instance of my application, eg my application url + the place name. I use window.open(#myplacename:, _blank). But all I get is a window without any of the specs/options such as navigation, etc... also the url is wrong

Re: Open new tab in dev mode with window.open

2012-09-11 Thread Juan Pablo Gardella
Did you tried use a invisible anchor and click on it? 2012/9/11 Thomas Lefort lefortho...@gmail.com Hi, I am trying to programatically open a new tab in dev mode with a new instance of my application, eg my application url + the place name. I use window.open(#myplacename:, _blank). But all

Re: Open new tab in dev mode with window.open

2012-09-11 Thread Thomas Broyer
On Tuesday, September 11, 2012 4:08:46 PM UTC+2, Thomas Lefort wrote: Hi, I am trying to programatically open a new tab in dev mode with a new instance of my application, eg my application url + the place name. I use window.open(#myplacename:, _blank). But all I get is a window without

Re: Open new tab in dev mode with window.open

2012-09-11 Thread Thomas Lefort
, Thomas Lefort wrote: Hi, I am trying to programatically open a new tab in dev mode with a new instance of my application, eg my application url + the place name. I use window.open(#myplacename:, _blank). But all I get is a window without any of the specs/options such as navigation, etc

Re: Open new tab in dev mode with window.open

2012-09-11 Thread Thomas Broyer
On Tuesday, September 11, 2012 6:16:43 PM UTC+2, Thomas Lefort wrote: Hi, Thanks to both of you. Regarding teh anchor, I did try with the following code, but it still doesn't work. Anchor anchor = new Anchor(); anchor.setHref(#EISearchResultPlace: + result); anchor.setTarget(_blank);

Re: Open new tab in dev mode with window.open

2012-09-11 Thread Thomas Lefort
fireEvent - Oh I see, makes perfect sense! Thanks. click - I can't get it to work unfortunately, the object has no 'click' method, both using ButtonElement cast and JSNI element.click(). I feel a bit useless there, if you have a little more patience to detail your solution? Thanks. tab - I agree

Re: Open new tab in dev mode with window.open

2012-09-11 Thread Abraham Lin
On Tuesday, September 11, 2012 3:54:55 PM UTC-4, Thomas Lefort wrote: This is my code for the anchor AnchorElement anchor = DOM.createAnchor().cast(); anchor.setHref(#EISearchResultPlace: + result);

Re: Window.open() opens as a popup

2012-06-26 Thread Vishal Dave
Hi, Directly call of Window.open() works perfectly to avoid popup blocker, but I need to fetch URL with RPC call onClick of the same button and open a new window, if I set global variable to set URL and pass in Window.open() then it takes double click to open newWindow, how can I achieve all

Re: Window.open() opens as a popup

2012-04-24 Thread Deepak Singh
it make any difference in case of click handler of a link instead of button ? On Mon, Apr 23, 2012 at 2:20 AM, Jens jens.nehlme...@gmail.com wrote: A popup blocker will always jump in if you execute window.open() without direct user interaction. If you want to avoid a popup blocker you have

Re: Window.open() opens as a popup

2012-04-24 Thread Jens
You have to make sure that you directly call Window.open() in the ClickHandler. Don't to it in a Timer, deferred command or similar inside the ClickHandler. The Browser must recognize that Window.open() is directly called because of a user action. It does not matter if its a Button

Window.open() opens as a popup

2012-04-22 Thread Deepak Singh
Hi, I am using Window.open('Url', _blank, ); It always opens the new window as popup. I want this to be opened as a new tab, browser window. It should not react with popup blocker anymore. How can i achieve this one ? Thanks Deepak Singh -- You received this message because you

Re: Window.open() opens as a popup

2012-04-22 Thread Jens
A popup blocker will always jump in if you execute window.open() without direct user interaction. If you want to avoid a popup blocker you have to provide a link the user can click on and inside the click handler open the new window. Beside that, you can't force the browser to open a new tab

Re: Window.open() opens as a popup

2012-04-22 Thread Deepak Singh
jens.nehlme...@gmail.com wrote: A popup blocker will always jump in if you execute window.open() without direct user interaction. If you want to avoid a popup blocker you have to provide a link the user can click on and inside the click handler open the new window. Beside that, you can't force

Re: Window.open method changing the compatibility settings in IE9 with Windows 7 OS

2012-03-06 Thread ramesh
check box) In my application i am  opening a popup window using Window.open method from my main screen. when i open and close this popup compatibility view got enabled in main screen Due to this reason my main screen got refreshed and its moving to IE7 standard mode. Winow.open method code

Window.open method changing the compatibility settings in IE9 with Windows 7 OS

2012-03-05 Thread ramesh
Hi, I am using GWT 2.3. My pre settings in IE9 browser for Main screen: Tools menu --- compatibility view (un check) and Tools menu --compatibility settings (un check all check box) In my application i am opening a popup window using Window.open method from my main screen. when i open

Re: Using window.open(), Chrome and extensions in GWT project..

2011-10-05 Thread Ben
be made visible by default from window.open(). On Oct 4, 3:52 pm, Ben ben.falc...@gmail.com wrote: As a part of a larger GWT project we have some native JavaScript in which we use window.open to create a new Chrome instance. So far so good. But we have some Chrome extensions (e.g., a screenshot

Re: Using window.open(), Chrome and extensions in GWT project..

2011-10-05 Thread Magno Machado
Adding another question to this: How can i get the handler for this opened window? Javascript's window.open() returns a reference to opened window. However, GWT's Window.open() doesn't, so you'll have to use JSNI here On Wed, Oct 5, 2011 at 11:10 AM, Ben ben.falc...@gmail.com wrote: I can only

Using window.open(), Chrome and extensions in GWT project..

2011-10-04 Thread Ben
As a part of a larger GWT project we have some native JavaScript in which we use window.open to create a new Chrome instance. So far so good. But we have some Chrome extensions (e.g., a screenshot extension - 'Awesome Screenshot', or 'Screen capture (by Google)') that we want available to this new

Re: Using window.open(), Chrome and extensions in GWT project..

2011-10-04 Thread Bruno Sandivilli
Adding another question to this: How can i get the handler for this opened window? 2011/10/4 Ben ben.falc...@gmail.com As a part of a larger GWT project we have some native JavaScript in which we use window.open to create a new Chrome instance. So far so good. But we have some Chrome

Zip download without Window.open()

2011-07-27 Thread Sean
Hi, I've followed a bunch of tutorials and I'm able to click a button, send parameters via a Window.open() call to an HttpServlet and it will construct a bunch of files, zip them up and send them back. The problem is sometimes creating these files can take some time, and a blank window just

Re: Zip download without Window.open()

2011-07-27 Thread jhulford
parameters via a Window.open() call to an HttpServlet and it will construct a bunch of files, zip them up and send them back. The problem is sometimes creating these files can take some time, and a blank window just stares at me while it's doing so. I was wondering if there's a nicer way, like an RPC

Re: Zip download without Window.open()

2011-07-27 Thread Thad
to do some other hand waving in the servlet to set the proper headers, esp.with SSL (http://www.jspwiki.org/wiki/ BugSSLAndIENoCacheBug). On Jul 27, 8:07 am, Sean slough...@gmail.com wrote: Hi, I've followed a bunch of tutorials and I'm able to click a button, send parameters via a Window.open

Re: Zip download without Window.open()

2011-07-27 Thread Sean
Thank you for the ideas guys! I will try to implement something like that! -- 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/-/Hk7LumPhrDAJ. To post

Set Focus to a New Window opened by Window.open

2011-05-06 Thread SVR
How to set focus to a new Window opened by Window.open? thanks -- 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

Problem with Window.open and IE8 - lose focus

2011-04-20 Thread Billy
Hi, I'm using com.google.gwt.user.client.Window.open to open a new window, e.g. Window.open(test.jsp, test,status=0,toolbar=0,menubar=1,location=0,resizable=0,width=500,height=500); However, when I run the code in IE8, the new window that opens is getting hidden in the background, e.g. behind

Re: Window.open without pop-up browser message

2011-03-08 Thread Ice13ill
Is it possible that new browser versions have a different behavior from the old ones? On Mar 7, 4:19 pm, Ice13ill andrei.fifi...@gmail.com wrote: I want to use window.open when clicking a div with _blank target. The problem is that the browser thinks is a popup window and presents a Allow

Window.open without pop-up browser message

2011-03-07 Thread Ice13ill
I want to use window.open when clicking a div with _blank target. The problem is that the browser thinks is a popup window and presents a Allow popup for... message to the user. The link is generated using GWT.getModuleBaseURL() + someQueryString + #m=Somthing etc. (I even tried with a relative

Window.open handle ?

2011-03-04 Thread Ice13ill
I noticed that Window.open() method does not return a handle to the new window (although javascript does...). Is there another mechanism that gives this access to that new window? For example i have a small panel (like the chat in gmail) and i want to implement the pop out! functionality (as easy

Re: Window.open handle ?

2011-03-04 Thread BB
Issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=3779 -- 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

Re: Window.open handle ?

2011-03-04 Thread Andrei Cosmin Fifiiţă
Few stars... Doesn't help much... On 4 March 2011 16:11, BB buchholz.bast...@googlemail.com wrote: Issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=3779 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Re: Window.open handle ?

2011-03-04 Thread Colin Alworth
It should be trivial to make your own call in jsni to $wnd.open, returning whatever handle you want, or doing the focus right away. Look at how Window.open is implemented, and see if you can replicate it in such a way to have the exact behavior you need. -- You received this message because

Re: Problem with call Window.open inside AsyncCallback.onSuccess for IE

2010-11-19 Thread Burningfrog
try to disable your popup blocker On 6 Okt., 14:18, Andrey H. apbt...@gmail.com wrote: Hi All! I have strange problem: When I call Window.open function(servlet, which return file for download) inside AsyncCallback.onSuccess,  then new tab opens and immediately closed, the file isn't

Re: Window.open(url, _self, ) puts modulename in front

2010-10-18 Thread jsmith
with Window.open(url, _self, ) it puts the module name in front of url like modulename/url. how can i make a call to Window.open(url, _self, ) without the module name upfront so its just url. GWT.getHostPageBaseURL() is your friend. Additionally, you should use Window.Location.assign

Window.open(url, _self, ) puts modulename in front

2010-10-13 Thread jsmith
Hi I have a gwt application with multiple Entry points. Every time a want to open a different url with Window.open(url, _self, ) it puts the module name in front of url like modulename/url. how can i make a call to Window.open(url, _self, ) without the module name upfront so its just url. best

Re: Window.open(url, _self, ) puts modulename in front

2010-10-13 Thread Thomas Broyer
On 13 oct, 15:25, jsmith 3p1...@googlemail.com wrote: Hi I have a gwt application with multiple Entry points. Every time a want to open a different url with Window.open(url, _self, ) it puts the module name in front of url like modulename/url. how can i make a call to Window.open(url

Problem with call Window.open inside AsyncCallback.onSuccess for IE

2010-10-06 Thread Andrey H.
Hi All! I have strange problem: When I call Window.open function(servlet, which return file for download) inside AsyncCallback.onSuccess, then new tab opens and immediately closed, the file isn't downloaded. For Fierfox it's work fine, for IE - bad. This part of code: new AsyncCallbackBeanModel

Re: Window.open not working on Chrome 5 ( GWT 2.0.4 )

2010-09-01 Thread hermis
Whoops... apparently Chrome's pop-up blocker was kicking in :/ On 26 Aug, 16:08, hermis ermis.h...@gmail.com wrote: Hello all, I can't seem to get Chrome to open a new window using the Window.open() function. It seems to work fine if the function is called from a click handler

Re: Window.open not working on Chrome 5 ( GWT 2.0.4 )

2010-09-01 Thread Jason Essington
pop-up blocker was kicking in :/ On 26 Aug, 16:08, hermis ermis.h...@gmail.com wrote: Hello all, I can't seem to get Chrome to open a new window using the Window.open() function. It seems to work fine if the function is called from a click handler, but not when called directly. Using

Window.open()

2010-09-01 Thread Sven
(ClickEvent event) { Window.open(SOMEURL,SOMETITLE, fullscreen=yes,hotkeys=no,scrollbars=no,location=no,menubar=no,status=no,toolbar=no,resizable=no); } }); The problem now is that the window is indeed fullscreen but it looks like

Window.open not working on Chrome 5 ( GWT 2.0.4 )

2010-08-26 Thread hermis
Hello all, I can't seem to get Chrome to open a new window using the Window.open() function. It seems to work fine if the function is called from a click handler, but not when called directly. Using Firefox and Internet Explorer the following code launches a window on load and a new window each

gwt window.open()总被chrome拦截:求解决办 法

2010-03-30 Thread 浪子孤魂
public void onClick(ClickEvent event) { // Window.open(http://baidu.com;, _blank=true, // resizable=yes); popup(); } }); RootPanel.get().add

Multipage application -- essentially another window.open question

2010-03-25 Thread Emil
Very new to GWT. start playing with it. It looks like the design of GWT is trying to have all the UI components modularized and then everything happens in one page. In old fashioned JSP/JSF world, the controller servlet decides which page to load and each page layout its own UI components and load

Re: Multipage application -- essentially another window.open question

2010-03-25 Thread kozura
Can always do Window.open (http://google-web-toolkit.googlecode.com/ svn/javadoc/2.0/com/google/gwt/user/client/Window.html#open %28java.lang.String,%20java.lang.String,%20java.lang.String%29) Would recommend however looking at other options to make your app much more usable, like DialogBoxes

Re: Multipage application -- essentially another window.open question

2010-03-25 Thread kozura
Didn't notice the title included window.open, but the answer is the same - to have the contents of the window be a module you just include the URL to the module, possibly with URL parameters to pass any information needed. Again this is how Gmail and the like work with their pop out feature, you

Re: Window.open can not work in IE

2010-03-10 Thread malliseven.hills
Hi, it would be usefull public static native void windoOpen(String pUrl)/*-{ if ($wnd.showModalDialog) { var height = screen.height; var width = screen.width;

Re: Window.open can not work in IE

2010-03-05 Thread Chris Lercher
Hi Jim, obviously, IE refuses to work with Google ;-) Or... you use window instead of Window, or better even $wnd. hth Chris On Mar 5, 6:25 am, Ji jimzhang...@gmail.com wrote: Hi guys, I use GWT Window.open to open another page. Firefox, Safari, and Chrome all work find, except IE. Error

Re: Window.open can not work in IE

2010-03-05 Thread Ashar Lohmar
window instead of Window, or better even $wnd. hth Chris On Mar 5, 6:25 am, Ji jimzhang...@gmail.com wrote: Hi guys, I use GWT Window.open to open another page. Firefox, Safari, and Chrome all work find, except IE. Error Message is : Invalid argument. My Code is: Window.open(http

Re: Window.open can not work in IE

2010-03-05 Thread raj kumar
hey jim!!! It's working very well for me in IE.May be check you tools setting in IE... Regards, Raj. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Window.open can not work in IE

2010-03-04 Thread Ji
Hi guys, I use GWT Window.open to open another page. Firefox, Safari, and Chrome all work find, except IE. Error Message is : Invalid argument. My Code is: Window.open(http://www.google.com;, Google, ); Anyone has idea what went wrong? Thank you indeed!!! Jim -- You received this message

Is it possible to detect if a popup (opened by Window.open(..) ) has been closed?

2010-02-01 Thread darkflame
I'm integrating a OpenID system into my site, and for part of it, I'm triggering a popup to login to various openID providers. This popup is opened by a simple; Window.open(url, _blank, menubar=1,resizable=1,width=480,height=400); Is it possible to know when the user close's this popup? Either

Re: Is it possible to detect if a popup (opened by Window.open(..) ) has been closed?

2010-02-01 Thread mariyan nenchev
Hi, popup.addCloseHandler(new CloseHandlerPopupPanel() { @Override public void onClose(CloseEventPopupPanel arg0) { // do something on close } }); if you use eventbus you may create your own PopupClosedEvent and onClose do : eventBus.fireEvent(new

Re: Is it possible to detect if a popup (opened by Window.open(..) ) has been closed?

2010-02-01 Thread darkflame
thanks, but I'm affaird I wasn't clear enough :( I meant a popup window, not a popup panel. (that is, an actual separate browser window triggered by a Window.open), and not a internal PopupPanel within the same window. Sorry for the confusion. On Feb 1, 1:42 pm, mariyan nenchev nenchev.mari

Re: Is it possible to detect if a popup (opened by Window.open(..) ) has been closed?

2010-02-01 Thread mariyan nenchev
Hi, what about Window.addCloseHandler(...);? -- 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

Re: Is it possible to detect if a popup (opened by Window.open(..) ) has been closed?

2010-02-01 Thread Thomas Wrobel
I think that only monitors the current window :-/ On 1 February 2010 14:39, mariyan nenchev nenchev.mari...@gmail.com wrote: Hi, what about Window.addCloseHandler(...);? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Re: Is it possible to detect if a popup (opened by Window.open(..) ) has been closed?

2010-02-01 Thread darkflame
For other peoples reference I found a solution/work-around; Triggered from the popup window itself, I added code that could communicate back to that which opened it. Native javascript like this would trigger the history; window.opener.location.hash = meep2; Or something like this to trigger a

Re: Window.open to include gwt.codesvr parameter

2009-12-10 Thread Łukasz Bachman
in development mode is not a nice solution, in my opinion. Any thoughts? Maybe this parameter should be added by GWT by default? Best regards, Łukasz On 10 Gru, 04:55, Craigo craig...@gmail.com wrote: When Window.open(url, _blank, ); is called, it opens a new window without the gwt.codesvr parameter

Window.open to include gwt.codesvr parameter

2009-12-09 Thread Craigo
When Window.open(url, _blank, ); is called, it opens a new window without the gwt.codesvr parameter. Is there an option to tell it to include the gwt.codesvr parameter if running in debug mode? It is possible to code around it with something like this: String devMode

handle to window.open opened window.

2009-10-27 Thread Rockster
Hi, question: with javascript you can get a handle to the window that is opened through the window.open (native javascript). In GWT the Window.open returns a void. Is there a specific reason for this ? How to get the handle to the opened window with native GWT ? Regards, Rokesh

Window.open() in new tab without focus

2009-10-06 Thread sjachym
Hello, I'm trying desperately to open a new page in a tab without taking focus. As it explain on http://forums.smartclient.com/showpost.php?p=31578postcount=4 : Using Window.open(url, name, features) with empty features, result opening a new tab open WITH FOCUS. Without features = new tab

Re: Problem in Window.open(url, name, features)

2009-07-10 Thread alex.d
Yeh, i've experienced this issue - the problem lies in the IE8 security settings. If you'd change security settings to trusted zone it works. But of course i can't change settings in all client browsers. So i've ended up with opening a small html file with Window.open() and this html-file

Problem in Window.open(url, name, features)

2009-07-09 Thread Raul
Hello all, I have a problem with the Window function Window.open(url, name, features) I have few PDF files in my hard drive say in (C:/Information), My Server path is C:/Tomcat_Home; I have a PDF file named C:/Information/contacts.pdf When I tried to open this PDF in a new

Re: Problem in Window.open(url, name, features)

2009-07-09 Thread alex.d
, I have a problem with the Window function                   Window.open(url, name, features) I have few PDF files in my hard drive say in (C:/Information), My Server path is C:/Tomcat_Home; I have a PDF file named C:/Information/contacts.pdf When I tried to open this PDF in a new Browser

Re: Problem in Window.open(url, name, features)

2009-07-09 Thread David Parry
are) and get it withhttp://localhost:/bla/bla/file.pdf (or smth. similar ;) On 9 Jul., 09:34, Raul raahoo...@gmail.com wrote: Hello all, I have a problem with the Window function                   Window.open(url, name, features) I have few PDF files in my hard drive say in (C