Hi all, ich have a component (textfield) with an FXValidationAjaxHandler. If i set this component in pageconstructor to visible(false) then the needed javascript code for validation is not contributed to pageheader. if set to visible(true) all is fine. does anyone had the same problem and if so, is there a workaround available?
greets chris snippet: ... pComponent.add(new FXValidationAjaxHandler(pFXJavascriptEvent)); this.pComponent.setOutputMarkupPlaceholderTag(true); this.pComponent.setOutputMarkupId(true) this.pComponent.setVisible(false); // no javascript is added //this.pComponent.setVisible(true); // javascript is added form.add(this.pComponent); ... --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
