Re: The checkbox is checked by default!!

2020-10-06 Thread marwa hussein
thanks, Cezary It works now. My mistake is that "acronyms" property was a String and that why it has the value true and the checkbox was checked. I change it to boolean and it works :). Regards Marwa On Tue, Oct 6, 2020 at 10:05 PM Cezary Biernacki wrote: > Hi, > > Tapestry's t:checkbox parame

Re: The checkbox is checked by default!!

2020-10-06 Thread Cezary Biernacki
Hi, Tapestry's t:checkbox parameter uses the "value" parameter to determine if the checkbox should be rendered as checked or not. the "value" parameter supposed to be a boolean, but if you provide anything else, Tapestry will attempt to coerce the provided argument to boolean. There are multiple

Re: The checkbox is checked by default!!

2020-10-06 Thread marwa hussein
On Tue, Oct 6, 2020 at 5:17 PM Nathan Quirynen wrote: > Is it possible that your "acronyms" property has a value of true when > rendering ? > > No it is not. Also I am wondering what could make the "checked" attribute default to be true!! Also I cant find in tapestry API how to change the attribu

Re: The checkbox is checked by default!!

2020-10-06 Thread Nathan Quirynen
Is it possible that your "acronyms" property has a value of true when rendering ? Op 6/10/2020 om 14:42 schreef marwa hussein: Hi all, I am trying to populate a grid with some values and add a column with a checkbox to select a value.. The problem when the grid is pop

The checkbox is checked by default!!

2020-10-06 Thread marwa hussein
Hi all, I am trying to populate a grid with some values and add a column with a checkbox to select a value.. The problem when the grid is populated I found the Checkbox checked by default, although I didn't use the "check" attribute (which suppose to be "false" by default)!