Martin,
Thank you it was even easier than I though.
/// starts parsley for this form (or the root form)
final Form<?> form = (Form<?>) component;
varResponse.render(OnDomReadyHeaderItem.forScript(String.format("$('#%s').parsley();",
form.getRootForm()
.getMarkupId())));/
Regards,
Gabriel
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Server-and-client-side-validation-tp4658242p4658795.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]