equal
deleted
inserted
replaced
207 |
207 |
208 The following attributes should be set on concret appobject classes: |
208 The following attributes should be set on concret appobject classes: |
209 :__registry__: |
209 :__registry__: |
210 name of the registry for this object (string like 'views', |
210 name of the registry for this object (string like 'views', |
211 'templates'...) |
211 'templates'...) |
212 :__id__: |
212 :__regid__: |
213 object's identifier in the registry (string like 'main', |
213 object's identifier in the registry (string like 'main', |
214 'primary', 'folder_box') |
214 'primary', 'folder_box') |
215 :__select__: |
215 :__select__: |
216 class'selector |
216 class'selector |
217 |
217 |
238 if a result set is set and the context is about a particular cell in the |
238 if a result set is set and the context is about a particular cell in the |
239 result set, and not the result set as a whole, specify the col number we |
239 result set, and not the result set as a whole, specify the col number we |
240 are interested in, else None |
240 are interested in, else None |
241 """ |
241 """ |
242 __registry__ = None |
242 __registry__ = None |
243 __id__ = None |
243 __regid__ = None |
244 __select__ = yes() |
244 __select__ = yes() |
245 |
245 |
246 @classmethod |
246 @classmethod |
247 def __registered__(cls, registry): |
247 def __registered__(cls, registry): |
248 """called by the registry when the appobject has been registered. |
248 """called by the registry when the appobject has been registered. |