PDA

View Full Version : AdapterField help



nickydavid
17 Oct 2008, 3:02 PM
Hello all,

I am trying to put an AdapterField in my form which will hold a combination of TextArea and ComboBox. I can see the controls on my form but not the field label. Meaning..the 'setFieldLabel("SomeLabel")' is not displaying. What am I missing here?

Thanks,
Nicky

nickydavid
17 Oct 2008, 4:58 PM
I just realised that the label needs to be for the AdapterField itself and not the individual fields inside the adapter. So I could get it to work. But just for my information, if there has to be a field with labels for individual fields too, it is possible? If so, how can get it to work? For the prototype I was working on, the TextField.setFieldLabel or ComboBox.setFieldLabel would not show up.
Thanks.

gslender
17 Oct 2008, 10:54 PM
fields only show their label when they are in a container with a formlayout

cheers,
grant

nickydavid
19 Oct 2008, 11:34 PM
Got it. Thanks for the response.