Checkbox in a table

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Checkbox in a table

Long Haired David
 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
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
David
Totally Objects
Doing Smalltalk since 1989
Reply | Threaded
Open this post in threaded view
|

Re: Checkbox in a table

Mariano Martinez Peck
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 <[hidden email]> 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
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside




--

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Checkbox in a table

Long Haired David
In reply to this post by Long Haired David
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" <[hidden email]>
To: "David Pennington" <[hidden email]>, "Seaside - general discussion" <[hidden email]>
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 <[hidden email]> 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
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside




--


Message sent using Winmail Mail Server

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
David
Totally Objects
Doing Smalltalk since 1989
Reply | Threaded
Open this post in threaded view
|

Re: Checkbox in a table

Sabine Manaa
In reply to this post by Long Haired David
Hi David,

you could load

and then have a look at
>>MDLComponentsDemoApplication

There is a Table with checkboxes...

Regards
Sabine

2017-01-11 20:07 GMT+01:00 David Pennington <[hidden email]>:
 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
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Checkbox in a table

David Tibbe-2
In reply to this post by Long Haired David
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" <[hidden email]>
> *To:* "David Pennington" <[hidden email]>, "Seaside - general
> discussion" <[hidden email]>
> *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
> <[hidden email] <mailto:[hidden email]>> 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 mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

signature.asc (851 bytes) Download Attachment