|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
using Widgets textfieldcreate a simple web site that has a form, the form contain 2 textboxes, and allow the user to key in 2 values to get the sum of them. The sum value of these 2 values are show up (messagebox) after you click a button SUM. (you need to use javascript to do that). Hi, i am newbie to Turbogears. I has tried to read up the tutorial on Widgets but i have no idea how to implement it. below is the coding that i wrote for the controller. the thing that i confuse is how am i going to write, for examples i have controller, model, app, and etc --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@... To unsubscribe from this group, send email to turbogears-unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: using Widgets textfieldjosephtys86@... schrieb: > Hi, i am newbie to Turbogears. I has tried to read up the tutorial on > Widgets but i have no idea how to implement it. below is the coding > that i wrote for the controller. ??? I see no code in you mail. Anyway, it's better to paste you code at http://paste.turbogears.org/ and post the URL here. > the thing that i confuse is how am i > going to write, for examples i have controller, model, app, and etc Then I suggest you go through the tutorial here first: http://docs.turbogears.org/1.0/Wiki20/Page1 and then check out the widgets form tutorial: http://docs.turbogears.org/1.0/SimpleWidgetForm Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@... To unsubscribe from this group, send email to turbogears-unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: using Widgets textfieldi had tried to write the code. Below is the links of my code. http://paste.turbogears.org/paste/3079 There is something i need to ask: 1. Where should i write the sum formula the problem is i don't know how can i total the value of num + num 2 and display it in a message box. Most of the code i i learn from the remote form widget example. if you can help me out will be good. As i need to submit my task tomorrow On Jul 4, 11:33 pm, Christopher Arndt <chris.ar...@...> wrote: > josephty...@... schrieb: > > > Hi, i am newbie to Turbogears. I has tried to read up the tutorial on > > Widgets but i have no idea how to implement it. below is the coding > > that i wrote for the controller. > > ??? I see no code in you mail. Anyway, it's better to paste you code athttp://paste.turbogears.org/and post the URL here. > > > the thing that i confuse is how am i > > going to write, for examples i have controller, model, app, and etc > > Then I suggest you go through the tutorial here first: > > http://docs.turbogears.org/1.0/Wiki20/Page1 > > and then check out the widgets form tutorial: > > http://docs.turbogears.org/1.0/SimpleWidgetForm > > Chris You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@... To unsubscribe from this group, send email to turbogears-unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
| Free Forum Powered by Nabble | Forum Help |