Re: Possible client side validation bug in Struts 2.3.15

2013-07-11 Thread Lukasz Lenart
Solved, please check with the latest build ... hm ... ale the build are gone :\ https://builds.apache.org/view/S-Z/view/Struts/ Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/7/11 Bruno Klava : > Issue created: https://issues.apache.org/jira/browse/WW-4139 > > > On Wed, Jul

Re: Possible client side validation bug in Struts 2.3.15

2013-07-11 Thread Bruno Klava
Issue created: https://issues.apache.org/jira/browse/WW-4139 On Wed, Jul 10, 2013 at 6:18 AM, Lukasz Lenart wrote: > 2013/7/10 Lukasz Lenart : > > 2013/7/5 Bruno Klava : > >> As far as I can tell, this difference is due to changes made > >> in org.apache.struts2.components.Form.getValidators(Str

Re: Using Two Parent Pakages!!

2013-07-11 Thread Lukasz Lenart
2013/7/11 Alireza Fattahi : > If the struts finds the result-type "json",in struts2-json-plugin.jar , why > doesn't it make this result-type available to all actions ? Why should I > address struts where this result type is defined ? Results are defined per package, actions are defined per packa

Re: Using Two Parent Pakages!!

2013-07-11 Thread Alireza Fattahi
Hi, The json plug in has a package json-default and the "json" result type is defined in this package. To use this result type you should do some thing like: 1- Make a new package and extend it  2- Copy and past the  in my package 3- Make this package the parent package.   My question i

Re: Global Validation

2013-07-11 Thread Lukasz Lenart
Nope, but you can use expressions: http://struts.apache.org/development/2.x/docs/validation.html#Validation-LocalizingandParameterizingMessages Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/7/11 Alireza Fattahi : > Hi, > > Well I mean is there a way which I can tell the val

Re: Define the a property

2013-07-11 Thread Lukasz Lenart
2013/7/11 Alireza Fattahi : > Any way, I expect that when this happens a warning message displayed to the > developers not a full stack trace. > You know, usually when you see this stack, it shows that something terribly > bad happened !! Stacktraces are useful only for developers, could post th

Re: Define the a property

2013-07-11 Thread Alireza Fattahi
Hi, Sorry for sending the email directly, it was a mistake ! Any way, I expect that when this happens a warning message displayed to the developers not a full stack trace. You know, usually when you see this stack, it shows that something terribly bad happened !! Do you know which intercepto

Re: Global Validation

2013-07-11 Thread Alireza Fattahi
Hi, Well I mean is there a way which I can tell the validation frame work that all "required string"  validations should display this message The ${TheFiledWhichFailed} must be a string And then I define:     Username     Address So when the validation fails it generates: The usern