configureInputComponent(textInput);
        private HtmlActionLink addLanguageInput(HtmlContainer container, Integer index, String value, Language language, boolean allowRemove) {            // insert empty entry if not present            Map<Integer, LanguageBean> map = getLanguageMap(true);            if (! map.containsKey(index)) {                map.put(index, new LanguageBean(null, null));            }                        updateLastIndex(index);            // create component line            HtmlContainer inputContainer = new HtmlBlockContainer();            inputContainer.setClasses(getEachClasses());                        HtmlSimpleValueComponent textInput = getInputComponent();            textInput.setClasses(getInputClasses());                        textInput.setName(getLocalName("text/" + index));            textInput.setValue(value);            inputContainer.addChild(textInput);            PresentationContext context = getInputContext().createSubContext(getInputContext().getMetaObject());            context.setProperties(new Properties());                        Language usedLanguage = language == null ? LanguageUtils.getUserLanguage() : language;                        HtmlSimpleValueComponent languageComponent = (HtmlSimpleValueComponent) RenderKit.getInstance().render(context, usedLanguage, Language.class);            languageComponent.setController(new UpdateLanguageController(textInput, index));            languageComponent.setTargetSlot(null);            languageComponent.setName(getLocalName("language/" + index));            inputContainer.addChild(languageComponent);                                   HtmlActionLink removeLink = new HtmlActionLink(RenderUtils.getResourceString("renderers.language.remove"));            removeLink.setVisible(allowRemove);            removeLink.setName(getLocalName("remove/" + index));            removeLink.setController(new RemoveLanguageController(container, inputContainer, index));            inputContainer.addChild(removeLink);            container.getChildren().add(container.getChildren().size() - 2, inputContainer);                        return removeLink;        }