Hi,
I need the old timers to help with a zope dtml-try/dtml-except conditions. I am
using Zope 2.6.1. My problem is as follows:
dtml-if expr=fluency_temp''
fluency - dtml-var fluency_temp**
dtml-call REQUEST.set('fluency_test', fluency_temp)
dtml-call string_to_int
- Puvodní zpráva -
Od: larrymcdonn...@att.net
Komu: zope@zope.org
Odesláno: 4. ríjna 2010 21:57
Predmet: [Zope] dtml-except
Hi,
I need the old timers to help with a zope dtml-try/dtml-except conditions.
I am using Zope 2.6.1. My problem is as follows:
dtml-if expr=fluency_temp
Bobby wrote at 2009-4-7 09:58 -0700:
td colspan=3
a href=?table=dtml-var tableorder_by=dtml-var
order_bysort=dtml-var sortstart=dtml-var
previous-sequenceprevious/a
a href=?table=dtml-var tableorder_by=dtml-var
order_bysort=dtml-var sortstart=dtml-var next-sequencenext/a
Industries, Inc.
-Original Message-
From: zope-boun...@zope.org [mailto:zope-boun...@zope.org] On Behalf Of Bobby
Sent: Tuesday, April 07, 2009 2:48 PM
To: zope@zope.org
Subject: Re: [Zope] dtml-in pagination
Could someone point me to some documentation on how to do pagination? Thanks
Hi,
I'm trying to do pagination with dtml-in; could one of you show my why i can't
get the next and previous button from my code below to work?
Also, i need to do view per page: 1,2,3,etc. and allow the user select the
number of records displayed per page (size) as well. Thanks in advance
Could someone point me to some documentation on how to do pagination? Thanks.
--- On Tue, 4/7/09, Bobby cybercruis...@yahoo.com wrote:
From: Bobby cybercruis...@yahoo.com
Subject: [Zope] dtml-in pagination
To: zope@zope.org
Date: Tuesday, April 7, 2009, 10:58 AM
Hi,
I'm trying to do
that works, thanks.
--- On Wed, 4/1/09, Andreas Jung li...@zopyx.com wrote:
From: Andreas Jung li...@zopyx.com
Subject: Re: [Zope] dtml-in
To: cybercruis...@yahoo.com
Cc: zope@zope.org
Date: Wednesday, April 1, 2009, 10:56 PM
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 02.04.2009 5:20 Uhr
Hi,
I have a variable called checkGroup where its values are the record ids that
the user selected to be deleted. I have a deleteRecord method that takes two
arguements, one the sql table and the record id to be deleted. The code below
works fine except for when the user only select one item
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 02.04.2009 5:20 Uhr, Bobby wrote:
Hi,
I have a variable called checkGroup where its values are the record ids
that the user selected to be deleted. I have a deleteRecord method that takes
two arguements, one the sql table and the record id
http://www.zope.org/Members/anthony/tree-coding-tricks
and
http://www.zope.org/Members/cybertad/how_to/working_with_tree
Where can I find out about this 'advanced usage'?
Regards
Garry
___
Zope maillist - Zope@zope.org
http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.15.html
On 25.05.2008, at 16:54, Garry Saddington wrote:
Is there a complete documentation of the dtml-tree tag anywhere?
--
Stefan H. Holek
[EMAIL PROTECTED]
___
Zope maillist -
Is there a complete documentation of the dtml-tree tag anywhere?
The dtml reference of the Zope book has the following for some options:
This attribute is for advanced usage only
Where can I find out about this 'advanced usage'?
Regards
Garry
___
Zope
--On 25. Mai 2008 15:54:58 +0100 Garry Saddington
[EMAIL PROTECTED] wrote:
Is there a complete documentation of the dtml-tree tag anywhere?
The dtml reference of the Zope book has the following for some options:
This attribute is for advanced usage only
Where can I find out about this
I have a simple test Zope product inheriting from Cacheable, PropertyManager
and SimpleItem.
Say I have a dtml method at http://myzopeinstance.com/testdtml with contents
dtml-let myvar='hello world'dtml-var testproduct/dtml-let
I'd like myvar to be available in the__call__ method of
(Wed, Nov 21, 2007 at 07:10:32PM +0100) Dieter Maurer wrote/schrieb/egrapse:
However, I was told that there is a better tree package (forgot
its name).
We're using ExpansionTree, which is ages-old, but it works. Maybe that
was the name you were looking for.
Regards,
Sascha
Hello list,
we are using the dtml-tree - and we need other pictures for the plus and
the minus symbol. How can we change them?
Can anybody help us?
Many thanks in advance,
Ulla.
___
Zope maillist - Zope@zope.org
Ulla Theiss wrote at 2007-11-21 15:52 +0100:
...
we are using the dtml-tree - and we need other pictures for the plus and
the minus symbol. How can we change them?
The code does not support to change the plus and minus symbols.
Your options:
* You change the code (--
I found this method on Zopelabs to get the contents of all ZSQL methods.
dtml-in ZopeFind(restrictedTraverse(['']), obj_metatypes=['DTML
Method'], search_sub=1)
h2dtml.-id; (dtml.-title_or_id;)/h2
pidtml-var absolute_url/i/p
blockquotepredtml-var template/pre/blockquote
/dtml-in
Is it
garry saddington wrote:
I found this method on Zopelabs to get the contents of all ZSQL methods.
dtml-in ZopeFind(restrictedTraverse(['']), obj_metatypes=['DTML
Method'], search_sub=1)
h2dtml.-id; (dtml.-title_or_id;)/h2
pidtml-var absolute_url/i/p
blockquotepredtml-var
garry saddington wrote at 2007-8-30 15:46 +0100:
I found this method on Zopelabs to get the contents of all ZSQL methods.
dtml-in ZopeFind(restrictedTraverse(['']), obj_metatypes=['DTML
Method'], search_sub=1)
h2dtml.-id; (dtml.-title_or_id;)/h2
pidtml-var absolute_url/i/p
Hi all,
I need to insert a row to mysql table if the corresponding data not exist,
if it exist i need to update the row.
Can we do it using a single Z SQL method.
Many thanks
Anz
___
Zope maillist - Zope@zope.org
Hi all,
I need to insert a row to mysql table if the corresponding data not
exist, if it exist i need to update the row.
Can we do it using a single Z SQL method.
Yes, if your ZSQL will call stored procedure that will handle this logic.
Otherwise, I think you can't (but I might be wrong).
Remil Mathew schrieb:
Hi all,
I need to insert a row to mysql table if the corresponding data not
exist, if it exist i need to update the row.
Can we do it using a single Z SQL method.
Well thats not business of ZSQL methods but rather
stuff you do with the instruments of your database.
Just use REPLACE instead of INSERT.
If REPLACE statement is able to determine a unique value for a row and
sees that that unique value exists for a row, the valued will be
updated. If it does not exist, a new row will be inserted. This is what
I use with MySQL.
Allen
Tino Wildenhain wrote:
On Thu, Mar 22, 2007 at 08:11:21AM -0400, Allen Schmidt Sr. wrote:
Just use REPLACE instead of INSERT.
If REPLACE statement is able to determine a unique value for a row and
sees that that unique value exists for a row, the valued will be
updated. If it does not exist, a new row will be
A little bit of legacy DTML fun here... Zope 2.9.3
On save of a DTML Method, why would this dtml-call fail:
dtml-let standards=REQUEST.SESSION
dtml-call standards.set('AR-DA-08', AR-DA-08)
/dtml-let
With the error:
Expression (Python) Syntax error: invalid token
Whereas this works fine:
[EMAIL PROTECTED] schrieb:
A little bit of legacy DTML fun here... Zope 2.9.3
On save of a DTML Method, why would this dtml-call fail:
dtml-let standards=REQUEST.SESSION
dtml-call standards.set('AR-DA-08', AR-DA-08)
/dtml-let
With the error:
Expression (Python) Syntax error: invalid
En/na [EMAIL PROTECTED] ha escrit:
A little bit of legacy DTML fun here... Zope 2.9.3
On save of a DTML Method, why would this dtml-call fail:
dtml-let standards=REQUEST.SESSION
dtml-call standards.set('AR-DA-08', AR-DA-08)
/dtml-let
AR - DA - 08
^ octal literal
HTH
+---[ Tino Wildenhain ]--
| [EMAIL PROTECTED] schrieb:
| A little bit of legacy DTML fun here... Zope 2.9.3
|
| On save of a DTML Method, why would this dtml-call fail:
|
| dtml-let standards=REQUEST.SESSION
| dtml-call standards.set('AR-DA-08', AR-DA-08)
| /dtml-let
|
Hi Tino. Yes, that is correct. This application has variables named
like:
'AR-DA-08'
This also fails in a Page Template:
span tal:define=standards python: request.SESSION
tal:block define=temp python: data.set('AR-DA-08',AR-DA-
08)/tal:block
/span
With the error:
Compilation failed
- Original Message -
From: [EMAIL PROTECTED]
To: zope@zope.org
Sent: Tuesday, October 24, 2006 1:04 PM
Subject: Re: [Zope] DTML Call Fails
Hi Tino. Yes, that is correct. This application has variables named
like:
'AR-DA-08'
This also fails in a Page Template:
span tal:define
[EMAIL PROTECTED] wrote:
A little bit of legacy DTML fun here... Zope 2.9.3
On save of a DTML Method, why would this dtml-call fail:
dtml-let standards=REQUEST.SESSION
dtml-call standards.set('AR-DA-08', AR-DA-08)
/dtml-let
With the error:
Expression (Python) Syntax error: invalid token
Yep, changing to a underscore from a dash does the trick.
Thanks to everyone who helped me understand this.
--
Harlow Pinson
Indepth Learning
Email: [EMAIL PROTECTED]
Phone: 505 994-2135
Fax: 505 994-3603
___
Zope maillist - Zope@zope.org
Changing the dash to an underscore in the variable name solved the
problem.
--
Harlow Pinson
Indepth Learning
Email: [EMAIL PROTECTED]
Phone: 505 994-2135
Fax: 505 994-3603
___
Zope maillist - Zope@zope.org
[EMAIL PROTECTED] schrieb:
Hi Tino. Yes, that is correct. This application has variables named
like:
'AR-DA-08'
Not very clever.
This also fails in a Page Template:
span tal:define=standards python: request.SESSION
tal:block define=temp python: data.set('AR-DA-08',AR-DA-
08)/tal:block
[EMAIL PROTECTED] schrieb:
Changing the dash to an underscore in the variable name solved the
problem.
I'm quite sure you could solve it even better - if we would know
where these variables come from and what their meaning is.
I suspect some kind of form?
Regards
Tino Wildenhain
r.__cmp__(x,y) requires y to be a 'r', not a 'ImplicitAcquirerWrapper'
http://www.zope.org/Collectors/Zope/1884
I see this is a pending case but does anyone have any idea if it will be
fixed in future releases?
Finally got a 2.8.8 instance running with our Data (from 2.7.5) and was
able to
--On 1. September 2006 07:46:33 -0400 Allen Schmidt Sr.
[EMAIL PROTECTED] wrote:
r.__cmp__(x,y) requires y to be a 'r', not a 'ImplicitAcquirerWrapper'
http://www.zope.org/Collectors/Zope/1884
I see this is a pending case but does anyone have any idea if it will be
fixed in future
Is this the equivalence?
dtml-var day fmt=%02i
td tal:replace=python:'%02i'%item['day']
or exists other way?
Greetings.
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related
--On 31. August 2006 20:36:32 +0200 Antonio Beamud Montero
[EMAIL PROTECTED] wrote:
Is this the equivalence?
dtml-var day fmt=%02i
td tal:replace=python:'%02i'%item['day']
or exists other way?
No.
-aj
pgpXRn0rh7dcJ.pgp
Description: PGP signature
Antonio Beamud Montero wrote:
Is this the equivalence?
dtml-var day fmt=%02i
td tal:replace=python:'%02i'%item['day']
or exists other way?
Yes, you format your output in a (possibly
locales dependant) intermediate layer between
your application and your template.
In the easiest
Is there a way to send a html formatted message using dtml-sendmail?dtml-sendmail mailhost=MailHostTo: [EMAIL PROTECTED]From: dtml-var mail
Subject: [GPME] ContactFullname: dtml-var surname dtml-var firstnameTitle: dtml-var ftitleMail: dtml-var mailDescription: dtml-var description
[HTML
Hello,Is there a way in Zope to forward a request from one page to another. When I say "forward" a request, I want to retain all the GET and POST request parameters. So similar to dtml-call expr="RESPONSE.redirect('...')" but response.redirect loses all the request parameters.I've been looking
more info as to your use case.
Jonathan
- Original Message -
From:
Alric
Aneron
To: zope@zope.org
Sent: Thursday, June 08, 2006 4:22
PM
Subject: [Zope] dtml forwarding
request
Hello,Is there a way in Zope to forward a request from one
page to another. When I
:AlricAneronTo: zope@zope.orgSent: Thursday, June 08, 2006 4:22PM Subject: [Zope] dtml forwardingrequest Hello,Is there a way in Zope to forward a request from onepage to another. When I say "forward" a request, I want to retain allthe GET and PO
.
Is this is not what you are looking for, then provide some more info as to
your use case.
Jonathan
- Original Message -
From:AlricAneron
To: zope@zope.org
Sent: Thursday, June 08, 2006 4:22PM
Subject: [Zope] dtml forwardingrequest
/display).
It's kind of hard to guess what would be best
without knowing more about the application(s).
Jonathan
- Original Message -
From:
Alric
Aneron
To: Jonathan ; zope@zope.org
Sent: Thursday, June 08, 2006 4:31
PM
Subject: Re: [Zope] dtml forwarding
request
To: Jonathan ; zope@zope.orgSent: Thursday, June 08, 2006 4:31PM Subject: Re: [Zope] dtml forwardingrequest The dtml_method where I want to forward to is on anotherserver, so your may would be a little hard to do. Sorry, I didn't makemyself clear the first time.Thanks, any
Alric Aneron wrote:
So there is no way to do it through python and DTML?
I know Java has something like that.
*lol*
Well you should be sure you know what you do anyways.
Forwarding requests means you trust the users browser
to do the right thing. Maybe you can instead make
a subrequest by
On Thu, Jun 08, 2006 at 11:39:19PM +0200, Tino Wildenhain wrote:
Alric Aneron wrote:
So there is no way to do it through python and DTML?
I know Java has something like that.
ZEO is the canonical way to distribute zope stuff.
Well you should be sure you know what you do anyways.
Dieter Maurer wrote:
Martin Koekenberg wrote at 2006-5-3 14:47 +0200:
I use this code in a Python script and call this script within a DTML-IN
statement. What I need is a script to get only items with a date in the
future, today or in the past. The objects are DTML Documents with a date
[EMAIL PROTECTED]To: Martin Koekenberg
[EMAIL PROTECTED]Cc: zope@zope.orgDate: Wed, 08
Mar 2006 14:43:41 +0100Subject: Re: [Zope] DTML-In with filter
Martin Koekenberg
schrieb: Hello, Is it possible to use a
DTML-In to display all DTML Documents in a folder exept the one's
with a centain value
--On 3. Mai 2006 12:17:36 +0200 Martin Koekenberg
[EMAIL PROTECTED] wrote:
Hallo,
I can create a dtml-in filte with the following code:
return [doc for doc in context.objectValues('DTML Document') if
doc.getProperty('a')!='de']
Using return in DTML does not make sense. Writing such
-Original Message-From: Andreas Jung
[EMAIL PROTECTED]To: Martin Koekenberg
[EMAIL PROTECTED], zope@zope.orgDate: Wed, 03 May
2006 12:20:33 +0200Subject: Re: [Zope] DTML-In with date/time filter
--On
3. Mai 2006 12:17:36 +0200 Martin Koekenberg
[EMAIL PROTECTED] wrote:
Hallo, I can create
Koekenberg
To: zope@zope.org
Sent: Wednesday, May 03, 2006 8:47 AM
Subject: Re: [Zope] DTML-In with date/time filter
Hello Andreas,
I use this code in a Python script and call this script within a DTML-IN
statement. What I need is a script to get only items with a date in the
future, today
Martin Koekenberg wrote at 2006-5-3 14:47 +0200:
I use this code in a Python script and call this script within a DTML-IN
statement. What I need is a script to get only items with a date in the
future, today or in the past. The objects are DTML Documents with a date
property field.
Assuming,
Luca Dall'Olio wrote:
I have a simple dtml-method assignment-action that is called upon a
form post.
Why are you torturing yourself with DTML?
I'd urge you to try Python Scripts and Page Templates instead!
cheers,
Chris
--
Simplistix - Content Management, Zope Python Consulting
Hi to everybody,
I have a simple dtml-method assignment-action that is called upon a
form post.
Depending on the form request data, a dtml-if chooses between one of
two dtml-documents : assigment-success and assignment-failure :
dtml-if iscorrect()
dtml-var assignment-success
dtml-else
Luca Dall'Olio wrote:
Hi to everybody,
I have a simple dtml-method assignment-action that is called upon a
form post.
Depending on the form request data, a dtml-if chooses between one of
two dtml-documents : assigment-success and assignment-failure :
dtml-if iscorrect()
dtml-var
Luca Dall'Olio wrote at 2006-3-9 11:47 +0100:
I have a simple dtml-method assignment-action that is called upon a
form post.
Depending on the form request data, a dtml-if chooses between one of
two dtml-documents : assigment-success and assignment-failure :
dtml-if iscorrect()
dtml-var
Hello,
Is it possible to use a DTML-In to display all DTML Documents in a folder
exept the one's with a centain value in a property ?
Example.
DTML Documentone with property a=bc
DTML Document two with property a=de
DTML Documentthree with property a=bc
Now I want to use DTML-IN
Martin Koekenberg schrieb:
Hello,
Is it possible to use a DTML-In to display all DTML Documents in a
folder exept the one's with a centain value in a property ?
Example.
DTML Document one with property a=bc
DTML Document two with property a=de
DTML Document three with property a=bc
Now
+---[ Martin Koekenberg ]--
| Hello,
|
| Is it possible to use a DTML-In to display all DTML Documents in a folder
exept
| the one's with a centain value in a property ?
|
| Example.
|
| DTML Document one with property a=bc
| DTML Document two with property a=de
|
another question.
when I create a link with a filename and url from a database.
I do it like this:
a href=span tal:conent=result/urlurl goes here/span
span tal:conent=result/filenamefilename goes here/span
/a
this results in a link named as the true filename for ex:
filename.txt
but the link
+---[ Olivier Wambacq ]--
| another question.
|
| when I create a link with a filename and url from a database.
| I do it like this:
|
| a href=span tal:conent=result/urlurl goes here/span
| span tal:conent=result/filenamefilename goes here/span
| /a
This is DTML or a
Theiss [EMAIL PROTECTED]
To: Zope Mailing List zope@zope.org
Sent: Wednesday, December 07, 2005 4:50 PM
Subject: [Zope] dtml-tree (urlparam)
Dear list,
I have a problem using dtml-tree.
The page which contains a dtml-tree should show a dynamic parameter,
passed with to url calling the dtml
Dear list,
I have a problem using dtml-tree.
The page which contains a dtml-tree should show a dynamic parameter,
passed with to url calling the dtml-tree-page.
page_with_dtml_tree?myparam=yup
Before expanding or collapsing the tree, everything works fine.
But if I expand or collapse it,
Have you looked at this:
http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.15.html
Jonathan
- Original Message -
From: Ulla Theiss [EMAIL PROTECTED]
To: Zope Mailing List zope@zope.org
Sent: Wednesday, December 07, 2005 4:50 PM
Subject: [Zope] dtml-tree (urlparam)
Dear list
.')
-Original Message-
From: Andreas Jung [mailto:[EMAIL PROTECTED]
Sent: Monday, 21 November 2005 4:36 PM
To: Joshua Burvill; zope@zope.org
Subject: Re: [Zope] dtml-sqlvar problem with large strings?
--On 21. November 2005 16:30:10 +1100 Joshua Burvill [EMAIL PROTECTED]
wrote:
Using zope
--On 22. November 2005 08:42:32 +1100 Joshua Burvill [EMAIL PROTECTED]
wrote:
statement. So I will
Consider using parameters... as it says.
Otherwise I can look at switching to mxODBC. I wonder if that would
disallow such long statements as well?
You could try it and report back :-)
-aj
--On 21. November 2005 16:30:10 +1100 Joshua Burvill [EMAIL PROTECTED]
wrote:
Using zope 2.6.4 on win32 with kinterbasdbda (not sure what version),
firebird 1.0
This sounds like a bug in the kinterbasedbda. Since this is DA is not used
widely I would recommend to buzz the author of the DA
Hello,
I am trying to do a custom sort. I am using:
dtml-tree branches_expr=objectValues(['Folder'])
sort=orderInt skip_unauthorized
orderInt is an integer property of some folders. I
would like the dtml-tree tag to look up the property
of the current folder and sort based on the integer
value,
Thanks for your help AJ
I get this:
Error Type: SyntaxError
Error Value: invalid syntax (line 1)
dtml-tree branches_expr=[o for o in
objectValues(['Folder'] if hasattr('orderInt'))]
sort=orderInt skip_unauthorized
It doesn't like how I put spaces in objectValues()
attributes for if hasattr...
Am Montag, den 29.08.2005, 14:08 +1000 schrieb michael:
Thanks thats it! Why is it like that?
...
On 8/28/05, michael [EMAIL PROTECTED] wrote:
What am I doing wrong here?
dtml-var last -- this prints out the variable sent from last
(referring) page fine
dtml-var id -- this
What am I doing wrong here?
dtml-var last -- this prints out the variable sent from last
(referring) page fine
dtml-var id -- this prints out the id of the current item fine
dtml-if id == last this one! /dtml-if
i want this to output this one! when the current item is the one
requested
I have never been able to do that either and always wondered how to do
it. However I have a workaround that I use frequently. I just use
the title instead, which works perfectly.
dtml-if title == 'My Page' This one!/dtml-if
Greg
On 8/28/05, michael [EMAIL PROTECTED] wrote:
What am I doing
Thanks for your reply, that is half way there, I want to compare two
variables though. where as 'my page' is constant, and hard coded in.
someone's gotta know :-)
mike
Greg Fischer wrote:
I have never been able to do that either and always wondered how to do
it. However I have a workaround
Try calling id then comparing it.
dtml-if id()==last this one! /dtml-if
--
David
On Aug 28, 2005, at 7:19 PM, michael wrote:
Thanks for your reply, that is half way there, I want to compare two
variables though. where as 'my page' is constant, and hard coded in.
someone's gotta know :-)
Thanks thats it! Why is it like that?
m
David Siedband wrote:
Try calling id then comparing it.
dtml-if id()==last this one! /dtml-if
--
David
On Aug 28, 2005, at 7:19 PM, michael wrote:
Thanks for your reply, that is half way there, I want to compare two
variables though. where as
I have a problem writing a DTML page.
The page will be used to submit data to an SQL database, and the page
itself is working great, however I get all of my users to login via an
LDAP server using LDAPUserFolder. Once logged in the users can complete
a form, click submit and the data is
Hello everybody,
Im using Zope 2.7.0 on Windows XP Pro.
I pass some parameters from a form to a DTML method.
Inside that method i try to get the parameters with
dtml-var sSQL ( sSQL is the name of the submiting
form's field).
When i just use it as dtml-var sSQL everything is
ok.
When i use it
Am Donnerstag, den 04.08.2005, 11:33 +0100 schrieb Thomas Apostolou:
Hello everybody,
Im using Zope 2.7.0 on Windows XP Pro.
I pass some parameters from a form to a DTML method.
Inside that method i try to get the parameters with
dtml-var sSQL ( sSQL is the name of the submiting
form's
--- Tino Wildenhain [EMAIL PROTECTED] έγραψε:
Yes, you should write HTML when you want HTML ;)
This means, attribute values in HTML are supposed
to be in
(See the HTML source in your Browser when you
display
the page and you will know what I mean :)
So, if you really want DTML here,
I would like to be able to parse a very basic DTML string (a
ZSQLMethod on the file system actually) outside Zope, ie. without
having the whole zserver running.
The DTML inside the string is very basic. It doesn't use REQUEST or
aqcuisition. It's using dtml-if 1==2 and stuff.
I've tried looking on
- Original Message -
From: Peter Bengtsson [EMAIL PROTECTED]
To: zope@zope.org
Sent: Thursday, July 28, 2005 5:59 AM
Subject: [Zope] DTML parsing outside of Zope
I would like to be able to parse a very basic DTML string (a
ZSQLMethod on the file system actually) outside Zope, ie
script and post it on my blog soon.
On 7/28/05, Jonathan [EMAIL PROTECTED] wrote:
- Original Message -
From: Peter Bengtsson [EMAIL PROTECTED]
To: zope@zope.org
Sent: Thursday, July 28, 2005 5:59 AM
Subject: [Zope] DTML parsing outside of Zope
I would like to be able to parse
Allen Huang wrote:
How do I change my webpage into pdf using dtml or python script?
Reportlab is your friend. Google might help you find it ;-)
Chris
--
Simplistix - Content Management, Zope Python Consulting
- http://www.simplistix.co.uk
For simple conversion, you may find htmldoc to be a good choice.
Reportlab is a great tool but takes considerable effort; htmldoc
gives a good enough solution in many cases.
On Fri, 15 Jul 2005, Chris Withers wrote:
Allen Huang wrote:
How do I change my webpage into pdf using dtml or python
How do I change my webpage into pdf using dtml or python script?__Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___
Zope maillist - Zope@zope.org
This workaround is an excellent solution! I am doing:
dtml-if an_arg>
and a_table.an_array_fieldt[dtml-sqlvar an_array_key type=int>][2] = dtml-sqlvar a_title type=string>
/dtml-if>
and just insert above any optional statements. Many thanks Dieter
Regards,
David
On Sunday, July 10,
David Pratt wrote at 2005-7-8 14:08 -0300:
...
dtml-and
dtml-sqltest column=a_table.an_array_field[dtml-sqlvar
an_array_key type=int][2] name=a_title_var op=eq type=string
optional
. (rest of query)
The issue is how to test against these values when DTML cannot parse
them?
You can
I am using arrays in Postgres. I need to be able to compare a string value in a specific position of a text array field (text[] is a field type in Postgres) against a variable(argument) I am passing to my query. I am only using parts of the query to illustrate the problem as the rest is
Am Sonntag, den 19.06.2005, 06:08 +0200 schrieb Andy Kim:
No, I am not using the user system here.
It is just a simple use.
All I want is to put a session-conditional call for a dtml method within a
simple page with this method.
if not REQUEST.SESSION.get(marker,):
yourcall()
Hi,
I'm a beginner.
I'd like allow a dtml method call e.g. dtml-call method for one session only.
how do I do this with dtml?
could anyone help me?
thanks
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts
--On 18. Juni 2005 18:16:48 +0200 Andy Kim [EMAIL PROTECTED] wrote:
Hi,
I'm a beginner.
I'd like allow a dtml method call e.g. dtml-call method for one session
only. how do I do this with dtml?
could anyone help me?
What do you mean by that? Should it callable only once? If yes then of
Am Samstag, den 18.06.2005, 18:16 +0200 schrieb Andy Kim:
Hi,
I'm a beginner.
I'd like allow a dtml method call e.g. dtml-call method for one session
only.
how do I do this with dtml?
could anyone help me?
How often are you going to ask this? :)
No, not just only once but rather for one browser session.
If the page is reloaded again the method shouldnt be called.
Only if the user comes for a next visit, the method should be called again.
It actually should be easy, I'm just not familiar with dtml programming yet.
However I'd like to have
PROTECTED]; zope@zope.org
Sent: Saturday, June 18, 2005 6:58 PM
Subject: Re: [Zope] dtml sessions
Ah ha! you have as method that is supposed to be private to a particular
user. You should set the view permission for the method to be
Authorized User and have the method test for the particular
On 5/27/05, Hugo Ramos [EMAIL PROTECTED] wrote:
On 5/27/05, Chris Withers [EMAIL PROTECTED] wrote:
AT? As in ArcheTypes? You ARE kidding right? I've never seen such bad
code, and in particular, abuse of ZPT in my entire life...
And DTML sux, you wanna use it, fine, that says something
Am Montag, den 30.05.2005, 13:05 +0800 schrieb Ismet Dere:
I also like DTML a lot, found it way too easy to understand and simple to use.
I wonder how DTML is more easy then an equally simple
python expression in a script?
Lazy people should love ZPT since it saves a lot of typing
compared to
1 - 100 of 469 matches
Mail list logo