Writing your own validator plugin is not very difficult. See the section
on pluggable validators in the Struts documentation. Also if you look on
Matt Raible's site, there is an example.
It seems you could modify the existing "date" validator to first
tokenize your date pattern string on "|", a
Hi all,
how could i set multiple date pattern strings to add other
formats of dates ? It is possible ?!
Some formats look like as:
d.M.yy
dd.M.yy
d.MM.yy
dd.MM.yy
d.M.
dd.M.
d.MM.
dd.MM.
Thx in advance
Daniel
datePatternStrict
dd.MM.,dd.MM.yy
2 matches
Mail list logo