Thanks for getting back to me. It's funny you say widgets have fallen out of favour... I have heard that improvements in modern browsers may be making them redundant as they can manipulate the DOM much faster than older ones (which removes the benefit of setting innerHTML as one giant string), but I also heard they might be the only thing that remains if GWT does drop widgets entirely. I guess we have to wait for 2.8 and a roadmap update.
I did also find this post <https://groups.google.com/forum/#!searchin/google-web-toolkit/cell$20uirenderer/google-web-toolkit/pG13y1zHppo/Zd9g8cu5e0MJ> which mentions that you can use multiple ui.xml files with any UiBinder so I may give that a shot. On Monday, 12 October 2015 17:19:06 UTC+1, Shaun Tarves wrote: > > I never got a response and just gave up. I realized that I don't actually > understand cells all that well, and they seem to have fallen out of favor > anyway. > > > On Mon, Oct 12, 2015 at 6:05 AM Drew Spencer <slugm...@gmail.com > <javascript:>> wrote: > >> Argh, I hate finding a (1 year old) post that asks exactly my question >> but has no answers! >> >> Did you find a nice solution to this in the end? I'd be interested to >> hear what you came up with or any advice anyone might have. >> >> On Thursday, 16 October 2014 13:50:12 UTC+1, Shaun Tarves wrote: >>> >>> I have a fairly complex question about using cells with UiRenderer. I'm >>> finding that for the same object type, I have several variations of the >>> cell that I render based on the view and context it's rendered in. For >>> example, sometimes the cell has a button to remove/delete, other times it >>> doesn't. Sometimes, I want to wrap text in anchor tags, other times I want >>> them to just be spans. 95% of the cell rendering template is the same in >>> these cases. >>> >>> This creates (mostly) duplicative renderer code and xml, so I am looking >>> for a better solution. My thought was to have a master renderer with some >>> elements that would contain the rendered SafeHtml of smaller partial >>> renderers. >>> >>> I have seen that I can use a SafeHtml template to render a portion of >>> the html for the cell renderer, but I would lose the ability to have >>> UiHandlers on those elements created as just SafeHtml from the Template >>> (which is really handy). >>> >>> Is there a way to make this work? Can I delegate browser events to "sub" >>> renderers? Is this better approach here? >>> >>> I suppose what I'm asking for might be UiRenderer-based composite cells, >>> but I've seen no examples of how to do this. >>> >>> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "GWT Users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/google-web-toolkit/n3c9rD-m0Ak/unsubscribe >> . >> To unsubscribe from this group and all its topics, send an email to >> google-web-toolkit+unsubscr...@googlegroups.com <javascript:>. >> To post to this group, send email to google-we...@googlegroups.com >> <javascript:>. >> Visit this group at http://groups.google.com/group/google-web-toolkit. >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.