all validators need to work is IValidatable, so simply new your validator and give it your own impl of ivalidatable.
-igor On Tue, Jun 7, 2011 at 6:52 AM, eugenebalt <eugeneb...@yahoo.com> wrote: > We have two applications, one is a Wicket app with Validator classes, and > another is an Apache POI-HSSF Excel-parsing app that parses Excel > spreadsheets. > > We need to apply the same Validators to both the Wicket app (text field > components) and the Excel parser (the cells in the spreadsheet). We already > have the validators attached to the Wicket form, but is there a way to > re-use them for any abstract strings, such as Excel cells? > > Thanks > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Using-Validators-Outside-of-Wicket-Components-Pages-tp3579655p3579655.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org