GWT by default loads your compiled code into an iframe, and different files in the file system have different "sources", so frames cannot communicate with each other (they fall into the same source policy). This is a safety measure.
xs (2.1) xsiframe, <script>. gwt.xml:
<add-linker name="xsiframe" />