#2352: Provide widget instance to callable default value
-------------------------+--------------------------------------------------
Reporter: xaka | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: TurboGears | Version: 1.0.8
Severity: normal | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by xaka):
What you will do if you need return default value depend on field
properties (name, params, something other)?
My patch backward-compatible, if your function/method doesn't expect any
arguments - nothing wrong happens, in another case your first argument (or
second for methods) will be instance of field.
--
Ticket URL: <http://trac.turbogears.org/ticket/2352#comment:3>
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.
This group is read-only. No posting by normal members allowed.
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?hl=en
-~----------~----~----~----~------~----~------~--~---