~cjwatson/lazr.restful/range-factory

« back to all changes in this revision

Viewing changes to src/lazr/restful/configure.zcml

  • Committer: Ian Booth
  • Date: 2012-03-13 02:03:47 UTC
  • mto: This revision was merged to the branch mainline in revision 199.
  • Revision ID: ian.booth@canonical.com-20120313020347-8oix7hqnw68lv3yw
Add support for marshalling dicts

Show diffs side-by-side

added added

removed removed

Lines of Context:
272
272
        />
273
273
 
274
274
    <adapter
 
275
        for="zope.schema.interfaces.IDict
 
276
             zope.publisher.interfaces.http.IHTTPRequest"
 
277
        provides="lazr.restful.interfaces.IFieldMarshaller"
 
278
        factory="lazr.restful.marshallers.DictFieldMarshaller"
 
279
        />
 
280
 
 
281
    <adapter
275
282
        for="lazr.restful.interfaces.ICollectionField
276
283
             zope.publisher.interfaces.http.IHTTPRequest"
277
284
        provides="lazr.restful.interfaces.IFieldMarshaller"