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 _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hilaire,
Thank you for spotting that. Fixed it in 3.2.0 (see commit below). cheers Johan Name: Seaside-Tests-Functional-JohanBrichau.167 Author: JohanBrichau Time: 6 December 2015, 10:21:27.104394 am UUID: f7295892-03d6-4d1d-b391-88cd9ae1c355 Ancestors: Seaside-Tests-Functional-pmm.166 > On 06 Dec 2015, at 10:09, Hilaire <[hidden email]> wrote: > > 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 > > > _______________________________________________ > 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 |
I have a doubt, according to the spec. it should be written[1] as:
html option value: 'HTML2'. ... [1] http://www.w3.org/TR/html5/forms.html#the-datalist-element Le 06/12/2015 10:22, Johan Brichau a écrit : > Hilaire, > > Thank you for spotting that. Fixed it in 3.2.0 (see commit below). > > cheers > Johan > > Name: Seaside-Tests-Functional-JohanBrichau.167 > Author: JohanBrichau > Time: 6 December 2015, 10:21:27.104394 am > UUID: f7295892-03d6-4d1d-b391-88cd9ae1c355 > Ancestors: Seaside-Tests-Functional-pmm.166 > >> On 06 Dec 2015, at 10:09, Hilaire <[hidden email]> wrote: >> >> 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 >> >> >> _______________________________________________ >> seaside mailing list >> [hidden email] >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside -- Dr. Geo http://drgeo.eu http://google.com/+DrgeoEu _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
You’re right.
I adapted the example to follow the spec. > On 06 Dec 2015, at 11:12, Hilaire <[hidden email]> wrote: > > I have a doubt, according to the spec. it should be written[1] as: > > html option value: 'HTML2'. > ... > > [1] http://www.w3.org/TR/html5/forms.html#the-datalist-element > > Le 06/12/2015 10:22, Johan Brichau a écrit : >> Hilaire, >> >> Thank you for spotting that. Fixed it in 3.2.0 (see commit below). >> >> cheers >> Johan >> >> Name: Seaside-Tests-Functional-JohanBrichau.167 >> Author: JohanBrichau >> Time: 6 December 2015, 10:21:27.104394 am >> UUID: f7295892-03d6-4d1d-b391-88cd9ae1c355 >> Ancestors: Seaside-Tests-Functional-pmm.166 >> >>> On 06 Dec 2015, at 10:09, Hilaire <[hidden email]> wrote: >>> >>> 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 >>> >>> >>> _______________________________________________ >>> seaside mailing list >>> [hidden email] >>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > -- > Dr. Geo > http://drgeo.eu > http://google.com/+DrgeoEu > > > _______________________________________________ > 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 |
Free forum by Nabble | Edit this page |