validation checkboxlist

2018-01-03 Thread José Antonio Delgado Trujillo
I have a form with a checkboxlist linked to a bean with an array of string properties. I want the user must select at least one option. Looking for the documentation, i think this is possible with field expression, but it requires ONGL expression. I did it so: FORM … … BEAN public cl

Re: exclude params submit

2018-01-03 Thread Lukasz Lenart
2018-01-03 9:47 GMT+01:00 José Antonio Delgado Trujillo : > But it must fix with exclude param > https://struts.apache.org/getting-started/exclude-parameters.html > No, you don't have to, as Yasser said, this happens only in devM

Re: exclude params submit

2018-01-03 Thread José Antonio Delgado Trujillo
But it must fix with exclude param https://struts.apache.org/getting-started/exclude-parameters.html > On 3 Jan 2018, at 05:48, Yasser Zamani wrote: > > > > On 1/2/2018 10:38 PM, José Antonio Delgado Trujillo wrote: >> So

Re: Populate nested properties

2018-01-03 Thread José Antonio Delgado Trujillo
Yes it is but i had a problem with instantiate the both beans. Now it works and i understand with the message Instancia the bean. Struts2/ONGL instantiate the beans but you must write the default constructor. Thanks > On 3 Jan 2018, at 05:52, Yasser Zamani wrote: > > > > On 1/3/2018 1:30 AM

Re: Instancia the bean

2018-01-03 Thread José Antonio Delgado Trujillo
OK thanks Lukasz, i hadn’t put the default constructor in the model class. Now it works! - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org