#978: Callable not resolved at request time in Forms API
--------------------------------------+-------------------------------------
Reporter: samuraisam | Owner:
Type: defect | Status: closed
Priority: high | Milestone: 1.0
Component: Widgets | Version: 0.9a6
Severity: blocker | Resolution: wontfix
Keywords: identity, forms, widgets |
--------------------------------------+-------------------------------------
Changes (by guest):
* status: new => closed
* resolution: => wontfix
Comment:
Just add a validator to your selection widget declaration:
{{{
widgets.SingleSelectField(label="Blog", options=get_blogs,
validator=validators.Int())
}}}
and you'll be fine.
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/978>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" 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-tickets?hl=en
-~----------~----~----~----~------~----~------~--~---