[Zope] External Methods nightmare

Felipe Alvarez Harnecker felipe.alvarez@qlsoft.cl
Tue, 10 Apr 2001 13:24:12 -0400 (CLT)


--a1udBViX0N
Content-Type: text/plain; charset=us-ascii
Content-Description: message body text
Content-Transfer-Encoding: 7bit

Farrell, Troy writes:
 > Your dtml method is not able to acquire the sql method.  To help with this,
 > we need to see the folder object structure.  The problem isn't inside the
 > external method.
 > 

Attached goes the folder ( a tiny test ) 


--a1udBViX0N
Content-Type: application/octet-stream
Content-Disposition: attachment;
	filename="test.zexp"
Content-Transfer-Encoding: base64

WkVYUAAAAAAAAAqNAAAAAAAAAdwoKFUKT0ZTLkZvbGRlcnEBVQZGb2xkZXJxAnRxA050Ln1x
BChVAmlkcQVVBHRlc3RxBlUSX19hY19sb2NhbF9yb2xlc19fcQd9cQhVCXN1cGVydXNlcnEJ
XXEKVQVPd25lcnELYXNVC3BydWViYV9kdG1scQwoVQgAAAAAAAAKnXENKFUOT0ZTLkRUTUxN
ZXRob2RxDlUKRFRNTE1ldGhvZHEPdHRRVQhfb2JqZWN0c3EQKH1xEShVCW1ldGFfdHlwZXES
VQtEVE1MIE1ldGhvZHETVQJpZHEUVQZhX2R0bWxxFXV9cRYoaBJoE2gUVQZiX2R0bWxxF3V9
cRgoaBJoE2gUaAx1fXEZKFUJbWV0YV90eXBlcRpVD0V4dGVybmFsIE1ldGhvZHEbVQJpZHEc
VQRkX3B5cR11dGgXKFUIAAAAAAAACpxxHihoDlUKRFRNTE1ldGhvZHEfdHRRaBUoVQgAAAAA
AAAKm3EgKGgOVQpEVE1MTWV0aG9kcSF0dFFVBXRpdGxlcSJVAGgdKFUIAAAAAAAACp5xIyhV
JlByb2R1Y3RzLkV4dGVybmFsTWV0aG9kLkV4dGVybmFsTWV0aG9kcSRVDkV4dGVybmFsTWV0
aG9kcSV0dFF1LgAAAAAAAAqdAAAAAAAAALwoKFUOT0ZTLkRUTUxNZXRob2RxAVUKRFRNTE1l
dGhvZHECdHEDTnQufXEEKFUFdGl0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XN1cGVydXNlcnESXXET
VQVPd25lcnEUYXNVBXRpdGxlcRVVAFUJX2Z1bmN0aW9ucRZVAWRVDWZ1bmNfZGVmYXVsdHNx
F05VB19tb2R1bGVxGFUGb2JlbGl4cRl1Lv////////////////////8=

--a1udBViX0N
Content-Type: text/plain; charset=us-ascii
Content-Description: message body and .signature
Content-Transfer-Encoding: 7bit



And here is the function that defines method d_py

def d(self):
    """A simple external method."""
    texto=self.a_dtml()
    return texto

Cheers.

PS. Your email address has some kind of trouble ( at least yestarday )
-- 
______________________________________________________

Felipe Alvarez Harnecker.  QlSoftware.
		
Tels. 665.99.41 - 09.874.60.17
e-mail: felipe.alvarez@qlsoft.cl

http://qlsoft.cl/
http://ql.cl/
______________________________________________________

--a1udBViX0N--