I have problems with a dynamically created form using this code:
Code:
private HtmlPanelGrid grid; public HtmlPanelGrid getDynamicPanelGrid() { if (grid == null) { Application app = FacesContext.getCurrentInstance().getApplication(); grid = (HtmlPanelGrid) app.createComponent(HtmlPanelGrid.COMPONENT_TYPE); HtmlOutputText text = (HtmlOutputText) app.createComponent(HtmlOutputText.COMPONENT_TYPE);