Response to the 2 previous posts:

>Could you try with
>${form.display(action=action, values=values)}

Done, same results.  The displayed fields remain empty

I've reviewed the links you included, and focused in on a statement
that 'values'  must be a dictionary:
As a test, I modified return statement to 'hardcode' some values as
shown here:

          return dict(form=enter_sandbox_data_form, action='/
set_sandbox_data',
        
values=dict(researcher_name='Denny',researcher_email='[EMAIL PROTECTED]'),
                                        title='Enter Sandbox Data', 
id=self.sandboxID)

This too had no impact.  the displayed form continues to  be blank!

> Asking the stupid question just in case: your Model field names
> match the names you've specified for the fields in your widget list?

That was one of my 1st checks:  Yes the widget list names match the
model database names!!

I have this feeling that I'm overlooking something subtle, simple and/
or stupid, and just can't see it!!!??!



On May 3, 3:12 pm, [EMAIL PROTECTED] wrote:
> On Thu, 3 May 2007 at 13:52, Denny wrote:
> > I'm a newbie who's having problem including current database data in
> > an edit form!
>
> > I have defined the following form/widget:
>
> > class sandboxDataFields(widgets.WidgetsList):
> >    researcher_name = widgets.TextField(name="Researcher's Name",
>
> Asking the stupid question just in case: your Model field names
> match the names you've specified for the fields in your widget list?
>
> I've also heard that SQLObject (if that is what you are using)
> occasionally has trouble with names with underscores in them,
> though I don't think that that issue would apply here.
>
> --David


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to