That did it! With one exception, the other fields I have in the form
were not populating. I made the following change to your code and it
is working like a champ.
> return dict(modelname = self.modelname,
> record = record,
> form = model_form,
> value = dict(Reach = reachID.id),
> tg_paginate_limit=tg_paginate_limit,
> tg_paginate_no=tg_paginate_no,rootDir=self.rootDir)
>
to:
return dict(modelname = self.modelname,
record = record,
form = model_form,
value = dict(serialnumber=record.serialnumber,
Reach = reachID.id),
tg_paginate_limit=tg_paginate_limit,
tg_paginate_no=tg_paginate_no,rootDir=self.rootDir)
Now I am beginning to understand the structure of the forms.
As Manuel once said "I learn Mr. Fawlty, I learn!" - Fawlty Towers
Big thanks to David and Florent for your help. =D
Mel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---