[Seaside] Problem smalltalk code
watchlala at hotmail.com
Tue Oct 26 16:38:09 UTC 2010
You can make it as simple as:
html form: [ html select list: (Array with: 'a' with: 'b'); callback: [:v | self selected: v ] ]. html text: self selected.
selected ^selected ifNil: [ selected := 'Choose a value to print.' ].
selected: aRenderable selected := aRenderable.
(Doing this from memory)RS
From: abalonpe at ulb.ac.be
To: seaside at lists.squeakfoundation.org
Date: Tue, 26 Oct 2010 16:20:16 +0000
Subject: [Seaside] Problem smalltalk code
I'm stuck on a problem with smalltalk.Here is my code:
| tagID | canvas div: [ canvas label for: (tagID := canvas nextId); with: 'BibteX Type:'. canvas select id: tagID; selected: bibEntry bibType ; list: bibEntry bibTypeList; callback: [:value | bibEntry bibType: value]. ].
I'd like to change what is displayed on my webpage according to what the user choose from the scroll list.I saw that there was an exemple of this on localhost-->browse-->examples-->examplebrowser but the code of this exemple is not online on the contraty of the other examples.Could you help me with this code or post the code of the examplebrowser?
Thank you very muchalex
seaside mailing list
seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside