Re: TextProvider, Validation and ModelDriven

2013-09-16 Thread Lukasz Lenart
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

Re: TextProvider, Validation and ModelDriven

2013-09-16 Thread 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-textprovider > >

Re: TextProvider, Validation and ModelDriven

2013-09-14 Thread Lukasz Lenart
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

TextProvider, Validation and ModelDriven

2013-09-13 Thread Christoph Nenning
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