Changeset 5857 for main/waeup.sirp
- Timestamp:
- 12 Mar 2011, 17:10:14 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/widgets/table.py
r5856 r5857 109 109 110 110 111 111 112 112 class YUIStaticTableView(grok.View): 113 113 grok.context(Interface) 114 114 grok.name('yuistatictables.js') 115 grok.require('zope.Public') 115 116 116 117 def render(self): … … 121 122 except: 122 123 # No table provider for the context. Be gentle... 123 return '/* No content */'124 return u'/* No content */' 124 125 tables = provider.getTables() 125 126 results = [table.getJSTableCode() for table in tables]
Note: See TracChangeset for help on using the changeset viewer.