Text elements are blank in DOM their name is hidden. You need to add a name element and then within it add a text element. This is done to enable syntax such as:
<name>to<br/>do</name> -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/848db9f8-8a9d-4acf-9a68-96b71461b33c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
