setting html of iframe

2009-04-13 Thread Prashant Gupta
is there any way to set html inside a GWT Frame or an iframe --~--~-~--~~~---~--~~ 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

resizable iframe?

2009-04-13 Thread Prashant Gupta
is it possible to make an iframe resizable using GWT or YUI? --~--~-~--~~~---~--~~ 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

Re: how to set src attribute of an iframe?

2009-04-12 Thread Tony Strauss
Depending on your needs, gwt's Frame widget (which is an iframe) provides such programatic access for free (you even can wrap it around an already existing iframe element): http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/Frame.html Tony -- Tony Strauss

Re: how to set src attribute of an iframe?

2009-04-12 Thread Prashant Gupta
thanks... :) On Mon, Apr 13, 2009 at 7:55 AM, Tony Strauss tony.stra...@designingpatterns.com wrote: Depending on your needs, gwt's Frame widget (which is an iframe) provides such programatic access for free (you even can wrap it around an already existing iframe element): http://google

how to set src attribute of an iframe?

2009-04-11 Thread Prashant Gupta
hi, anyone know how to set src attribute of an iframe? --~--~-~--~~~---~--~~ 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

WindowCloseListener gets fired from iframe

2009-03-18 Thread ben
I'm having a problem with my WindoCloseListener.onWindowClosing event firing when I click a link on my page, which opens an iframe on my page. if I click ok, everything works as it should. But I don't want users thinking they are navigating away from my page when the click the link. I'm

JNSI - IFrame - Function Issue

2009-03-18 Thread Evan Ruff
Hey guys, I'm trying to create a simple little foray in to JSNI to do some DOM manipulation and I'm really striking out bigtime. Basically, my document loads an IFrame that contains and external page in it. On the page is a JS function called giveFocus(). I can't seem to get ahold of the frame

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

2009-02-11 Thread Litty Preeth
Yes u are right, you need to use GWT History mechanism. On Thu, Feb 12, 2009 at 5:37 AM, Max caesy...@gmail.com wrote: HI,all, Is there a way to detect url change in a gwt Frame? I used geturl () but it didn't detect new url when users click on a link in the Frame. Maybe i need to

Re: Really need help to get iframe current url and web page DOM (overcoming same origin policy)

2009-01-13 Thread Thomas Broyer
On 12 jan, 14:18, style...@gmail.com wrote: - Does anyone have any workable solution to overcome this issue? No matter how complicated it is, please share with me, really don't wish to give up my project. Hopefully no (that would be a security breach) - Is there any alternative to iframe

Really need help to get iframe current url and web page DOM (overcoming same origin policy)

2009-01-12 Thread style...@gmail.com
within my web application. Using the Frame and IFrameElement objects in GWT and also the ManagedIFramePanel from GWT-Ext user extension, I will get null exception or access denied. I realized this has to do with Javascript same origin policy where iframe is restricted to same domain access. I tried

Re: How to pass a set parameter with iFrame/window which host GWT HTML from a javascript code

2008-11-30 Thread Manish Kumar
Hi, Sorry for raising this issue again. But I am getting stuck up at this point as per my new approach. I am now able to host GWT from my external HTML/website. The way I have done is on click of a button in my html , I open a new window which loads the GWT Host HTML which in turns calls a

Re: calling doGet() on the server from a hidden IFrame

2008-11-10 Thread [EMAIL PROTECTED]
);     }     DOM.setElementAttribute(RootPanel.get(__download).getElement(), src, link); } html body is: body     script type=text/javascript language=javascript src=com.paretopartners.signoff.signoffClient.nocache.js/script     iframe id=__gwt_historyFrame style=width:0;height:0;border: 0/iframe

calling doGet() on the server from a hidden IFrame

