Radiobutton

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Radiobutton

xyz 42
Hello!

In the attached file, when I click on the "Get results", I want to
show the radio buttons that the user has selected for each question.
However, this doesn't work.  What am I missing?  Also, can you please
comment on my style of coding?

Thanks.

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

MyTestWebApp.st (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Radiobutton

Ryan Simmons-3
Hi, got your example to work by making the following changes.
  1. renderContentOn:
        enclose this methods contents in a form and change the html anchor to a
submitButton.
  2. remove the form from the renderLabel: aString control: aBlock
model: anObject on: html method.

You should create a Question class containing your list of choices and
which is the correct answer.

On Thu, 2008-10-02 at 14:21 +0530, xyz 42 wrote:

> Hello!
>
> In the attached file, when I click on the "Get results", I want to
> show the radio buttons that the user has selected for each question.
> However, this doesn't work.  What am I missing?  Also, can you please
> comment on my style of coding?
>
> Thanks.
> _______________________________________________
> 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