what do you mean by " i should called them num and num2? mind to elaborate. Thank do you mind to show me the code. please
best regards, Joseph On Jul 7, 1:04 am, Christoph Zwerschke <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] schrieb: > > > can you tell me where should i write the sum in the controller then. > > Please. i try to write sum = num1+num2 but it say that num1 and num2 > > was not declare.please help me as tomorrow is my deadline > > Have a look at how you declared your input parameters. They should be > called num1 and num2 if you want to address them with these names. > > Also, you should add a validate decorator converting them to integers. > Have a look athttp://docs.turbogears.org/1.0/ValidateDecorator > > -- Christoph --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

