Changeset 4536
- Timestamp:
- 04/29/08 00:42:36 (3 months ago)
- Files:
-
- projects/ToscaWidgets/trunk/docs/source/api.rst (modified) (1 diff)
- projects/ToscaWidgets/trunk/tw/core/base.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
projects/ToscaWidgets/trunk/docs/source/api.rst
r4535 r4536 12 12 13 13 from tw.forms import TextField, PasswordField 14 15 14 16 15 projects/ToscaWidgets/trunk/tw/core/base.py
r4535 r4536 487 487 @only_if_initialized 488 488 def retrieve_resources(self): 489 """ 490 Returns a dict keyed by location with ordered collections of 491 resources from this widget and its children as values. 492 """ 489 493 from tw.api import locations 490 494 resources = dict((k, OrderedSet()) for k in locations) … … 497 501 def adapt_value(self, value): 498 502 """ 499 Adapt object ``value`` for rendering in ``self``. Should return:503 Adapt object *value* for rendering in this widget. Should return one of: 500 504 * A list of objects for repeated widgets. 501 505 * A dict for widgets with children, keyed by the children's ids.