executing native javascript within an iframe

2011-07-11 Thread Kevin Cunningham
I have an application which is being displayed in an iframe and I need to call a native function from it. If I run the application not in the iframe, the code runs. But if it is in the iframe, it doesn't. public native void PrintTop() /*-{ alert(test); //$wnd.PrintTop

回覆:executing native javascript within an iframe

2011-07-11 Thread yes2000
Iframe means another window context. You show invoke window.parent.PrintTop(); instead. -- 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

Re: Youtube iFrame z-index problem

2011-07-08 Thread jhulford
Presumably you're using Internet Explorer...which has issues showing HTML elements over other objects on the page that are rendered natively by the OS (iframes, flash, select boxes, etc). To get around this limitation, GWT utilizes a hack where you put an iframe shim behind the popup panel's

Re: Youtube iFrame z-index problem

2011-07-08 Thread KevMo
By default flash will display on top of everything else, regardless of any z-index Try adding ?wmode=Opaque to the end of you iFrame src URL. On Jul 7, 7:16 am, tobirius t.herrm...@alkacon.com wrote: I am struggling to put UI elements above an embedded youtube iframe. No z-index seems large

Youtube iFrame z-index problem

2011-07-07 Thread tobirius
I am struggling to put UI elements above an embedded youtube iframe. No z-index seems large enough to get on top of the iframe. Only when using a PopupPanel it seems to be possible to show content above the iframe. I wonder how this is done. What is so special about the PopupPanel

Re: Eclipse hosted mode in Facebook iframe

2011-06-22 Thread A. Stevko
I answered this question at stackoverflow http://stackoverflow.com/questions/2646544/debug-gwt-inside-facebook-iframe/3283940#3283940 As it is, you cannot use 127.0.0.1 as the url hostname for your facebook app - you'll have to use a dns hostname pointing to the public ip address of your

Re: Eclipse hosted mode in Facebook iframe

2011-06-22 Thread Peter
Thanks! Editing the hosted.html file works. I can also use 127.0.0.1 in the iframe URL, but then I haven't enabled any cross-site request forgery measures. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web

Eclipse hosted mode in Facebook iframe

2011-06-21 Thread Peter
Hi, We're developing a Facebook app with GWT but can't get the hosted mode in Eclipse to work inside Facebook's iframe. Have anyone got this working? It would make it simpler to debug some issues. We've tried using the dev plugins for Firefox 4, Explorer 7 and Chrome 12. Firefox and Explorer

Re: Eclipse hosted mode in Facebook iframe

2011-06-21 Thread mohamed salah
On Tue, Jun 21, 2011 at 4:12 PM, Peter peter.sundqv...@gmail.com wrote: Hi, We're developing a Facebook app with GWT but can't get the hosted mode in Eclipse to work inside Facebook's iframe. Have anyone got this working? It would make it simpler to debug some issues. We've tried using

Re: Eclipse hosted mode in Facebook iframe

2011-06-21 Thread Peter
I think you misunderstood. We don't want to create an iframe in GWT code. Our GWT page is loaded in an iframe. The URL of the iframe is http://127.0.0.1:/Page.html?gwt.codesvr=127.0.0.1:9997;. But this doesn't work with the development mode in Eclipse. -- You received this message

[gwt-contrib] Re: DirectInstallLinker should not immediately remove the script tag it has inserted into the IFRAME... (issue1454802)

2011-06-07 Thread unnurg
On 2011/06/07 22:05:56, fredsa wrote: Tell me more... this is not new - the xsiframe linker does this and we haven't heard of any problems there... http://gwt-code-reviews.appspot.com/1454802/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: DirectInstallLinker should not immediately remove the script tag it has inserted into the IFRAME... (issue1454802)

2011-06-07 Thread unnurg
LGTM ok - I'm dumb - the file that xsiframe linker is setting the contents of the script tag and then removing it. This code sets the src of the script tag. Probably not a good idea to remove it before the contents come back :-) Thanks!! - Unnur On 2011/06/07 22:38:26, unnurg wrote: On

Re: Detect when IFrame URL changes?

