Mercurial > hg > MPIWGWeb
comparison MPIWGHelper.py @ 159:ee79f6ba8d01
clean up staff editing and some zpt forms.
author | casties |
---|---|
date | Thu, 06 Jun 2013 15:34:20 +0200 |
parents | 975a8d88e315 |
children | 47392bf3fcba |
comparison
equal
deleted
inserted
replaced
158:86a5b3c4af4b | 159:ee79f6ba8d01 |
---|---|
14 | 14 |
15 nodelist=nodename.childNodes | 15 nodelist=nodename.childNodes |
16 rc = "" | 16 rc = "" |
17 for node in nodelist: | 17 for node in nodelist: |
18 if node.nodeType == node.TEXT_NODE: | 18 if node.nodeType == node.TEXT_NODE: |
19 rc = rc + node.data | 19 rc = rc + node.data |
20 return rc | 20 return rc |
21 | 21 |
22 def getTemplate(self, tpName): | 22 def getTemplate(self, tpName): |
23 """get a template file either form the instance or from the product""" | 23 """get a template file either form the instance or from the product""" |
24 #ext=self.ZopeFind(self.aq_parent,obj_ids=[tpName]) | 24 #ext=self.ZopeFind(self.aq_parent,obj_ids=[tpName]) |