Summary of messages to the zope-tests list.
Period Tue Aug 14 12:00:00 2007 UTC to Wed Aug 15 12:00:00 2007 UTC.
There were 5 messages: 5 from Zope Unit Tests.
Tests passed OK
---
Subject: OK : Zope-2.7 Python-2.3.6 : Linux
From: Zope Unit Tests
Date: Tue Aug 14 20:52:54 EDT 2007
Am Sonntag, den 12.08.2007, 21:45 +0200 schrieb Tino Wildenhain:
Philipp von Weitershausen schrieb:
Martijn Pieters wrote:
On 8/12/07, Andreas Jung [EMAIL PROTECTED] wrote:
to make it short: I propose to move the Zope 2 bugtracker to
Launchpad. Since the Zope 3 bugtracker works already
[EMAIL PROTECTED] wrote:
1)?I have a form that I need to send to a script and then send off to a URL
(PayPal). I need to process it through the script to renumber things for PP.
How do I do this? I imagine I add an element to the PT like so:
form
Sidnei da Silva wrote:
New build is available:
http://files.enfoldsystems.com/Zope-2.9.8-Final-7409.exe
After some light testing, it's also now officially up:
http://www.zope.org/Products/Zope/2.9.8
cheers,
Chris
--
Simplistix - Content Management, Zope Python Consulting
-
Hi;
I have the following PT code:
a tal:attributes=href python:here.a_script(str(x))
and I want to structure it, kind of like this:
a tal:attributes=structure href python:here.a_script(str(x))
How do I do that?
TIA,
Tony
AOL
--On 15. August 2007 10:17:56 -0400 [EMAIL PROTECTED] wrote:
Hi;
I have the following PT code:
a tal:attributes=href python:here.a_script(str(x))
and I want to structure it, kind of like this:
a tal:attributes=structure href python:here.a_script(str(x))
How do I do that?
As documented,
Bummer. Well, I'm trying to call a script that will render content to the Web,
like this:
a tal:attributes=href python:here.a_script(str(x))
which calls a script that does this:
return htmlbody + x + /body/html
but of course it delivers this to the browser:
Why would you put HTML inside an HREF?
Sounds to me like you want html tal:replace=structure python:
here.a_script(str(x)) / or something like that.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: August 15, 2007 10:45
To:
Ah Tony,
looks like the penny is yet to drop...
[EMAIL PROTECTED] wrote:
Bummer. Well, I'm trying to call a script that will render content to the Web,
like this:
a tal:attributes=href python:here.a_script(str(x))
My guess is that what you're _really_ trying to do here is:
a href=
--On 15. August 2007 16:05:13 +0100 Chris Withers [EMAIL PROTECTED]
wrote:
Ah Tony,
looks like the penny is yet to drop...
[EMAIL PROTECTED] wrote:
Bummer. Well, I'm trying to call a script that will render content to
the Web, like this: a tal:attributes=href
python:here.a_script(str(x))
I tried this:
a tal:attributes=href string:${here/a_script}?doc=${x}
but got this error:
Error Type: TypeError
Error Value: a_script() takes exactly 1 argument (0 given)
Next, I rewrote the script to put in a try statement for the variable, to test
that, but before I even got to test I looked at
Well, I'm trying to do the following:
1) generate a list of variables using tal:define
2) pass those variables to a script, that will then make a few edits and render
everything as an HTML page.
I'm doing this as a work-around to the problem I posted earlier, that nobody
apparently could
In my opinion the correct sentence will be:
a tal:attributes=href python: here.a_script(x) /
But they are trying to say you that structure don't do anything here because
an anchor expect or a URL or a javascript
You are trying to put an html code into an anchor but this don't work on
HTML or
Oops...forgot the absolute_url part :-) Works fine now. Thanks!
Tony
-Original Message-
From: Chris Withers [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; zope@zope.org
Sent: Wed, 15 Aug 2007 11:05 am
Subject: Re: [Zope] How Do I Structure This?
Ah Tony,?
?
looks
Hi;
I can work around this one, but it's not as elegant and will waste an hour or
so. Here's the problem I'd like to resolve. I have this line of code:
a tal:attributes=href
string:${here/renumberTheCart/absolute_url}?doc=${here/CheckOutAfterEditStuff}test/a
The problem is that doc comes back
[EMAIL PROTECTED] wrote:
a href=http://203.223.152.46:8080/lariman.com/s/renumberTheCart?doc=lt;divgt;lt;input
type=quot;hiddenquot; name=quot;redirect_cmdquot; value=quot;_cartquot;gt;
etc. Is there a way to work around this?
Of course not, you don't need url quoting, that would be silly
[EMAIL PROTECTED] wrote:
I tried this:
a tal:attributes=href string:${here/a_script}?doc=${x}
but got this error:
Error Type: TypeError
Error Value: a_script() takes exactly 1 argument (0 given)
Yeah, as you discovered later, leaving bits of things people suggest off
is stupid ;-)
So it
Andreas Jung wrote:
a href=
tal:attributes=href string:${here/a_script/absolute_url}?avar=${x}/
...but next you'll be wondering how to url quote x.
By using the well-know url_quote() or url_quote_plus() methods.
...and in a page template? ;-)
Chris
--
Simplistix - Content Management,
--On 15. August 2007 12:48:06 -0400 [EMAIL PROTECTED] wrote:
Hi;
I can work around this one, but it's not as elegant and will waste an
hour or so. Here's the problem I'd like to resolve. I have this line of
code:
a tal:attributes=href
Well, the other fellow said url_quote was well documented, but I haven't found
out where :) Since you strongly imply I need url quoting, can you tell me how
to url_quote this doc parameter?
a tal:attributes=href
string:${here/renumberTheCart/absolute_url}?doc=${here/CheckOutAfterEditStuff}
I have this line of code:
a tal:define=std modules/Products.PythonScripts.standard; url_quote nocall:
std/url_quote; x python:url_quote(here/CheckOutAfterEditStuff)
tal:attributes=href
string:${here/renumberTheCart/absolute_url}?doc=${x}test/a
but I get this error:
Error Type: NameError
Ken, you can't have mapped drives for services. You have to use the UNC
path.
On 8/14/07, Ken Ara [EMAIL PROTECTED] wrote:
Hi,
In a Windows2003 Server environment, we have been unable to get
ExternalFile to
read a mapped network drive that is otherwise visible from this machine.
We have
Perhaps you put the name of a template as doc and in this template render
the html code you want to render (like in this example a hidden input)
Only an idea...
2007/8/15, [EMAIL PROTECTED] [EMAIL PROTECTED]:
Well, the other fellow said url_quote was well documented, but I haven't
found out
23 matches
Mail list logo