Diez,
I've tried your suggestion but no change -- still get empty form
displayed?!!?!##!
I tried the following:
1. ${form.display(values, action=action)} -- no
change - form displays empty fields
2. ${form.display(value=values,action=action)} -- no change
- form displays empty fields
3 ${form.display(values=values,action=action)} -- no change -
form displays empty fields
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??
I'll now start on David's earlier suggestion, of building a minimal
test set!
Thanks,
Denny
On May 4, 5:48 am, [EMAIL PROTECTED] wrote:
> On Fri, 4 May 2007 at 11:01, Diez B. Roggisch wrote:
> > ${form.display(values, action=action)}
>
> > Usually, widgets take the value as the first argument. Even if it's named,
> > it
> > should be value instead of values I think.
>
> I suspect you just hit the nail on the head there, Diez. All my current
> code passes values as the first parm, so I didn't notice the parameter
> name misspelling.
>
> --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
-~----------~----~----~----~------~----~------~--~---