<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using window.name transport for cross-site POST scripting</title>
	<atom:link href="http://development.lombardi.com/?feed=rss2&#038;p=611" rel="self" type="application/rss+xml" />
	<link>http://development.lombardi.com/?p=611</link>
	<description>Blog by the developers at Lombardi Software. The postings on this site don’t necessarily represent IBM’s positions, strategies or opinions.</description>
	<lastBuildDate>Tue, 24 Aug 2010 22:53:12 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: George Georgovassilis</title>
		<link>http://development.lombardi.com/?p=611&#038;cpage=1#comment-3033</link>
		<dc:creator>George Georgovassilis</dc:creator>
		<pubDate>Mon, 07 Jun 2010 10:12:03 +0000</pubDate>
		<guid isPermaLink="false">http://development.lombardi.com/?p=611#comment-3033</guid>
		<description>Nice post Alex!

I noticed that history management in IE and Safari is affected by this technique. IE will cooperate if you use contentWindow.location.replace instead of directly assigning the old domain URL to it. Safari will insist on creating a new history entry for each form submission</description>
		<content:encoded><![CDATA[<p>Nice post Alex!</p>
<p>I noticed that history management in IE and Safari is affected by this technique. IE will cooperate if you use contentWindow.location.replace instead of directly assigning the old domain URL to it. Safari will insist on creating a new history entry for each form submission</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean Kinsey</title>
		<link>http://development.lombardi.com/?p=611&#038;cpage=1#comment-1750</link>
		<dc:creator>Sean Kinsey</dc:creator>
		<pubDate>Wed, 24 Jun 2009 17:34:17 +0000</pubDate>
		<guid isPermaLink="false">http://development.lombardi.com/?p=611#comment-1750</guid>
		<description>There is now a new library available, easyXSS, at http://code.google.com/p/easyxss that in very few lines enables you to send data and call methods across the domain boundry.

Take a look!</description>
		<content:encoded><![CDATA[<p>There is now a new library available, easyXSS, at <a href="http://code.google.com/p/easyxss" rel="nofollow">http://code.google.com/p/easyxss</a> that in very few lines enables you to send data and call methods across the domain boundry.</p>
<p>Take a look!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Moffat</title>
		<link>http://development.lombardi.com/?p=611&#038;cpage=1#comment-1737</link>
		<dc:creator>Alex Moffat</dc:creator>
		<pubDate>Mon, 15 Jun 2009 14:58:06 +0000</pubDate>
		<guid isPermaLink="false">http://development.lombardi.com/?p=611#comment-1737</guid>
		<description>Unfortunately I don&#039;t know  the answer. Ray Cromwell could probably give you a more useful response. I see from the thread that it works in IE6 so my first thought, that it&#039;s targeting the iframe instead of the window, doesn&#039;t seem likely.</description>
		<content:encoded><![CDATA[<p>Unfortunately I don&#8217;t know  the answer. Ray Cromwell could probably give you a more useful response. I see from the thread that it works in IE6 so my first thought, that it&#8217;s targeting the iframe instead of the window, doesn&#8217;t seem likely.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://development.lombardi.com/?p=611&#038;cpage=1#comment-1734</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Mon, 15 Jun 2009 03:23:46 +0000</pubDate>
		<guid isPermaLink="false">http://development.lombardi.com/?p=611#comment-1734</guid>
		<description>Do you know if this works with GWT 1.6?  I can get the POST to make the post call to a secondary domain.

I can not seem to get the POST results back into any usable state.  I see the response back in FF using firebug; however, the window.name always returns the iframe name set by GWT, which is an incremented name like &quot;FormPanel_XX&quot;.

I&#039;m trying to get a simple sample working and any pointers would be much appreciated.  Here is a thread with a full description of what I am trying: http://groups.google.com/group/Google-Web-Toolkit/browse_frm/thread/139a99baf2382340#

Hopefully it is something simple that I have overlooked on my part.

Thanks,
Chris....</description>
		<content:encoded><![CDATA[<p>Do you know if this works with GWT 1.6?  I can get the POST to make the post call to a secondary domain.</p>
<p>I can not seem to get the POST results back into any usable state.  I see the response back in FF using firebug; however, the window.name always returns the iframe name set by GWT, which is an incremented name like &#8220;FormPanel_XX&#8221;.</p>
<p>I&#8217;m trying to get a simple sample working and any pointers would be much appreciated.  Here is a thread with a full description of what I am trying: <a href="http://groups.google.com/group/Google-Web-Toolkit/browse_frm/thread/139a99baf2382340#" rel="nofollow">http://groups.google.com/group/Google-Web-Toolkit/browse_frm/thread/139a99baf2382340#</a></p>
<p>Hopefully it is something simple that I have overlooked on my part.</p>
<p>Thanks,<br />
Chris&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Moffat</title>
		<link>http://development.lombardi.com/?p=611&#038;cpage=1#comment-1489</link>
		<dc:creator>Alex Moffat</dc:creator>
		<pubDate>Mon, 30 Mar 2009 02:42:25 +0000</pubDate>
		<guid isPermaLink="false">http://development.lombardi.com/?p=611#comment-1489</guid>
		<description>@Ray Thanks. That would be an interesting hack. I&#039;d need a motivating example before I tried to tackle it though :)

@Rajesh It might be possible. The thing is though, to get cross site posting to work you need the cooperation of the server, it&#039;s got to be returning a script that sets window.name. If you have enough control to get it to do that I would think it would be easier to just provide the same functionality via a GET method. Cross site file upload would require the POST technique I think but why not try to do everything else with GET which lets you use the much simpler script technique with JSONP. Server cooperation is still needed but the client side is perhaps more easily understood.</description>
		<content:encoded><![CDATA[<p>@Ray Thanks. That would be an interesting hack. I&#8217;d need a motivating example before I tried to tackle it though <img src='http://development.lombardi.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>@Rajesh It might be possible. The thing is though, to get cross site posting to work you need the cooperation of the server, it&#8217;s got to be returning a script that sets window.name. If you have enough control to get it to do that I would think it would be easier to just provide the same functionality via a GET method. Cross site file upload would require the POST technique I think but why not try to do everything else with GET which lets you use the much simpler script technique with JSONP. Server cooperation is still needed but the client side is perhaps more easily understood.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajesh</title>
		<link>http://development.lombardi.com/?p=611&#038;cpage=1#comment-1488</link>
		<dc:creator>Rajesh</dc:creator>
		<pubDate>Sat, 28 Mar 2009 09:42:11 +0000</pubDate>
		<guid isPermaLink="false">http://development.lombardi.com/?p=611#comment-1488</guid>
		<description>Great solution. Do you think it is possible to have a method like 

crosspost(url,callback,jsonData)

Is there any easy way to convert JSON object into form? Or some other way to make it work with above solution?

I want to export an API for end users who don&#039;t have to deal with all the complexity involved in above solution.</description>
		<content:encoded><![CDATA[<p>Great solution. Do you think it is possible to have a method like </p>
<p>crosspost(url,callback,jsonData)</p>
<p>Is there any easy way to convert JSON object into form? Or some other way to make it work with above solution?</p>
<p>I want to export an API for end users who don&#8217;t have to deal with all the complexity involved in above solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ray Cromwell</title>
		<link>http://development.lombardi.com/?p=611&#038;cpage=1#comment-1487</link>
		<dc:creator>Ray Cromwell</dc:creator>
		<pubDate>Thu, 26 Mar 2009 19:26:02 +0000</pubDate>
		<guid isPermaLink="false">http://development.lombardi.com/?p=611#comment-1487</guid>
		<description>Hey Alex, great write-up, and a better explanation than mine!   A cool hack to do would be to modify the ServiceInterfaceGeneratorProxy/ProxyGenerator and RemoteServiceProxy class to use this technique instead of XHR, and create a subclass of RemoteServiceServlet to deal with incoming RPC that wants the output as a window.name assignment.</description>
		<content:encoded><![CDATA[<p>Hey Alex, great write-up, and a better explanation than mine!   A cool hack to do would be to modify the ServiceInterfaceGeneratorProxy/ProxyGenerator and RemoteServiceProxy class to use this technique instead of XHR, and create a subclass of RemoteServiceServlet to deal with incoming RPC that wants the output as a window.name assignment.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
