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: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to