I  think I found the basic problem!!   In my original definition of
the widgets fields, I included a name="xxx" parameter  for each of the
textFields.  If I omit this name from the definition, I get the fields
properly initialized.

SInce I want a more user friendly name to be displayed, I suspect I
can/should pass the values to the form in a dictionary where the keys
correspond to my desired names!  Going to give that a try now!!

Denny

On May 4, 10:08 am, [EMAIL PROTECTED] wrote:
> On Fri, 4 May 2007 at 08:54, Denny wrote:
> > I print out the 'values' before the return statement.  Here's what I
> > get (BTW: my database is MySQL); I was expecting this to be a
> > dictionary??!!::
>
> > Values passed too "enter_sandbox_data_form" = <sandboxes 2
> > short_description=u'Some testing' full_description=u"Don't really
> > care" last_access='datetime.datetime...)'
> > modified='datetime.datetime...)' researcher_name=u'John Doe'
> > researcher_email="u'[EMAIL PROTECTED]'" rawscores_recs=2L
> > dimensionscores_recs=0L fitnessscores_recs=0L>
>
> > Does this look right??
>
> Yeah.  The widgets can handle getting an SQLObject instead of a dict
> for value.
>
> --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