[Zope3-checkins] CVS: Zope3/doc/zcml/namespaces.zope.org/renderer - renderer.stx:1.1 sourcetype.stx:1.1

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Jan 22 18:57:15 EST 2004


Update of /cvs-repository/Zope3/doc/zcml/namespaces.zope.org/renderer
In directory cvs.zope.org:/tmp/cvs-serv7874/renderer

Added Files:
	renderer.stx sourcetype.stx 
Log Message:
Update ZCML directives documentation.


=== Added File Zope3/doc/zcml/namespaces.zope.org/renderer/renderer.stx ===
renderer

  File zope/app/renderer/meta.zcml, lines 11 - 15.

  Register a renderer for a paricular output interface, such as IBrowserView.

  Attributes

    sourceType -- GlobalObject (required)

      Source Type Interface

      Specifies an interface for of a particular source type.

    for -- GlobalObject (required)

      Interface of the output type

      Specifies the interface of the output type (i.e. browser) for which
      view is being registered.

    factory -- GlobalObject (required)

      Factory

      Specifies the factory that is used to create the view on the source.



=== Added File Zope3/doc/zcml/namespaces.zope.org/renderer/sourcetype.stx ===
sourcetype

  File zope/app/renderer/meta.zcml, lines 5 - 9.

  The renderers directive specifies how a particular source text can be
  for various view types. It also generates a registry of available source
  

  Attributes

    interface -- GlobalObject (required)

      Interface

      Specifies an interface for of a particular source type.

    class -- GlobalObject (required)

      Class

      Specifies the class that is implementing this source type.

    title -- TextLine (optional, default=None)

      Title

      Provides a title for the source type.





More information about the Zope3-Checkins mailing list