There is a bug in DelegatingValidatorContext#makeTextProvider method -
it should first try to use parent before creating new instance of
TextProvider (base on TextProviderFactory but without injecting
dependencies :\)
Regards
--
Ćukasz
+ 48 606 323 122 http://www.lenart.org.pl/
2013/9/16 Christ
> > when an application uses a custom TextProvider it seems not to be used
for
> > validation errors. And if an Action is ModelDriven it behaves
different
> > again.
> >
> > Here is a sample app for that:
> > https://github.com/wolpi/struts2-samples/tree/master/modeldriven-
> and-textprovider
> >
2013/9/13 Christoph Nenning :
> when an application uses a custom TextProvider it seems not to be used for
> validation errors. And if an Action is ModelDriven it behaves different
> again.
>
> Here is a sample app for that:
> https://github.com/wolpi/struts2-samples/tree/master/modeldriven-and-tex
Dear List,
when an application uses a custom TextProvider it seems not to be used for
validation errors. And if an Action is ModelDriven it behaves different
again.
Here is a sample app for that:
https://github.com/wolpi/struts2-samples/tree/master/modeldriven-and-textprovider
This sample ha
4 matches
Mail list logo