~divmod-dev/divmod.org/replace-widget-from-widget-info-2987

Viewing all changes in revision 2657.

  • Committer: faldridge
  • Date: 2009-11-16 18:46:43 UTC
  • Revision ID: svn-v4:866e43f7-fbfc-0310-8f2a-ec88d1da2979:branches/replace-widget-from-widget-info-2987:17833
Added one utility method, Nevow.Athena.nodeInserted that receives a
    Nevow.Athena.Widget and calls nodeInserted() (if defined) on it and all of
    its children.

Added two convenience methods to Nevow.Athena.Widget:
    fromWidgetInfo: appends a widget into the DOM as a child of the specified
        widget from the specified widget info.
    replaceFromWidgetInfo: replaces the current widget in the DOM from the
        specified widget info.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: