Nonfunctional datalist example

Hilaire <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.seaside
Message-ID <[email protected]>
Hello,

The datalist example in the class WAHtml5InputText is incomplete:

The code at the end of its method renderContentOn: could be corrected as
follow:


            html tableRow: [

                html tableHeading: [ html label: 'datalist' ].

                html tableData: [

                    html textInput listId: 'datalist'.

                    html datalist id: 'datalist'; with: [

                        html option: 'HTML2'.

                        html option: 'HTML3'.

                        html option: 'HTML4'.

                        html option: 'HTML5'.

                        html option disabled: true; with: 'XHTML' ] ] ] ].

-- 
Dr. Geo
http://drgeo.eu
http://google.com/+DrgeoEu
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.