Thanks, I saw that.
My scenario is to display lots of labels and fields horizontally (L=label, F=field):
L1 F1 L2 F2 L3 F3 ... L9 F9
As I understand, this can be achieved by a HorizontalPanel and 9 containers each with FormLayout. My problem is that this simple layout requires many containers, lots of code, just because to display field labels.
Instead, I would create 1 HTMLPanel, call addAndReplace() 18-times, and that's it. Besides, designing would be much easier with a WYSIWYG HTML editor.
I don't say that my approach would be better in all cases, but sometimes it would be very handy. And it is relatively easy to do, only a FieldLabel component is needed (I have to investigate the details, like how the label is involved in the validation process, eg.