Re: HTML without a DIV

2012-10-15 Thread Manuel Carrasco MoƱino
You can enhance any widget or any gwt html portion of your widget using gwtquery: Widget mywidget = new Button("click-me"); GQuery.$(mywidget).append("hi"); RootPanel.get().add(mywidget); Note that gquery is a pure gwt library, it is lightweight and has not external dependencies. - M

Re: HTML without a DIV

2012-10-15 Thread Abraham Lin
One possibility is to replace the FlowPanel with an HTML widget, generate a SafeHtml instance containing your raw HTML, and then call the #setHTML method. You could also build the markup using the DOM API, though that will almost certainly be slower and more verbose. GWT adds wrapper DIV/SPAN e

Re: HTML without a DIV

2012-10-15 Thread JeanV
and I cannot use UIBinding as this is a list of multiple items generated dynamically by a for loop. Need to also create without putting it in a On Monday, October 15, 2012 5:19:07 PM UTC+2, JeanV wrote: > > I need to attach pure HTML to a FlowPanel and do not want to the HTML item > to be sur

HTML without a DIV

2012-10-15 Thread JeanV
I need to attach pure HTML to a FlowPanel and do not want to the HTML item to be surrounded by or - I'm basically using a third-party library that will dynamically look for items (, , and others) within my panel and will break if it encounters a or . I've looked around and cannot find a so