On Thursday, August 23, 2012 11:08:59 PM UTC+2, regnoult axel wrote:
Hello,
This is an example :
<img itemprop="image" src="catcher-in-the-rye-book-cover.jpg" />
But I am using <g:image /> inside UI binder, so do you know if it will works ?
No.
Otherwise, do you know the solution ?
You could use getElement().setPropertyString("itemprop", "image") in your Java code.
That being said, do you know any real use of that data besides SEO? (which wouldn't look at your dynamic elements, unless you use #! and serve the data by "running" the GWT app on the server)