[Seaside] SC tutorial question / Seaside 2.8 / [html
selectInputOn: #gender of: self list: #(Male Female)]" problem
barry_davis10 at hotmail.com
Thu Oct 4 11:54:42 UTC 2007
do you also know what the short version is?
list: #(Male Female);
selected: self gender;
callback: [:aGender | self gender: aGender]
i can't figure what the short function is somehow.
John Thornborrow wrote:
> That is the "short" version; though I would format as so:
> html span
> class: 'field';
> with: [
> html select
> list: #(Male Female);
> selected: self gender;
> callback: [:aGender | self gender: aGender]
> Purely for readability.
> barry10 wrote:
>> hi, while progressing
>> http://www.shaffer-consulting.com/david/Seaside/Forms/index.html with
>> Seaside 2.8 i have the following synax question.
>> In Seaside 2.8 what is the short version of
>> "html span class: 'field'; with: [html select list: #(Male Female);
>> selected: self gender; callback: [:v | self gender: v]]. "
>> The tutorial hints it should be something linke:
>> "html span class: 'field' with:
>> but i can't make it work.
>> can you help?
> Pinesoft Computers are registered in England, Registered number: 2914825.
> Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA
> This message has been scanned for viruses by BlackSpider MailControl -
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
View this message in context: http://www.nabble.com/SC-tutorial-question---Seaside-2.8----html-selectInputOn%3A--gender-of%3A-self-list%3A--%28Male-Female%29-%22-problem-tf4568231.html#a13038249
Sent from the Squeak - Seaside mailing list archive at Nabble.com.
More information about the seaside