I have tried to find a way to preserve the localization between modules
without having to double roundtrip each module.
I cant find any examples on how to do this.
I tried to insert a meta tag in the head element without success.
Neither JSNI or com.google.gwt.dom.client.Document worked.
It seems that everything outside the body element is off limits.
Shouldn't it be possible to add meta tags using the
com.google.gwt.dom.client.Document?
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
GWT 1.7
Please provide any additional information below.
<codesample>
Document document = Document.get();
MetaElement meta = document.createMetaElement();
meta.setName("gwt:property");
meta.setContent("locale=dk");
HeadElement head
=(HeadElement)document.getElementsByTagName("head").getItem(0);
head.appendChild(meta);
</codesample>
Original issue reported on code.google.com by ulrik.so...@gmail.com on 6 Aug 2009 at 5:39
Original issue reported on code.google.com by
ulrik.so...@gmail.com
on 6 Aug 2009 at 5:39