WFContainer mainArea = (WFContainer) getChildren().get(0); if (mainArea != null) { mainArea.add(child);
WFContainer mainArea = null; if(getChildren().size()==0) { mainArea = new WFContainer(); getChildren().add(mainArea);
	public void add(UIComponent child) {		WFContainer mainArea = (WFContainer) getChildren().get(0);		if (mainArea != null) {			mainArea.add(child);		}	}