What do you mean by parsing? Is this done by the UiBinder parsing the ui.xml templates to generate impl code?
On Sat, Jun 26, 2010 at 8:32 AM, Thomas Broyer <t.bro...@gmail.com> wrote: > > > On 25 juin, 17:22, Andrew Hughes <ahhug...@gmail.com> 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 > tohttp://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html#He... > > which > > works with a <span> bit this just won't work. > > > > Help would be great thank you! > > UiBinder works by setting innerHTML on an element, and table parsing > in HTML is very special, which prevents uses of <tr> and <td> outside > a <table> (not to mention that IE throws when you set innerHTML on > some table elements) > > -- > 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-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> > . > 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 google-web-tool...@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.