Thursday, October 4, 2012

Re: Add a radio button in RichTextArea

final RichTextArea.Formatter rtaf= rta.getFormatter();

rtaf.insertHTML("<input type=\"radio\" name=\"name\" value=\"1\">");

but the problem is still there. It is not clickable in the Firefox and IE.
In Chrome works fine.
Andrei thank you sooo much for your replies!!!


On Wednesday, October 3, 2012 3:51:25 PM UTC+1, Andrei wrote:
Use .insertHTML() method with your formatter.

You need to insert valid HTML. Your HTML does not have quotes around values. When you add quotation marks, you need to escape them, of course.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ogyvYISvmGgJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment