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
-~----------~----~----~----~------~----~------~--~---

Reply via email to