Mercurial > hg > documentViewer
comparison __init__.py @ 521:112578de1470
AuthTokenGenerator works now.
author | casties |
---|---|
date | Thu, 15 Mar 2012 20:37:14 +0100 |
parents | f2c5417b7ff4 |
children | 198b3ae3ea7e |
comparison
equal
deleted
inserted
replaced
520:8c5aae9bdbbb | 521:112578de1470 |
---|---|
1 import documentViewer | 1 import documentViewer |
2 import MpdlXmlTextServer | 2 import MpdlXmlTextServer |
3 import AuthTokenGenerator | |
3 | 4 |
4 def initialize(context): | 5 def initialize(context): |
5 """initialize ImageCollection""" | 6 """initialize ImageCollection""" |
6 context.registerClass( | 7 context.registerClass( |
7 documentViewer.documentViewer, | 8 documentViewer.documentViewer, |
16 constructors = ( | 17 constructors = ( |
17 MpdlXmlTextServer.manage_addMpdlXmlTextServerForm, | 18 MpdlXmlTextServer.manage_addMpdlXmlTextServerForm, |
18 MpdlXmlTextServer.manage_addMpdlXmlTextServer | 19 MpdlXmlTextServer.manage_addMpdlXmlTextServer |
19 ) | 20 ) |
20 ) | 21 ) |
22 | |
23 context.registerClass( | |
24 AuthTokenGenerator.AuthTokenGenerator, | |
25 constructors = ( | |
26 AuthTokenGenerator.manage_addAuthTokenGeneratorForm, | |
27 AuthTokenGenerator.manage_addAuthTokenGenerator | |
28 ) | |
29 ) | |
30 | |
21 | 31 |