2008-11-07 Thread [EMAIL PROTECTED]
language=javascript src=com.paretopartners.signoff.signoffClient.nocache.js/script iframe id=__gwt_historyFrame style=width:0;height:0;border: 0/iframe iframe src= id=__download style=width:0;height:0;border:0/ iframe /body my server has the doGet method: protected void doGet(final

Re: calling doGet() on the server from a hidden IFrame

2008-11-07 Thread [EMAIL PROTECTED]
=com.paretopartners.signoff.signoffClient.nocache.js/script     iframe id=__gwt_historyFrame style=width:0;height:0;border: 0/iframe     iframe src= id=__download style=width:0;height:0;border:0/ iframe /body my server has the doGet method: protected void doGet(final HttpServletRequest req

Re: calling doGet() on the server from a hidden IFrame

2008-11-07 Thread gregor
    script type=text/javascript language=javascript src=com.paretopartners.signoff.signoffClient.nocache.js/script     iframe id=__gwt_historyFrame style=width:0;height:0;border: 0/iframe     iframe src= id=__download style=width:0;height:0;border:0/ iframe /body my server has the doGet

[gwt-contrib] Re: IE Nonsecure popup in connection with cache/nocache iframe

2008-11-04 Thread Jen
, or are they using HTTP, or going to another server? On Tue, Nov 4, 2008 at 10:19 AM, Jen [EMAIL PROTECTED] wrote: I was creating additional IFRAMEs . I commented them and everything else out. It is definitely coming from the GWT created IFRAME. It should also be noted that even when

[gwt-contrib] Re: IE Nonsecure popup in connection with cache/nocache iframe

2008-11-04 Thread Scott Blum
them and everything else out. It is definitely coming from the GWT created IFRAME. It should also be noted that even when selecting 'no' to display non secure items, everything continues to work as expected. It appears as if an intermediate object is created then destroyed during

[gwt-contrib] Re: IE Nonsecure popup in connection with cache/nocache iframe

2008-11-04 Thread Scott Blum
();setTitle(); oncontextmenu=return false; class=bodyClassInside iframe src=javascript:'html/html' id=__gwt_historyFrame style=width:0;height:0;border:0/ iframe div id=beginBodyHere/divdiv id=mainPanel/div input type=hidden id=uid value=input type=hidden id=sid value= script type=text/javascript

[gwt-contrib] Re: IE Nonsecure popup in connection with cache/nocache iframe

2008-11-04 Thread Jen
; class=bodyClassInside iframe src=javascript:'html/html' id=__gwt_historyFrame style=width:0;height:0;border:0/ iframe div id=beginBodyHere/divdiv id=mainPanel/div input type=hidden id=uid value=input type=hidden id=sid value= script type=text/javascript language=javascript src

[gwt-contrib] Re: IE Nonsecure popup in connection with cache/nocache iframe

2008-11-03 Thread Scott Blum
. The only iframe on the page is the one created by the gwt script tag. The page is a single html panel, the rest of our pages are more complicated. This is the only page that consistently returns the Popup. Has anyone else run into this issue? Any help or direction anyone can give would

[gwt-contrib] Re: IE Nonsecure popup in connection with cache/nocache iframe

2008-11-03 Thread Scott Blum
a non secure popup on some of our GWT pages. The only iframe on the page is the one created by the gwt script tag. The page is a single html panel, the rest of our pages are more complicated. This is the only page that consistently returns the Popup. Has anyone else run

Re: Possible to get an element's propertys from a container iframe?

2008-11-01 Thread Ian Bambury
Sorry, my mistake. firefox uses textContent Can you get away with innerHTML which is available in both? Ian http://examples.roughian.com 2008/11/1 darkflame [EMAIL PROTECTED] innerText --~--~-~--~~~---~--~~ You received this message because you are

Re: Possible to get an element's propertys from a container iframe?

2008-11-01 Thread Thomas Wrobel
Bingo! that worked fine! Sometimes I feel like I'll never get the hang of these browser differences... 2008/11/1 Ian Bambury [EMAIL PROTECTED]: Sorry, my mistake. firefox uses textContent Can you get away with innerHTML which is available in both? Ian http://examples.roughian.com

Re: Possible to get an element's propertys from a container iframe?

2008-11-01 Thread Ian Bambury
Ha! Easy to tell that you weren't around in the days of Netscape 2. Today it's like UK/US English, back then it was more like Polish/Klingon/WhaleSong :-) Ian http://examples.roughian.com 2008/11/1 Thomas Wrobel [EMAIL PROTECTED] Bingo! that worked fine! Sometimes I feel like I'll never

Re: Possible to get an element's propertys from a container iframe?

2008-10-29 Thread darkflame
.$doc.getElementsByTagName(link); $wnd.alert(a.getAttribute(title)); }-*/; Neither worked. Is there any way at all to access stuff outside an iframe if the gwt code is running in one? On Oct 23, 3:47 pm, darkflame [EMAIL PROTECTED] wrote: If my GWT app

