Changeset 12328 for main/waeup.ikoba/trunk/src/waeup/ikoba
- Timestamp:
- 27 Dec 2014, 07:30:24 (10 years ago)
- Location:
- main/waeup.ikoba/trunk/src/waeup/ikoba
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/browser/browser.txt
r11954 r12328 186 186 Since the test browser does not use javascript, we have to add site roles 187 187 manually by setting the roles attribute: 188 189 Since JS is not supported by the test browser, the default role has been removed 190 when clicking the Save button. 188 191 189 192 >>> print root['mycompany']['users']['bob'].roles -
main/waeup.ikoba/trunk/src/waeup/ikoba/interfaces.py
r12327 r12328 234 234 """A zope.schema-like field for usage in interfaces. 235 235 236 Marker interface to distuingish product option entries from ordinary236 Marker interface to distuingish product options from ordinary 237 237 object fields. Needed for registration of widgets. 238 238 """ -
main/waeup.ikoba/trunk/src/waeup/ikoba/products/productoptions.py
r12327 r12328 80 80 """A zope.schema-like field for usage in interfaces. 81 81 82 If you want to define an interface containing result entries, you82 If you want to define an interface containing product options, you 83 83 can do so like this:: 84 84 … … 86 86 my_option_entry = ProductOptionField() 87 87 88 Default widgets are registered to render product option entryfields.88 Default widgets are registered to render product option fields. 89 89 """ 90 90 grok.implements(IProductOptionField)
Note: See TracChangeset for help on using the changeset viewer.