2011-06-05 Thread Xybrek
On Tuesday, 23 March, 2010 02:48 AM, Skyfort wrote: Well, I discovered that GWT handles the whole invisible-IFrame thing for posts, itself. So that's good news :-) But I still don't see the onSubmitComplete handler ever getting accessed. :( On Mar 22, 11:33 am, Skyfortskyf...@gmail.com wrote

How to capture events on html contained in iframe?

2011-06-05 Thread Ybrek
Hi, is there a way to capture events in html contained in iframe? Events like when the iframe will be firing request events to server?, thanks Xyrek -- 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

Can GWT application (inside one iFrame) be able to manipulate content insides other iFrames

2011-04-21 Thread keke
Dear group, Our GWT application (using GXT) has to be displayed inside an iFrame. And we have a number of such iFrames in our application. My question is is it possible to only load one instance of the GWT application (the module iFrame) into the DOM and always use that piece of code to generate

IE9 GWT inside IFRAME problem

2011-03-31 Thread Michal Stehlik
Hello, we create GWT Google Maps application which is displayed in IFRAME. So far there wasn't any problem. But problem occurred when new IE9 was released. So we had to upgrade all GWT libraries to newest one. Now when I visit our application directly via link: http://www.geocoder.at/willhaben.at

Re: IE9 GWT inside IFRAME problem

2011-03-31 Thread FabioV
Hi Michal, Bear in mind that official support for IE9 has not yet been released. When you say running in IE9, there are many 'modes' to consider. if you are referring to ie9 standards mode, then looks like your app was not compiled for ie9 from what I could gather from your link above. The

Re: A gwt application inside FRAME (or IFRAME)

2011-03-22 Thread Susanna Martinelli
thanks, I found solution: iframe's src should point to the html page with the gwt application not the javascript code. S. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: A gwt application inside FRAME (or IFRAME)

2011-03-21 Thread ndv
the server the page doesn't appear. It seems that the browser doesn't support frames (but it's strange) However i've tried to use an iframe object instead of Frameset/Frame hierarchy by calling directly the javascript application in this way: iframe src=mygwtapp/mygwtapp.nocache.js

A gwt application inside FRAME (or IFRAME)

2011-03-18 Thread Susanna Martinelli
(obviously MyGwtApp.html is the page that call the generated javascript returned from the compilation of MyGwtApp.java). But once compiled and runned onto the server the page doesn't appear. It seems that the browser doesn't support frames (but it's strange) However i've tried to use an iframe

Embeding GWT app in another site without iFrame

2011-02-23 Thread Bob Graton
' without iFrame. The new HTML page on site2.com tries to load the GWT js file from site 1 like this. script type=text/javascript language=javascript src=http:// site1.com/myapp1/myapp1.nocache.js/script This technique should not be restricted to Cross-site-scripting and SoP. The code is loaded

Re: Embeding GWT app in another site without iFrame

2011-02-23 Thread John LaBanca
Work fine. I would like to embeded this App on another site 'http://site2.com' without iFrame. The new HTML page on site2.com tries to load the GWT js file from site 1 like this. script type=text/javascript language=javascript src=http:// site1.com/myapp1/myapp1.nocache.js/script

Re: Embeding GWT app in another site without iFrame

2011-02-23 Thread Thomas Broyer
/javascript language=javascript src=myapp1/ myapp1.nocache.js/script Work fine. I would like to embeded this App on another site 'http://site2.com' without iFrame. The new HTML page on site2.com tries to load the GWT js file from site 1 like this. script type=text/javascript language

Re: GWT webapp into an IFRAME

2011-02-14 Thread Sebastian Rothbucher
Hi, I can also confirm this works quite smoothly: embed into an Iframe and redirect to the own URL or a #marker URL with target=top to prevent that. Best Regards Sebastian Rothbucher On 2 Feb., 17:02, aditya sanas 007aditya.b...@gmail.com wrote: hi, yeah ofcourse it will work i have

Re: Calling Window.getClientHeight() from Iframe returns wrong value

2011-02-08 Thread Thomas Lefort
This is an issue I never managed to solve in my FB apps, GWT or not. I am not even sure it is possible in fact. Let alone the simple fact that your iframe might be too far down the screen to even allow window centering. What I ended up doing is position the window centered in width and 100px down

Re: Calling Window.getClientHeight() from Iframe returns wrong value

2011-02-08 Thread Oren
A fixed position is pretty problematic if the iframe has a large height value and the user is focused on the bottom of it (it will practically not show...). Is there a way to use the mouse postion? Re: FB API - I used this one: http://code.google.com/p/gwtfb/ Thanks, Oren. On Feb 8, 11:03 am

Calling Window.getClientHeight() from Iframe returns wrong value

2011-02-07 Thread Oren
Hey, I'm using GWT to write a simple FB canvas app. I noticed all my centered dialogs are way off in terms of vertical placement. Digging deeper I learned that Window.getClientHeight() returns the iframe height and not the visible area's height and thus the dialogs are not centered properly

GWT webapp into an IFRAME

2011-02-02 Thread obesga
Hello I've done a GWT app which is running on it's own page; but I've a request to embed the page into a portal. As I need to get the job done ASAP; I'm thinking about embedding the GWT weapp into a iframe, as iframe src=app/myapp.html/iframe Would it work ? Can a GWT app detect when it's

Re: GWT webapp into an IFRAME

2011-02-02 Thread aditya sanas
is running on it's own page; but I've a request to embed the page into a portal. As I need to get the job done ASAP; I'm thinking about embedding the GWT weapp into a iframe, as iframe src=app/myapp.html/iframe Would it work ? Can a GWT app detect when it's running on a top page or on a iframe

Re: GWT webapp into an IFRAME

2011-02-02 Thread Jan Mostert
One of my apps is running on facebook, facebook uses an iFrame to display the application (if you're not using FBML), so yes, it does work. On Wed, Feb 2, 2011 at 6:02 PM, aditya sanas 007aditya.b...@gmail.comwrote: hi, yeah ofcourse it will work i have implemented it in my projects but you

Re: GWT webapp into an IFRAME

2011-02-02 Thread obesga
Well, the first test eas a complete success !!! How to detect if your GWT is into an iframe /* Returns TRUE if the app is running inside a iframe */ private static native boolean inIframe() /*-{ return $wnd.top != $wnd; }-*/; On 2 feb, 17:18, Jan Mostert j...@mycee.com wrote

RE: GWT webapp into an IFRAME

2011-02-02 Thread Armishev, Sergey
I put my app into CGI based framework and my GWT based app was running inside iframe. The only difficulty was server side configuration and it depends how the your portal organized -Sergey From: google-web-toolkit@googlegroups.com [mailto:google-web-toolkit@googlegroups.com] On Behalf

Re: Intra iFrame communication in GWT

2011-01-24 Thread mlb
/lang/String;Ljava/ lang/String;)(arg1, arg2);                 }; The callbacks work fine within components in the same iFrame, but when I have two plugins dropped into a portal app, other iframes don't receive the events.  Firebug doesn't show any SOP errors - not sure what to try here.  I've

How can I know if my script is running inside an iframe or not?

2011-01-05 Thread nacho
I have a script that sometimes will run inside an iframe an sometimes not. How can i know if the script if running inside an iframe? Another doubt, if the script is running inside the iframe how can i redirect the parent window? If I do Window.Location.assign(/newUrl) obviusly the content

Setting height of an iframe in percent

2010-10-06 Thread hendrix.jason
Using GWT, I have placed a frame element (named frame) in a div that's in an HTMLPanel, that's inside of a ScrollPanel, that makes up the center element of a DockLayoutPanel. Setting the frame's height using frame.setHeight(99%) works ok for Chrome but not for IE or FF. In Chrome, the frame

[gwt-contrib] [google-web-toolkit] r8786 committed - The cross-site iframe linker now loads deferred JS code via script tag...

2010-09-15 Thread codesite-noreply
Revision: 8786 Author: sp...@google.com Date: Wed Sep 15 07:44:00 2010 Log: The cross-site iframe linker now loads deferred JS code via script tags holding the code directly. It no longer has the code in a string literal that gets passed around through several layers of code before being

[gwt-contrib] The cross-site iframe linker now loads deferred JS code via script tags holding (issue868801)

2010-09-14 Thread spoon
Reviewers: unnurg, Message: This is a small change to the xsiframe linker. These hoops are a legacy from the xs linker that is no longer needed. Since xsiframe has an iframe, the code can be directly installed instead of being passed around in a string. Description: The cross-site iframe linker

Moving Frame(iframe) without reloading iframe content

2010-07-31 Thread mtils...@gmail.com
I have a Frame object which contain an iframe to a site. This is working fine, but I would like to move the Frame to a different parent without reloading the content of the iframe. If i just do a myOtherPanel.add(frameWidget) then the Frame does move, but the iframe content is reloaded

Re: Moving Frame(iframe) without reloading iframe content

2010-07-31 Thread mtils...@gmail.com
Some more google search shows that this is really a problem with Firefox so there is nothing gwt can do about that. Current versions of firefox will always reload an iframe when it is moved (https:// bugzilla.mozilla.org/show_bug.cgi?id=254144). On Jul 31, 3:16 pm, mtils...@gmail.com mtils

IE Bookmarks IFrame src issue.

2010-07-27 Thread Sony
checking if the src for that IFrame has changed in the newly requested page so if and only if the previously recorded src fails to load (either from cache or from server) does it try loading the new src that the IFrame tag now carries. This is actually a major problem for our GWT web-app - as we

Re: IE Bookmarks IFrame src issue.

2010-07-27 Thread Jeff Chimene
a request of the IFrame's src without even checking if the src for that IFrame has changed in the newly requested page so if and only if the previously recorded src fails to load (either from cache or from server) does it try loading the new src that the IFrame tag now carries. This is actually

Re: iframe JS code linker

2010-07-27 Thread opichals
not a reason for a separate JS code iframe on its own. Best Regards Standa On Jul 21, 4:13 pm, Thomas Broyer t.bro...@gmail.com wrote: On 20 juil, 17:06, opichals opich...@gmail.com wrote: Hi! Commonly JS frameworks' .js files are simply added to the .html file as script tags. GWT linker

Re: IE Bookmarks IFrame src issue.

2010-07-27 Thread Greg Dougherty
Can they do that ONLY for IE 6 8? Because it doesn't look like they want to stop caching, they want the bookmark to stop going to the old iFrame source. Greg On Jul 27, 11:04 am, Jeff Chimene jchim...@gmail.com wrote: On 07/27/2010 08:53 AM, Sony wrote: A truly idiotic bunch at Microsoft

Re: IE Bookmarks IFrame src issue.

2010-07-27 Thread Jeff Chimene
On 07/27/2010 10:29 AM, Greg Dougherty wrote: Can they do that ONLY for IE 6 8? Because it doesn't look like they want to stop caching, they want the bookmark to stop going to the old iFrame source. Greg Then they'll also have to work with RewriteCond, which is an ugly solution. Were

Re: IE Bookmarks IFrame src issue.

2010-07-27 Thread Sony
Greg, you understand correctly. IE attempts to load the older.cache.html that was recorded as the src of the iframe when the page was bookmarked instead of the src as it exists currently on the requested page resulting in incompatibility exceptions with the newer version on the server

[gwt-contrib] [google-web-toolkit] r8410 committed - Modifies the cross-site linker to put its code in an iframe...

2010-07-26 Thread codesite-noreply
Revision: 8410 Author: sp...@google.com Date: Fri Jul 23 09:44:56 2010 Log: Modifies the cross-site linker to put its code in an iframe rather than a wrapper function. Review at http://gwt-code-reviews.appspot.com/674802 Review by: j...@google.com http://code.google.com/p/google-web-toolkit

[gwt-contrib] [google-web-toolkit] r8413 committed - Rolling back the cross-site linker using an iframe. It's not clear thi...

2010-07-26 Thread codesite-noreply
Revision: 8413 Author: sp...@google.com Date: Fri Jul 23 11:50:52 2010 Log: Rolling back the cross-site linker using an iframe. It's not clear this is a safe change for all apps. Review by: robertvaw...@google.com http://code.google.com/p/google-web-toolkit/source/detail?r=8413 Added

[gwt-contrib] Modifies the cross-site linker to put its code in an iframe (issue674802)

2010-07-22 Thread spoon
Reviewers: jgw, Description: Modifies the cross-site linker to put its code in an iframe rather than a wrapper function. Review by: j...@google.com Please review this at http://gwt-code-reviews.appspot.com/674802/show Affected files: M dev/core/src/com/google/gwt/core/linker/XSLinker.java

Re: iframe JS code linker

2010-07-21 Thread Thomas Broyer
On 20 juil, 17:06, opichals opich...@gmail.com wrote: Hi! Commonly JS frameworks' .js files are simply added to the .html file as script tags. GWT linker by default creates an iframe that contains all the JS code script tags inside kept separate from the rest of the application page markup

iframe JS code linker

2010-07-20 Thread opichals
Hi! Commonly JS frameworks' .js files are simply added to the .html file as script tags. GWT linker by default creates an iframe that contains all the JS code script tags inside kept separate from the rest of the application page markup. I have been searching for the reason that led to having

GWT Login module in an iframe.

2010-07-18 Thread Sergey Ponomarev
Hi, i'm trying to implement login module as a GWT application which is placed in an iframe and calls external event handlers on login events. The problem is i can't set handler function if iframe's DOM from parent page. The host page looks like

Re: GWT Login module in an iframe.

2010-07-18 Thread George Georgovassilis
Hello Sergey, If the login url, the iframe url and the main application url are one the same domain then these frames will be able to directly invoke javascript on each other. If you are going to a different domain (i.e. the login url is on https:// instead of http://) then this will not work

JSNI reference in iframe

2010-06-22 Thread randasin
I have some JSNI code that assign a function to a variable in the window as suggested in JSNI document: Calling a Java Method from Handwritten JAvascript (http://code.google.com/webtoolkit/doc/latest/ DevGuideCodingBasicsJSNI.html#calling) The problem is if the JSNI code runs inside an iframe

Re: JSNI reference in iframe

2010-06-22 Thread Olivier Monaco
The iframe is the GWT iframe or another one? Do you have a usecase ? Olivier On 22 juin, 18:37, randasin r4nd7...@gmail.com wrote: I have some JSNI code that assign a function to a variable in the window as suggested in JSNI document: Calling a Java Method from Handwritten JAvascript (http

Re: JSNI reference in iframe

2010-06-22 Thread randasin
another iframe The setup is like this: domain1/page1 has an iframe that loads domain2/page2 domain2/page2 has the GWT module. In other words DOM looks like: domain/page1 iframe (domain/page2) iframe (gwt) The module has the JSNI code that is intended to register a function in page2

GWT IFrame RPC problem in Firefox 3.6

2010-05-04 Thread Kelbi
Hello everybody! I made a GWT module as usual in its own HTML page. I tried to use this HTML in my application in an iframe. The module builds up its UI in the onModuleLoad method, then makes an RPC request to fill the widgets with data. This works well in IE, Chrome and Opera. However

iFrame

2010-04-06 Thread gadaleta.marco
I want to create an Iframe structure from gwt code It's possible? Thx, Marco. -- 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

Re: iFrame

2010-04-06 Thread mariyan nenchev
Hi, Frame frame = new Frame(); frame.setUrl(url); -- 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: iFrame

2010-04-06 Thread gadaleta.marco
Thx. But if i want to add a widget element, a flextabale for example??? On 6 Apr, 16:46, mariyan nenchev nenchev.mari...@gmail.com wrote: Hi, Frame frame = new Frame(); frame.setUrl(url); -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: iFrame

2010-04-06 Thread Jon Vaughan
You'd have to add a flextable to the page that you are showing in your iframe On Apr 6, 4:06 pm, gadaleta.marco gadaleta.ma...@gmail.com wrote: Thx. But if i want to add a widget element, a flextabale for example??? On 6 Apr, 16:46, mariyan nenchev nenchev.mari...@gmail.com wrote: Hi

Re: iFrame

2010-04-06 Thread Marco Gadaleta
I want to add a widget not a url.. 2010/4/6 Jon Vaughan jsvaug...@gmail.com You'd have to add a flextable to the page that you are showing in your iframe On Apr 6, 4:06 pm, gadaleta.marco gadaleta.ma...@gmail.com wrote: Thx. But if i want to add a widget element, a flextabale

Re: iFrame

2010-04-06 Thread mariyan nenchev
Where do you want to add this widget? In the frame - it is not possible! Under the frame for example? Just add the frame to some container and after that add the widget to the same container. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

Re: iFrame

2010-04-06 Thread mariyan nenchev
Why do you need to add widget in frame? Makes no sense! Frame loads other page if you want to have a widget in the frame you have to add it in some way in the other page. :) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Re: iFrame

2010-04-06 Thread Jan Ehrhardt
The problem is, that each Widget has a DOM Element it wraps. This DOM Element is created by the document.createElement('tagname') JavaScript method and the call to this method is not accessible to you, since it is wrapped by GWT's Document class. An iframe contains it's own document, so you would

Re: iFrame

2010-04-06 Thread Marco Gadaleta
On android for example, the scrolls of scrollpane are not visible. If i can embedded a Flextable inside a iframe i can use the android browser scrollbar system... That's the right 2010/4/6 mariyan nenchev nenchev.mari...@gmail.com Why do you need to add widget in frame? Makes no sense! Frame

Re: iFrame

2010-04-06 Thread Marco Gadaleta
Can you tell me how i can load a flextable into a page that isn't the main project page ? . 2010/4/6 Marco Gadaleta gadaleta.ma...@gmail.com On android for example, the scrolls of scrollpane are not visible. If i can embedded a Flextable inside a iframe i can use the android browser scrollbar

Re: iFrame

2010-04-06 Thread Jan Ehrhardt
I would create two modules in my GWT app. The first module is the application itself, it will be started and runs as expected. The second module contains only these parts, that are required to run inside the iframe. You can create the iframe and load your app's JavaScript into the iframe's

Re: Detect when IFrame URL changes?

2010-03-22 Thread Skyfort
Well, I discovered that GWT handles the whole invisible-IFrame thing for posts, itself. So that's good news :-) But I still don't see the onSubmitComplete handler ever getting accessed. :( On Mar 22, 11:33 am, Skyfort skyf...@gmail.com wrote: Here's a tricky thing (for me, at least ;)...I need

Re: iFrame in TabPanel Reload Problem

2010-03-16 Thread John
Still haven't found a solution. Anyone out there have a clue what to do? On Mar 4, 3:49 pm, John john.m.daugh...@gmail.com wrote: Any help would be appreciated! Firefox reloads the contents of iframes when they are unhidden. So, if you have a TabPanel, where each tab holds an iframe

[gwt-contrib] Updates the IFRame and XS selection script templates to support

2010-03-08 Thread spoon
Reviewers: jgw, Description: Updates the IFRame and XS selection script templates to support inlined selection scripts. There are two changes involved: 1. There is a baseUrl meta property that can be used to override the choice of base URL. 2. Meta tags can be made to apply to only module

[gwt-contrib] Re: Updates the IFRame and XS selection script templates to support

2010-03-08 Thread spoon
Joel, can you review this? http://gwt-code-reviews.appspot.com/159810/diff/1/3 File dev/core/src/com/google/gwt/core/linker/XSTemplate.js (left): http://gwt-code-reviews.appspot.com/159810/diff/1/3#oldcode291 Line 291: processMetas(); This ordering is necessary because the meta props now

Re: [gwt-contrib] Updates the IFRame and XS selection script templates to support

2010-03-08 Thread Ian Petersen
: Reviewers: jgw, Description: Updates the IFRame and XS selection script templates to support inlined selection scripts.  There are two changes involved: 1. There is a baseUrl meta property that can be used to override the choice of base URL. 2. Meta tags can be made to apply to only module

[gwt-contrib] Re: Updates the IFRame and XS selection script templates to support

2010-03-08 Thread jgw
LGTM http://gwt-code-reviews.appspot.com/159810/diff/1/2 File dev/core/src/com/google/gwt/core/linker/IFrameTemplate.js (right): http://gwt-code-reviews.appspot.com/159810/diff/1/2#newcode200 Line 200: } Clever. I like it. http://gwt-code-reviews.appspot.com/159810/diff/1/3 File

Re: [gwt-contrib] Updates the IFRame and XS selection script templates to support

2010-03-08 Thread Joel Webber
as a potential refactoring. Ian On Mon, Mar 8, 2010 at 9:23 AM, sp...@google.com wrote: Reviewers: jgw, Description: Updates the IFRame and XS selection script templates to support inlined selection scripts. There are two changes involved: 1. There is a baseUrl meta property that can

Re: [gwt-contrib] Updates the IFRame and XS selection script templates to support

2010-03-08 Thread Lex Spoon
On Mon, Mar 8, 2010 at 12:37 PM, Ian Petersen ispet...@gmail.com wrote: Just idle curiosity here, but why did you have to make the same change twice? I know you're modifying selection scripts, and maybe that means you need to violate DRY for some reason, but it strikes me as a potential

[gwt-contrib] [google-web-toolkit] r7686 committed - Updates the IFRame and XS selection script templates to support...

2010-03-08 Thread codesite-noreply
Revision: 7686 Author: sp...@google.com Date: Mon Mar 8 12:02:36 2010 Log: Updates the IFRame and XS selection script templates to support inlined selection scripts. There are two changes involved: 1. There is a baseUrl meta property that can be used to override the choice of base URL. 2

Re: Hard problem: detecting url change in a gwt Frame (or iframe)

2010-03-05 Thread Yevgeniy Treyvus
Max, You're right simply calling getUrl() doesn't work. It's a mystery to me why that isHowever, I have found this works (at least in Firefox). com.google.gwt.dom.client.FrameElement e = ((FrameElement)(cachedArticleFrame.getElement().cast()));

iFrame in TabPanel Reload Problem

2010-03-05 Thread John
Any help would be appreciated! Firefox reloads the contents of iframes when they are unhidden. So, if you have a TabPanel, where each tab holds an iframe, moving between tabs reloads the frame. Chrome and IE leave the frame alone, but Firefox closes it when you hide it. For example, if you have

Hard problem: detecting url change in a gwt Frame (or iframe)

2010-03-05 Thread Yevgeniy Treyvus
Max, You're right simply calling getUrl() doesn't work. It's a mystery to me why that isHowever, I have found this works (at least in Firefox). com.google.gwt.dom.client.FrameElement e = ((FrameElement)(cachedArticleFrame.getElement().cast()));

Re: Hard problem: detecting url change in a gwt Frame (or iframe)

2010-03-05 Thread Fabiano
iframes are quite difficult to manage. Policies about parent page-iframe son communications are quite strict. In fact you can access to the iframe's context(window's properties and document) only when main page and iframe shares the same domain. In case domains differ , inspecting the frame

True JS Output - Instead of GWT Code in IFRAME..

2010-03-02 Thread kittu
. And also i want to know is it possible to contral the GWT compiler output. I want to the gwt compiler to create the object in the document body itself.. not in a iframe.. -Kittu -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group

Re: setting or refreshing the parent URL from within an iframe

2010-02-18 Thread Chris Ramsdale
of the iframe, and auto-refresh in an attempt to catch the account verification that may occur in a separate tab. To do this though, you'll need to catch the response, otherwise you'll end up with an iframe that appears to be refreshing the same content. Net, net: there is some room for improvement within

Re: setting or refreshing the parent URL from within an iframe

2010-02-18 Thread John Denley
which lets users know that they'll need to either a) refresh your app once they have verified their account creation, or b) click the sign-out link and sign back in with their newly verified account. You could also set a timer that inspects the contents of the iframe, and auto-refresh

Re: setting or refreshing the parent URL from within an iframe

2010-02-17 Thread Chris Ramsdale
This thread might help out: https://groups.google.com/group/google-web-toolkit/browse_thread/thread/e0b7683069497bcf/e6d2814e79bc3a45?#e6d2814e79bc3a45 -- Chris On Sun, Feb 14, 2010 at 6:39 PM, John V Denley johnvden...@googlemail.comwrote: I forgot the line from where I am getting the URL:

Re: setting or refreshing the parent URL from within an iframe

2010-02-17 Thread John Denley
Thanks Chris, Hard Coding is what Ive had to end up doing too... quite irritating though Incidentally I have cracked the other two problems this evening too, namely (a) how to set the parent URL from within the iframe and (b) how to get make sure that after logging into the google account

GWT mashup-mode and domain problems with IFRAME, questions.

2010-02-16 Thread Fabiano
is the usual iframe loading, and a second one where the script is loaded into an anonymous function inside the current window context (they refer to this way as mashup). I have looked around but I was unable to find any documentation about. My question are: 1)Is this mashup modality already supported? 2)Where

Re: GWT mashup-mode and domain problems with IFRAME, questions.

2010-02-16 Thread Fabiano
On 16 Feb, 20:44, Fabiano ftar...@gmail.com wrote: Hi, I have looked around but I was unable to find any documentation about. I have found out something: http://code.google.com/webtoolkit/doc/latest/FAQ_Server.html There are five lines about (the search-key, in order to find this, has been

setting or refreshing the parent URL from within an iframe

2010-02-14 Thread John V Denley
My application requires a login to a google account. I have been looking at trying to do this login step within a GWT frame which works fine. The problem is that once that login has been completed my application then loads INSIDE the frame, I really want it to reload in the parent window. I have

Re: setting or refreshing the parent URL from within an iframe

2010-02-14 Thread John V Denley
OK, I think I might have figured out what the problem is... when Im creating the frame Im trying to set it using the following line: The resulting URL is /_ah/login?continue=http%3A%2F%2Flocalhost %3A%2F so the problem is that it is stripping out the /

Re: setting or refreshing the parent URL from within an iframe

2010-02-14 Thread John V Denley
I forgot the line from where I am getting the URL: loginInfo.getLoginUrl() On Feb 14, 11:16 pm, John V Denley johnvden...@googlemail.com wrote: OK, I think I might have figured out what the problem is... when Im creating the frame Im trying to set it using the following line: The resulting

[gwt-contrib] Re: History methods NPE when iframe not included

2010-02-06 Thread t . broyer
http://gwt-code-reviews.appspot.com/138805/diff/1/6 File user/src/com/google/gwt/user/client/History.java (right): http://gwt-code-reviews.appspot.com/138805/diff/1/6#newcode64 Line 64: // Set impl to null as a flag to no-op future calls. This should test if 'impl' is null too; it's a different

[gwt-contrib] Re: GWT 2.0.1: is the history support iframe now mandatory ?

2010-02-05 Thread stuckagain
, it will GWT.create(HistoryImpl.class), and thus attempt to find the iframe, but I believe it's been this way for a long time. Are you sure you're not referencing History somewhere? On Thu, Feb 4, 2010 at 10:34 AM, stuckagain david.no...@gmail.com wrote: Hi, I rebuild my apps with 2.0.1 and noticed

[gwt-contrib] Re: GWT 2.0.1: is the history support iframe now mandatory ?

2010-02-05 Thread Konstantin.Scheglov
(HistoryImpl.class), and thus attempt to find the iframe, but I believe it's been this way for a long time. Are you sure you're not referencing History somewhere? On Thu, Feb 4, 2010 at 10:34 AM, stuckagain david.no...@gmail.com wrote: Hi, I rebuild my apps with 2.0.1 and noticed that they no longer

[gwt-contrib] Re: GWT 2.0.1: is the history support iframe now mandatory ?

2010-02-05 Thread Joel Webber
=4584 On Feb 4, 6:36 pm, Joel Webber j...@google.com wrote: It shouldn't be -- if you kick off History's static initializer, it will GWT.create(HistoryImpl.class), and thus attempt to find the iframe, but I believe it's been this way for a long time. Are you sure you're not referencing

[gwt-contrib] Re: GWT 2.0.1: is the history support iframe now mandatory ?

2010-02-05 Thread Joel Webber
=4584 On Feb 4, 6:36 pm, Joel Webber j...@google.com wrote: It shouldn't be -- if you kick off History's static initializer, it will GWT.create(HistoryImpl.class), and thus attempt to find the iframe, but I believe it's been this way for a long time. Are you sure you're not referencing

[gwt-contrib] History methods NPE when iframe not included

2010-02-05 Thread jlabanca
Reviewers: jgw, Description: When the History iframe is absent, History is disabled in IE and impl will be set to null. Using some of the methods in History will result in an NPE, only in IE. This affects PopupPanel, which adds a history handler automatically and throws an NPE in IE

[gwt-contrib] Re: History methods NPE when iframe not included

2010-02-05 Thread jgw
On 2010/02/05 16:24:02, jlabanca wrote: LGTM. http://gwt-code-reviews.appspot.com/138805 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] GWT 2.0.1: is the history support iframe now mandatory ?

2010-02-04 Thread stuckagain
Hi, I rebuild my apps with 2.0.1 and noticed that they no longer start. In DevMode is see an error about the History Support that fails to initialize. My apps do not support history, so I did not include the IFrame... has this become mandatory or is this a little oops ? David -- http

Re: [gwt-contrib] GWT 2.0.1: is the history support iframe now mandatory ?

2010-02-04 Thread Joel Webber
It shouldn't be -- if you kick off History's static initializer, it will GWT.create(HistoryImpl.class), and thus attempt to find the iframe, but I believe it's been this way for a long time. Are you sure you're not referencing History somewhere? On Thu, Feb 4, 2010 at 10:34 AM, stuckagain

Re: [gwt-contrib] GWT 2.0.1: is the history support iframe now mandatory ?

2010-02-04 Thread David
), and thus attempt to find the iframe, but I believe it's been this way for a long time. Are you sure you're not referencing History somewhere? On Thu, Feb 4, 2010 at 10:34 AM, stuckagain david.no...@gmail.com wrote: Hi, I rebuild my apps with 2.0.1 and noticed that they no longer start

<    1   2   3   4   >