Re: validation checkboxlist

2018-01-08 Thread Lukasz Lenart
2018-01-08 20:04 GMT+01:00 José Antonio Delgado Trujillo : > [!CDATA[personBean.levels.length > 0]]>> > > Unfortunately it still doesn’t work and i don’t any idea why the form display > always the error message. Can you share rendered html? What's a name of the radio buttons? Regards -- Łukasz

Re: BeanValidation-Plugin

2018-01-08 Thread Johannes Geppert
Hi, If you already found a solution for this issue it would be create if you maybe can create a Issue and a PR so we can integrate it in the Struts code base. http://struts.apache.org/submitting-patches.html Best Regards Johannes # web: http://www

BeanValidation-Plugin

2018-01-08 Thread Hedju Hor
Hi, i'm using a action with ModelDriven and multiple action methods. For Validation the Model i'm using the 'Bean Validation Plugin' but the current Version does not support 'Grouping Constraints' described in https://docs.jboss.org/hibernate/validator/5.1/reference/en-US/html/chapter-groups.htm

Re: validation checkboxlist

2018-01-08 Thread José Antonio Delgado Trujillo
Thanks a lot Lukasz, I had the same like the example except the expression of the validation. I misunderstood the param-name=“expression” - It was the expression to evaluate!!! (i was thinking about the expression to fail the validation) >> [!CDATA[#personBean.levels.length==0]]>> [!CDATA[per

Re: Annotation validation setter level

2018-01-08 Thread José Antonio Delgado Trujillo
Thanks a lot for the link and the explanation. Un saludo, José A. > On 6 Jan 2018, at 10:37, Hedju Hor wrote: > > Hi, use @VisitorFieldValidator > 1. in Action-Class annotad gettter Method of the model with > @VisitorFieldValidator > 2. @EmailValidator on getter in Model Person.getEmail > > s

Re: About error-code 404 is called for each struts action class

2018-01-08 Thread Emi
On 1/6/2018 12:04 AM, Emi wrote: 404.jsp is called by web.xml when going from one page to another. Maybe other requests like a missing favicon, css or javascript causes this. Yes. In one one css file, the following cods caused 404 error. body { font: 0.7em/1.5em "Trebuchet MS",Verdana,