[Seaside] RadioGroup problem
Avi Bryant
avi.bryant at gmail.com
Tue Jun 6 14:32:02 UTC 2006
On Jun 5, 2006, at 4:03 PM, Ken Causey wrote:
> I'm creating a set of radio buttons with (for example):
>
> html radioButtonInGroup: 'person'
> selected: (selectedChoice = choice)
> callback: [ :newChoice |
> self halt.
> newChoice = aChoiceQuestion default ifFalse: [
> response recordChoice: newChoice
> for: aChoiceQuestion ] ].
>
> This is within a WAFormDialog subclass. The callback never gets
> called.
> I've even tried it without specifying any buttons and just leaving the
> default call/answer support. What am I doing wrong?
Don't give your radio group a name; instead, generate an identifier
for it with #radioGroup ahead of time (store that in a temp and keep
using it).
Avi
More information about the Seaside
mailing list