Hi Chris

Unfortunately...

<g:HTML> says "A widget that can contain arbitrary HTML. This widget uses a
<div> element, causing it to be displayed with block layout." and <g:HTMLPanel>
does the same.

Both of these would end up producing...

<div><tr><td></td></tr></div>

The <div> element WILL break the table.

Thanks for the suggestion tho.


On Sat, Jun 26, 2010 at 4:32 AM, Chris Boertien <[email protected]>wrote:

> wrap it with <g:HTML> or <g:HTMLPanel>
>
> On Fri, Jun 25, 2010 at 9:22 AM, Andrew Hughes <[email protected]> wrote:
> > I want a template that produces a <tr>. The following doesn't work, but
> it's
> > what I was hoping for...
> > <!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent";>
> > <ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
> > xmlns:g="urn:import:com.google.gwt.user.client.ui">
> > <tr>
> > <td><g:Label ui:field="label"/></td>
> > <td><g:TextBox ui:field="input"/></td>
> > <td><g:TextBox ui:field="output"/></td>
> > </tr>
> > </ui:UiBinder>
> >
> > Has anyone worked with <tr>'s in this way before? Seems very similar
> > to
> http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html#Hello_World
>  which
> > works with a <span> bit this just won't work.
> >
> > Help would be great thank you!
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to [email protected]
> .
> > To unsubscribe from this group, send email to
> > [email protected]<google-web-toolkit%[email protected]>
> .
> > For more options, visit this group at
> > http://groups.google.com/group/google-web-toolkit?hl=en.
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to