// populate autocompletion options
replicationControllerId.setCompleter(new UICompleter<String>() {
@Override
public Iterable<String> getCompletionProposals(UIContext context, InputComponent<?, String> input, String value) {
List<String> list = new ArrayList<String>();
ReplicationControllerListSchema replicationControllers = getKubernetes().getReplicationControllers();
if (replicationControllers != null) {
List<ReplicationControllerSchema> items = replicationControllers.getItems();
if (items != null) {
for (ReplicationControllerSchema item : items) {
String id = item.getId();
list.add(id);
}