Input was just an example of what I want to have. It could be any html source..
On May 19, 4:16 pm, Magius <antonio.diaz....@gmail.com> wrote: > Have you try using a FormPanel with a TextBox inside? > It should be translated as a INPUT tag... > > On May 19, 2:00 pm, JK <samochad...@gmail.com> wrote: > > > Hello, > > > My question is related to GWT widget -> HTML rendering. > > If I create the simplest HTML widget with html source inside: > > add(new HTML("<input type=\"text\" />")); > > after adding on a page it will be processed into HTML as follows: > > <div class="gwt-HTML"> > > <input type="text"/> > > </div> > > which means that it adds wrap div for my HTML. > > > Is there any way how I can create a widget containing html source > > which will not be wrapped with extra div? > > So, after adding > > add(new NewOnlyHTMLWidget("<input type=\"text\" />"); > > I will receive only > > <input type="text"/> > > after rendering? > > > Thanks in adcance! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---