Re: Add a radio button in RichTextArea

2012-10-04 Thread jimakos17
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

Re: Add a radio button in RichTextArea

2012-10-04 Thread jimakos17
rtaf.insertHTML(div contenteditable = \false\ forminput type=\radio\ name=\group1\ value=\1\/form/div); in that way it works in Chrome and IE but there is still a problem with Firefox. Thank you in advance!!! On Thursday, October 4, 2012 10:54:57 AM UTC+1, jimakos17 wrote: final

Re: Add a radio button in RichTextArea

2012-10-03 Thread jimakos17
Well, I did this if(event.getCharCode()=='*') { rta.setHTML(input type=radio name=name value=1); } it creates a radiobutton which is clickable in Chrome, but it isn't in Firefox and IE. rta is my

Re: Add a radio button in RichTextArea

2012-10-03 Thread Andrei
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.

Add a radio button in RichTextArea

2012-10-02 Thread jimakos17
There is a RichTextArea private final RichTextArea rta = new RichTextArea(); and I'd like when I press an asterisk to add a radio button in this RichTextArea. I wrote if(event.getCharCode()=='*') { RadioButton radio0 = new RadioButton(group0, ); HorizontalPanel

Add a radio button in RichTextArea

2012-10-02 Thread Andrei
You can't insert widgets inside the RTA. You should use an RTA formatter to insert HTML that renders a radio button. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit