There doesn't seem to be a way to add a simple instructional Label or HTML to the FormPanel?? What is the best way to add some text that explains what this form is about?
If you just need one instructional label you can always use the title text.... FormPanel.setTitle() ?
Until now FormPanel can only host widgets that are subclasses of Field, which supports validation among other things. Although static elements like labels have no relevance in validation and posting of formdata I don't see why it shouldn't be possible to decorate our forms with such widgets.
setTitle seems to only set the tooltip text - perhaps you mean setHeading which is new for GXT 1.0 and sets what I would have called the container's title... I guess Darrell decided setHeading was more correct? don't know why he left setTitle in - change the name to setTooltip !!
Either way, not really what I need... perhaps I should extend Field - but before I do, is this something that Beta3 (or more) may eventually have?
setTitle seems to only set the tooltip text - perhaps you mean setHeading which is new for GXT 1.0 and sets what I would have called the container's title... I guess Darrell decided setHeading was more correct? don't know why he left setTitle in - change the name to setTooltip !!
setTitle is a method from the GWT UIObject (sets the title attribute on the element), so I don't think we would want to override that one . A while back, setHeading used to be setText, which many complained about, so it was changed to setHeader.