[SEASIDE] Canvas API question
Philippe Marschall
philippe.marschall at gmail.com
Tue Jul 18 23:08:50 UTC 2006
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, raymond.asselin at cjm-iu.qc.ca <raymond.asselin at cjm-iu.qc.ca>:
> 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
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
More information about the Seaside
mailing list