Re: Possible to get an element's propertys from a container iframe?

2008-10-29 Thread John
On 10/23/08, darkflame [EMAIL PROTECTED] wrote: If my GWT app is in a container iframe, is it possible to get propertys of elements from outside that frame? I tried a simple; DOM.getElementById(testid).getInnerText()) But the app couldnt find it. Is there any way for the GWT app

Re: Possible to get an element's propertys from a container iframe?

2008-10-29 Thread Ian Bambury
John, Your code will get elements in the GWT page, darkflame is trying to get elements in the parent page- i.e. the parent page has an iframe in it containing the GWT page, and darkflame wants stuff from the parent page... ...if I understand correctly. Ian http://examples.roughian.com 2008/10

Re: Possible to get an element's propertys from a container iframe?

2008-10-29 Thread darkflame
dosnt seem to work. My testing HTML is just; Body h1 test test test /h1 iframe src=(link to gwt page here) width=100% height=500px/ iframe /Body And my code is; public static native void testWindow() /*-{ $wnd.alert(test); $wnd.alert(text

Re: Possible to get an element's propertys from a container iframe?

2008-10-29 Thread darkflame
yes, thats exactly what I want to do. On Oct 29, 5:07 pm, Ian Bambury [EMAIL PROTECTED] wrote: John, Your code will get elements in the GWT page, darkflame is trying to get elements in the parent page- i.e. the parent page has an iframe in it containing the GWT page, and darkflame wants

Re: Possible to get an element's propertys from a container iframe?

2008-10-29 Thread John
On 10/29/08, Ian Bambury [EMAIL PROTECTED] wrote: John, Your code will get elements in the GWT page, darkflame is trying to get elements in the parent page- i.e. the parent page has an iframe in it containing the GWT page, and darkflame wants stuff from the parent page... ...if I

Re: Possible to get an element's propertys from a container iframe?

2008-10-29 Thread Ian Bambury
. My testing HTML is just; Body h1 test test test /h1 iframe src=(link to gwt page here) width=100% height=500px/ iframe /Body And my code is; public static native void testWindow() /*-{ $wnd.alert(test); $wnd.alert(text

Re: Possible to get an element's propertys from a container iframe?

2008-10-29 Thread darkflame
I stand corrected! It did work fine. I was testing it in Opera, using its ability to edit webpages live and see the changes in realtime. It seems however, that despite the changes being visible on screen, javascript still referances the original page outside of an iframe, thus it wasnt working

Possible to get an element's propertys from a container iframe?

2008-10-23 Thread darkflame
If my GWT app is in a container iframe, is it possible to get propertys of elements from outside that frame? I tried a simple; DOM.getElementById(testid).getInnerText()) But the app couldnt find it. Is there any way for the GWT app to look outside its container? Or to even tell if it has one

How GWT generating iframe tags?

2008-10-17 Thread Mukunth
I don't have any 'iframe' tag added in my code base. But if you see the GWT compiled files (*.html and *.js files), it's having some iframe tags added to it. How does it get generated? Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you

Re: Possibly for GWT, when in an iFrame, to retrieve a flag from the parent?

2008-10-16 Thread Thomas Wrobel
on the offchance the code is in an iFrame. I think I know enough to do this myself, but I'd rather avoid it as it will slow the app down for people not using it in facebook unnesscerly. Thats why I hoped there was a way for GWT to just check, say, a style from the parent page. Or maybe even pick up

Re: Accessing Location of an iframe from another iframe and Cross Domain Security

2008-09-03 Thread MN
one possible workaround: send from your page samplexxx a heartbeat to the top page (remember the time of the last heartbeat). then you can check this value. if this value is too long not updated, then the iframe have a different content. On 1 Sep., 22:29, Jayant [EMAIL PROTECTED] wrote: Hello

Re: Accessing Location of an iframe from another iframe and Cross Domain Security

2008-09-02 Thread Tom Hjellming
You could implement a backend proxy that fetches the html page, parses the content to patch all link references to go back through the proxy prior to sending the modified page to the browser. Since the browser thinks the iFrame pages are loaded form the backend proxy (same domain as the rest

<    1   2   3   4