Monday, December 31, 2012

Re: how to add meta tag in the header's page [with uibinder ?]

Here is an example for setting the description meta element

public static void setMetaDescription(String description){

NodeList<Element> nodes = Document.get().getElementsByTagName("meta");

for( int i = 0; i < nodes.getLength(); i++ ){

MetaElement meta = (MetaElement)nodes.getItem(i);

if( "description".equals(meta.getName()) ){






You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment