Forcing uppercase in a FilterBuilder

We are using a FilterBuilder in our project, and we would like to be able to specify that some of the input fields be uppercase only.

I’ve looked at the FilterBuilder API, and I don’t see a way to get at the underlying FormItems so that I can set a FormItemInputTransformer on them, or likewise a way to get at the underlying TextItems to call setCharacterCasing().

I’ve also looked at the DataSourceTextField’s that are part of the DataSource we are using with the FilterBuilder, and I don’t see anything there either.

Any suggestions on how to do this?

I’m using SmartGWT Pro 2.3.

Thanks,
Chris

DataSourceField.setEditorType() with a customized FormItem.

Thanks for the quick reploy Isomorphic, that works perfectly. Here is what I did:

field = new DataSourceTextField( "AIRPORT", "Airport ID", 60 );
TextItem ti = new TextItem();
ti.setCharacterCasing( CharacterCasing.UPPER );
field.setEditorType( ti );