Please register to create new tickets

Changes between Version 2 and Version 3 of LayoutModifications

Show
Ignore:
Timestamp:
06/19/09 11:57:47 (15 months ago)
Author:
brickenstein (IP: 192.168.10.4)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LayoutModifications

    v2 v3  
    9797}}} 
    9898 
     99Finally we register the widget: 
     100{{{ 
     101from tw.rum.viewfactory import get as get_view, WidgetFactory 
     102 
     103@get_view.when("isinstance(self, WidgetFactory) and " 
     104    "attr is None and action=='show'", prio=0) 
     105def _get_wid_for_action(self, resource, parent, remote_name, attr, action, 
     106                        args): 
     107    return ShowWidget 
     108}}} 
     109 
    99110The result is visible here: [[Image(layoutforweb.png)]]