TextItem name = new TextItem("name", "Name");
TextBoxItem socketBinding = new TextBoxItem("socketBinding", "Socket Binding");
ComboBoxItem protocol = new ComboBoxItem("protocol", "Protocol");
ComboBoxItem scheme = new ComboBoxItem("scheme", "Scheme");
protocol.setDefaultToFirstOption(true);
protocol.setValueMap(new String[]{"HTTP/1.1", "AJP/1.3"});
scheme.setDefaultToFirstOption(true);
scheme.setValueMap(new String[]{"http", "https"});
CheckBoxItem state = new CheckBoxItem("enabled", "Enabled?");
form.setFields(name, socketBinding, protocol, scheme, state);
form.bind(connectorTable);