I have two modules
Manager.gwt.xml
<inherits name="dp.verp.planer.Planer"/>
<entry-point class="dp.verp.manager.client.Main"/>
<add-linker name="xsiframe"/>
which inherits Planer.gwt.xml but when I call the Manager module I get
* Refused to display document because display forbidden by
X-Frame-Options.*
which is displayed in the Web Inspector console. Everything works fine when
I omit the *getI18nFacet()* call.
@Override
public void onModuleLoad() {
final Widget app = binder.createAndBindUi(this);
cookieInit();
* //getI18nFacet();*
RootPanel.get().add(app);
}
public void getI18nFacet() {
final I18nFacetReqCtx ctx = PlanerUtils.RF.textpoolReqCtx();
final Request<List<I18nFacetProxy>> req = ctx.getI18nFacet(
Integer.valueOf(Cookies.getCookie("nativeLanguage"))
);
req.fire(new Receiver<List<I18nFacetProxy>>() {
@Override
public void onSuccess(List<I18nFacetProxy> response) {
for (final I18nFacetProxy i18nFacet : response) {
Planer.property.i18nFacet.put(i18nFacet.getMacroName(),
i18nFacet.getTranslation());
}
}
});
}
--
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/-/ZNVWLkX--K4J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.