How to translate the 'selectInputOn:of:list:' in the Canvas API
renderData: html html tableRow: [html tableData: [html textInputWithValue: membre nom callback: [:v | membre nom: v]]. html tableData: [html selectInputOn: #role of: membre list: self listeDesRoles]. html tableData: [html text: membre charge]. html tableData: [html text: membre reste]. html tableData: [html text: membre fait]] Thank in advance Raymond _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
(html select)
list: self listeDesRoles; selected: membre role; callback: [:value | membre role: value] Cheers! -Boris -- +1.604.689.0322 DeepCove Labs Ltd. 4th floor 595 Howe Street Vancouver, Canada V6C 2T5 [hidden email] CONFIDENTIALITY NOTICE This email is intended only for the persons named in the message header. Unless otherwise indicated, it contains information that is private and confidential. If you have received it in error, please notify the sender and delete the entire message including any attachments. Thank you. -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of [hidden email] Sent: Tuesday, July 18, 2006 12:20 PM To: [hidden email] Subject: [SEASIDE] Canvas API question How to translate the 'selectInputOn:of:list:' in the Canvas API renderData: html html tableRow: [html tableData: [html textInputWithValue: membre nom callback: [:v | membre nom: v]]. html tableData: [html selectInputOn: #role of: membre list: self listeDesRoles]. html tableData: [html text: membre charge]. html tableData: [html text: membre reste]. html tableData: [html text: membre fait]] Thank in advance Raymond _______________________________________________ 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 smime.p7s (4K) Download Attachment |
In reply to this post by raymond.asselin
renderData: html
html tableRow: [html tableData: [html textInput on: #nom of membre]. html tableData: [html select on: #role of: membre; list: self listeDesRoles]. html tableData: membre charge. html tableData: membre reste. html tableData: membre fait] Note, that instead of html tableData: [html text: anObject] you can do html tableData: anObject And if you're lazy like me, you can use, #on:of: instead of #callback: and #selected:/value Philippe 2006/7/18, [hidden email] <[hidden email]>: > How to translate the 'selectInputOn:of:list:' in the Canvas API > > > > renderData: html > html tableRow: > [html tableData: > [html textInputWithValue: membre nom > callback: [:v | membre nom: v]]. > html tableData: > [html > selectInputOn: #role > of: membre > list: self listeDesRoles]. > html tableData: [html text: membre charge]. > html tableData: [html text: membre reste]. > html tableData: [html text: membre fait]] > > Thank in advance > Raymond > > _______________________________________________ > 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 |
In reply to this post by Boris Popov, DeepCove Labs (SNN)
Le 2006/07/18, Boris Popov <[hidden email]> écrivait :
>(html select) > list: self listeDesRoles; > selected: membre role; > callback: [:value | membre role: value] > >Cheers! > >-Boris > A very good thank Boris this is the 'selected:' I did'nt know about. _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |