Package p6 :: Package zcmlsupport :: Module metadirectives :: Class IViewDirective
[show private | hide private]
[frames | no frames]

Type IViewDirective

            Interface --+    
                        |    
IBasicResourceInformation --+
                            |
            Interface --+   |
                        |   |
    IBasicViewInformation --+
                            |
                           IViewDirective


Register a view for a component


Class Variable Summary
unicode allowed_attributes = u"View attributes that are also all...
unicode allowed_interface = u"Interface that is also allowed if ...
unicode class_ = u'Class\n\nA class that provides attributes use...
unicode factory = u'Factory'
unicode for_ = u'Specifications of the objects to be viewed\n\nT...
unicode name = u"The name of the resource.\n\nThe name shows up ...
unicode provides = u'The interface this component provides.\n\n\...
unicode type = u'Request type'

Class Variable Details

allowed_attributes

Type:
unicode
Value:
u"View attributes that are also allowed if the user has permission.\n\\
n\n        By default, 'permission' only applies to viewing the view a\
nd\n        any possible sub views. By specifying 'allowed_attributes'\
,\n        you can make the permission also apply to the extra attribu\
tes\n        on the view object."                                      

allowed_interface

Type:
unicode
Value:
u"Interface that is also allowed if user has permission.\n\n\n        \
By default, 'permission' only applies to viewing the view and\n       \
 any possible sub views. By specifying this attribute, you can\n      \
  make the permission also apply to everything described in the\n     \
   supplied interface.\n\n        Multiple interfaces can be provided,\
 separated by\n        whitespace."                                    

class_

Type:
unicode
Value:
u'Class\n\nA class that provides attributes used by the view.'         

factory

Type:
unicode
Value:
u'Factory'                                                             

for_

Type:
unicode
Value:
u'Specifications of the objects to be viewed\n\nThis should be a list \
of interfaces or classes\n        '                                    

name

Type:
unicode
Value:
u"The name of the resource.\n\nThe name shows up in URLs/paths. For ex\
ample 'foo'."                                                          

provides

Type:
unicode
Value:
u'The interface this component provides.\n\n\n        A view can provi\
de an interface.  This would be used for\n        views that support o\
ther views.'                                                           

type

Type:
unicode
Value:
u'Request type'                                                        

Generated by Epydoc 2.1 on Fri Jun 24 12:01:24 2005 http://epydoc.sf.net