Monday, June 6, 2016

Re: Can meta tag with gwt:property replace url query parameter?

You would need to replace the property provider of MGWT because it only looks at query parameter and user agent:

https://github.com/mgwt/mgwt/blob/master/src/main/java/com/googlecode/mgwt/dom/DOM.gwt.xml#L25

To read a meta property you would use 

var formfactorFromMeta = __gwt_getMetaProperty("mgwt.formfactor")

in your custom property provider.

-- J.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment