On Thu, Nov 17, 2005 at 10:02:12AM -0500, Asad Habib wrote:
> Actually, I not receiving an error anymore but a pdf is not being
> generated either. When I test my External Method directly through the
> ZMI the only thing that is returned is the following line:
>
> <__builtin__.html2pdf instance
Actually, I not receiving an error anymore but a pdf is not being
generated either. When I test my External Method directly through the
ZMI the only thing that is returned is the following line:
<__builtin__.html2pdf instance at 0x4a1e8f0>
I have tried passing in the parameters using the reque
Paul Winkler wrote:
On Wed, Nov 16, 2005 at 11:26:10AM -0600, J Cameron Cooper wrote:
Asad Habib wrote:
Hi Cameron. You are right but the self parameter is implicitly passed.
It is implicitly passed, but must be explicitly defined::
def createHtmlToPdf(self, in_htmlFile, in_domain, in_pdfF
On Wed, Nov 16, 2005 at 11:26:10AM -0600, J Cameron Cooper wrote:
> Asad Habib wrote:
> >Hi Cameron. You are right but the self parameter is implicitly passed.
>
> It is implicitly passed, but must be explicitly defined::
>
> def createHtmlToPdf(self, in_htmlFile, in_domain, in_pdfFile):
> r
Asad Habib wrote:
Hi Cameron. You are right but the self parameter is implicitly passed.
It is implicitly passed, but must be explicitly defined::
def createHtmlToPdf(self, in_htmlFile, in_domain, in_pdfFile):
return html2pdf(in_htmlFile, in_domain, in_pdfFile)
When you say::
context
Hi Cameron. You are right but the self parameter is implicitly passed.
- Asad
On Wed, 16 Nov 2005, J Cameron Cooper wrote:
Asad Habib wrote:
Hello. I am trying to use the Python version of the PHP script written by
Jason Rust called 'HTML_ToPDF.php'. I have represented this script using an
Asad Habib wrote:
Hello. I am trying to use the Python version of the PHP script written
by Jason Rust called 'HTML_ToPDF.php'. I have represented this script
using an External Method since it uses functions, such as open, which
cannot be used in Zope Python scripts for security reasons. The py
On Wed, Nov 16, 2005 at 09:30:22AM -0500, Asad Habib wrote:
> Can parameters
> be passed to external methods?
Certainly.
> Whenever I try to pass parameters to
> function 'createHtmlToPdf', Zope returns an error stating that no such
> function exists.
Can you provide us with the complete tr
Hello. I am trying to use the Python version of the PHP script written by
Jason Rust called 'HTML_ToPDF.php'. I have represented this script using
an External Method since it uses functions, such as open, which cannot be
used in Zope Python scripts for security reasons. The python code for the
Thanks people, i'll be passing REQUEST from now on.
Cheers,
Andreas.
Andreas Pauley wrote:
>
> Hi,
> I need to pass some parameters to my external methods.
>
--
In a world without fences, who needs gates?
___
Zope maillist - [EMAIL PROTECTED]
h
At 10:18 pm +0200 14/9/00, Dieter Maurer wrote:
>Andreas Pauley writes:
> > I need to pass some parameters to my external methods.
> >
> > I have an external method that looks (somewhat) like this:
> >
> > def extAccess(self, accttype_cde):
> > return accttype_cde
> >
> >
> >
>
Andreas Pauley writes:
> I need to pass some parameters to my external methods.
>
> I have an external method that looks (somewhat) like this:
>
> def extAccess(self, accttype_cde):
> return accttype_cde
>
>
>
>
> The external method returned true
>
>
> I get the fol
Andreas Pauley wrote:
> I have an external method that looks (somewhat) like this:
>
> def extAccess(self, accttype_cde):
> return accttype_cde
>
> The external method returned true
>
>
> I get the following error for the above statement:
> Error Type: TypeError
> Error Value: not enoug
On Wed, Sep 13, 2000 at 11:49:03PM +0200, Andreas Pauley wrote:
> Hi,
> I need to pass some parameters to my external methods.
>
> I have an external method that looks (somewhat) like this:
>
> def extAccess(self, accttype_cde):
> return accttype_cde
>
> In the following dtml code, the foll
Ive always sent through the REQUEST with no problem, if you can do that.
- Original Message -
From: "Andreas Pauley" <[EMAIL PROTECTED]>
To: "Zope" <[EMAIL PROTECTED]>
Sent: Wednesday, September 13, 2000 2:49 PM
Subject: [Zope] Passing parameters to exte
Hi,
I need to pass some parameters to my external methods.
I have an external method that looks (somewhat) like this:
def extAccess(self, accttype_cde):
return accttype_cde
In the following dtml code, the following statement (with the SQL
method) works fine:
sqlAccess returned something
16 matches
Mail list logo