makeTableData: html
html table: [ html tableRow: [ html tableHeading: 'You must accept our Terms and Conditions.' html tableData: html checkbox] ]
--------- Original Message --------- From: "Mariano Martinez Peck" marianopeck@gmail.com To: "David Pennington" david@totallyobjects.com, "Seaside - general discussion" seaside@lists.squeakfoundation.org Subject: Re: [Seaside] Checkbox in a table Date: 01/11/2017 19:19:07 (Wed)
Hi David, Probably it will help if you provide the code you are using to render the table and the checkbox. Cheers, On Wed, Jan 11, 2017 at 4:07 PM, David Pennington david@totallyobjects.com wrote: Stupid question but I can't seem to get it right. I am trying to put a checkbox in a table but all that comes out is "a WACheckboxTag". I have successfully put list dropdowns into these but not checkboxes. Can anyone give me a clue please? David
Message sent using Winmail Mail Server
_______________________________________________
seaside mailing list
seaside@lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Hi,
you just called #tableData: with an object. By that, it will render it textual representation. You have to put it into a block as you did for #table: and #tableRow: in order to get the checkbox only.
BR, David
Am 11.01.2017 um 20:53 schrieb David Pennington:
makeTableData: html
html table: [ html tableRow: [ html tableHeading: 'You must accept our Terms and Conditions.' html tableData: html checkbox] ]
--------- Original Message --------- *From:* "Mariano Martinez Peck" marianopeck@gmail.com *To:* "David Pennington" david@totallyobjects.com, "Seaside - general discussion" seaside@lists.squeakfoundation.org *Subject:* Re: [Seaside] Checkbox in a table *Date:* 01/11/2017 19:19:07 (Wed)
Hi David,
Probably it will help if you provide the code you are using to render the table and the checkbox.
Cheers,
On Wed, Jan 11, 2017 at 4:07 PM, David Pennington <david@totallyobjects.com mailto:david@totallyobjects.com> wrote:
Stupid question but I can't seem to get it right. I am trying to put a checkbox in a table but all that comes out is "a WACheckboxTag". I have successfully put list dropdowns into these but not checkboxes. Can anyone give me a clue please? David
seaside@lists.squeakfoundation.org