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
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
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
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
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
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
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
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
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
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
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
);
}
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
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
=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
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
, 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
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
();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
; 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
. 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
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
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
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
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
.$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
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
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
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
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
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
.
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
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
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
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
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
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
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
301 - 337 of 337 matches
Mail list logo