web/component.py
changeset 10510 51321946da37
parent 10075 136b5f995f8e
child 10666 7f6b5f023884
equal deleted inserted replaced
10509:e8ac062d4b20 10510:51321946da37
   351     def init_rendering(self):
   351     def init_rendering(self):
   352         """init rendering callback: that's the good time to check your component
   352         """init rendering callback: that's the good time to check your component
   353         has some content to display. If not, you can still raise
   353         has some content to display. If not, you can still raise
   354         :exc:`EmptyComponent` to inform it should be skipped.
   354         :exc:`EmptyComponent` to inform it should be skipped.
   355 
   355 
   356         Also, :exc:`Unauthorized` will be catched, logged, then the component
   356         Also, :exc:`Unauthorized` will be caught, logged, then the component
   357         will be skipped.
   357         will be skipped.
   358         """
   358         """
   359         self.items = []
   359         self.items = []
   360 
   360 
   361     @property
   361     @property