Thursday, July 4, 2013

Re: Allowed Element property value's?

> Try rename it to data-key. As of HTML5 the "data-" prefix should be used for custom attributes.
Hmmm.. I was sure this would work, but doesn't :(

I see this: 
<span id="_TxMrk_19" data-key="amt"></span>
But get this:
 element.getPropertyString("data-key")  -> null

Can somebody try this?

Note: It concerns a HTMLPanel that is created with a html string containing this span element. I then browse the elements to retrieve the key. I tried it both when the element is attached and not attached.
- Ed 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment