Hi all,
I have DTML-Method like below
dtml-try
dtml-call deleteUser(USERNAME=USERNAME)
dtml-except
An error occurred. Entry was bNOT/b deleted.
/dtml-try
deleteUser is Z-SQL method.USERNAME is the argument in Z-SQL method also
column name.
When i click erase button it succesfully deletes
I'm not familiar with DTML,
I would like to:
deleteUser(USERNAME=invalid USERNAME)
Does not throw an exception,
Should be judged through a function return value.
2013/2/1 murat bilal murat.bi...@gmail.com
Hi all,
I have DTML-Method like below
dtml-try
dtml-call
I'm not familiar with DTML.
In my opinion:
deleteUser(USERNAME=invalid USERNAME)
Does not throw an exception,
Should be judged through a function return value.
2013/2/1 Jian Aijun jianai...@gmail.com
I'm not familiar with DTML,
I would like to:
deleteUser(USERNAME=invalid USERNAME)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 02/01/2013 04:27 AM, murat bilal wrote:
I have DTML-Method like below dtml-try dtml-call
deleteUser(USERNAME=USERNAME)
dtml-except An error occurred. Entry was bNOT/b deleted.
/dtml-try
deleteUser is Z-SQL method.USERNAME is the argument
Hi,
I tried to send mail through SMTP localhost using dtml-sendmail. It
was working fine for many days. Currently it is not sending mails.
Could you please provide me pointers to debug this issue?
Thanks,
Lakshmi
___
Zope-Dev maillist -
Break the problem up. First thing to do is to check if sendmail is
working from the file system.
on unix
mail m...@mydomain.com
If that breaks, you know what to fix. If that works, double check your
configurations on your mailhost object.
And finally try just a 3 line sendmail file.
I have
Hi,
For AGX3, we started to use Jinja for the template, for example for
the generation of setup.py, we have:
version = '{{version}}'
setup(name='{{project}}',
version=version,
description={{description}},
...
The syntax is simpler than dtml we use in AGX2:
dtml-var description
HI Vincent.
I haven't looked an jinja to date. Will definately have a look at it.
I generate a lot of code (sql, gae models, storm schema, formish schema's)
from Enterprise Architect, and
currently using dtml for all non html/xml output.
Cheers
T
On Sun, Sep 5, 2010 at 3:35 PM, Vincent
On 5 September 2010 02:49, Tim Hoffman zutes...@gmail.com wrote:
Please note that DTML is a dead (and horrid) technology.
Martin
But zpt is horrible for doing non html/xml based things ;-), What do you
think is good alternative in the zope eco system now
for templating other types of
On Sun, Sep 05, 2010 at 11:13:05AM +0800, Tim Hoffman wrote:
Hi Florian
I use a model based generation approach (from enterprise architect) however
even archgenxml has templates for large amounts of boiler plate under the
hood.
Have you actually looked at the src of archgenxml, if you
On Sun, Sep 5, 2010 at 1:28 PM, Tim Hoffman zutes...@gmail.com wrote:
So I was looking for zope eco system based non html/xml based templating
systems as a response to Martin
saying DTML is dead, as I am currently using DTML for these sorts of tasks.
The Zope eco system for such tasks is the
Please note that DTML is a dead (and horrid) technology.
Martin
But zpt is horrible for doing non html/xml based things ;-), What do you
think is good alternative in the zope eco system now
for templating other types of things (sql, python ...) ?
T
On Sun, Sep 05, 2010 at 08:49:39AM +0800, Tim Hoffman wrote:
Please note that DTML is a dead (and horrid) technology.
Martin
But zpt is horrible for doing non html/xml based things ;-), What do you
think is good alternative in the zope eco system now
for templating other types
Hi Florian
I use a model based generation approach (from enterprise architect) however
even archgenxml has templates for large amounts of boiler plate under the
hood.
Have you actually looked at the src of archgenxml, if you did you will
notices it uses dtml for templating the code output ;-)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
We are offering another modest bounty.
3. Add dtml-comma to dtml-sqlgroup
dtml-sqlgroup allows groups of SQL terms to be applied to SELECT
statements but unfortunately it cannot be used with UPDATE. A patch
was written to add this
On Tue, 2004-03-02 at 18:24, Fábio Bruno wrote:
Dear Sir or Madamme
We are working with zope at school, it was proppoused to us to do an
imobiliary site and we like to know who we can do a for cicle or repeat to
search in our document whow many houses where added.
Your's faithfully,
Dear Sir or Madamme
We are working with zope at school, it was proppoused to us to do an
imobiliary site and we like to know who we can do a for cicle or repeat to
search in our document whow many houses where added.
Your's faithfully,
Fábio Bruno
Hi,
dtml-in "Catalog.searchResults({'meta_type':'Workitem', 'status':['active','inactive','fallout'], 'pull_roles':acl_users.getUser(REQUEST['worker']).getRoles()}) +Catalog.searchResults({'meta_type':'Workitem', 'status':['active','inactive','fallout'],'actor':worker})" sort=status,instance_id
On Wed, Aug 14, 2002 at 04:25:09PM -0400, Brian Lloyd wrote:
So here's what we'll do. Zope 2.6 will include the string tainting
changes, enabled by default. The tainting can be turned off by
providing an environment variable.
The next Zope 2.5.x release will contain the tainting code, but
Like I said before, this is probably a good feature. If it was
available as a
patch then I would probably use it on a number of my sites, and would
recommend it to others. I would be very happy see it (or
something like it)
in 2.7.
But not 2.6.
Then Jim wrote:
WRT to this change,
Jim Fulton wrote:
The plan is to release 2.6 as soon as we can. We're really busy with a
bunch of
customer work and haven't had as much time to work on this as we'd like.
Well actually this is more comforting than if you had a lot of time on
your hands ;-)
regards Max M
--
Sorry I
Dieter Maurer wrote:
Adrian Hungate writes:
We should avoid sending the wrong
message by making a hotfix for every little thing.
Shane
I'd like to second this. It was one of the contibuting factors in the
decision of my former employers to opt for spectra instead
On Friday 09 Aug 2002 4:33 pm, Tres Seaver wrote:
Whithout the fix, virtually every Zope site in the world is vulnerable
to URL-based cross-site scripting exploits. For instance, any URL which
contains invalid form variable marshalling can generate an error page
which includes the erroneous
I'd like to second this. It was one of the contibuting factors in the
decision of my former employers to opt for spectra instead of a Zope
solution (That already existed!!).
I, in contrary, appreciate the openess and fast response with
respect to security problems.
I do not
On Mon, Aug 12, 2002 at 03:51:24PM +0100, Toby Dickenson wrote:
On Friday 09 Aug 2002 4:33 pm, Tres Seaver wrote:
Whithout the fix, virtually every Zope site in the world is vulnerable
to URL-based cross-site scripting exploits. For instance, any URL which
contains invalid form variable
Jeffrey P Shell wrote:
On 8/9/02 8:43 AM, Toby Dickenson [EMAIL PROTECTED]
wrote:
...
Like I said before, this is probably a good feature. If it was available as a
patch then I would probably use it on a number of my sites, and would
recommend it to others. I would be very happy see it (or
On Thursday 08 Aug 2002 9:29 pm, Martijn Pieters wrote:
On Thu, Aug 08, 2002 at 08:19:12PM +0100, Toby Dickenson wrote:
I am about to land some big changes in the way DTML deals with data
taken from the REQUEST object when accessed implicitly, in both the
Zope Trunk and the Zope 2.5
On Fri, Aug 09, 2002 at 09:56:45AM +0100, Toby Dickenson wrote:
The risk for breakage is very small really
Your choice of '' and html_quote suggests that my dtml code which generates
javascript and vbscript carries a higher risk than dtml which generates html.
Only if you generated that
On Friday 09 Aug 2002 3:12 pm, Martijn Pieters wrote:
On Fri, Aug 09, 2002 at 09:56:45AM +0100, Toby Dickenson wrote:
The risk for breakage is very small really
Your choice of '' and html_quote suggests that my dtml code which
generates javascript and vbscript carries a higher risk than
On Fri, 2002-08-09 at 10:43, Toby Dickenson wrote:
On Friday 09 Aug 2002 3:12 pm, Martijn Pieters wrote:
On Fri, Aug 09, 2002 at 09:56:45AM +0100, Toby Dickenson wrote:
The risk for breakage is very small really
Your choice of '' and html_quote suggests that my dtml code which
Tres Seaver wrote:
Whithout the fix, virtually every Zope site in the world is vulnerable
to URL-based cross-site scripting exploits. For instance, any URL which
contains invalid form variable marshalling can generate an error page
which includes the erroneous value, unquoted. E.g.:
On 8/9/02 8:43 AM, Toby Dickenson [EMAIL PROTECTED]
wrote:
I agree it is true in most cases, but not all. Have you analysed how many
applications will be broken by this? how they can detect the breakage? I
certainly will not have time to assess the implications on my applications
before the
On Thu, Aug 08, 2002 at 08:19:12PM +0100, Toby Dickenson wrote:
I am about to land some big changes in the way DTML deals with data
taken from the REQUEST object when accessed implicitly, in both the Zope
Trunk and the Zope 2.5 branch.
In my opinion this change is completely unacceptable
The way I see it is this:
ZPT has (amongst others) the very nice property that it's trivial to
audit ZPT pages for non-quoted string output: just grep for 'structure'.
OTOH in DTML there's no way to do that, the default is unquoted output.
dtml-stuff; is a good step, but there's way too much
Likewise Im trying to digest all that and Im a little suprised. More magic
in DTML? Not something I'd vote for normally.
Im a little confused why this is suddenly an issue, yeah so we pull a string
out of the REQUEST and thanks to DTML stack we may not know where it came
from. Well thats always
On Fri, Aug 02, 2002 at 08:55:13AM -0700, Andy McKay wrote:
Likewise Im trying to digest all that and Im a little suprised. More magic
in DTML? Not something I'd vote for normally.
Im a little confused why this is suddenly an issue, yeah so we pull a string
out of the REQUEST and thanks to
Hi folks,
I am about to land some big changes in the way DTML deals with data taken
from the REQUEST object when accessed implicitly, in both the Zope Trunk
and the Zope 2.5 branch. These changes could potentially break existing
Zope sites.
Without these changes, Zope is somewhat vulnerable to
Hi!
I want to suggest a modification for the DTML Document/Method dtml-file
documentEdit.dtml
On default the textarea will be displayd with wrap=off . If I imported
XML-Files without line breaks it is difficult to edit the files via
DTML-Webfrontend. A property wrapmode could solve this:
(I report this here because the bug collector is down)
Having some problems sending attachements with dtml-sendmail, I have
been reported that the bug is:
dtml-mime doesn't generate MIME-Version: 1.0 header.
Such a header is required by MIME in order to recognize the
message as MIME message
On Thu, 28 Jun 2001 22:42:13 +0200 (CEST)
Dieter Maurer [EMAIL PROTECTED] wrote:
I expect that dtml-sqltest does not support the expr
attribute due to its optional.
It is not easy to define the semantics of optional for
arbitrary expressions.
True, but you already found a possible
Yves-Eric Martin writes:
I expect that dtml-sqltest does not support the expr
attribute due to its optional.
It is not easy to define the semantics of optional for
arbitrary expressions.
To overcome that problem, I think it would make sense to treat the
optional
Hello everyone,
I was recently working on a quite big ZSQL method (around 100 lines).
I was using only dtml-if and dtml-sqlvar tags and a lot of
like '%...%', so thought I could make things look much nicer using
dtml-sqlgroup and dtml-sqltest ... op=like optional. But I ran
into a big hurdle:
Yves-Eric Martin writes:
But unfortunately, dtml-sqltest ... does not seem to work.
We get the following error:
The ... shorthand for expr was used in a tag that doesn't
support expr attributes., for tag dtml-sqltest [...]
I expect that dtml-sqltest does not support the expr
seb bacon wrote:
* Joachim Werner [EMAIL PROTECTED] [010618 20:28]:
That's not the behaviour I'd expect. Can anyone confirm this is a
bug?
As LEE Kwan Soo has already said, it is not a bug, but a clever (too
clever?) feature that should maybe not be enabled by default. Every
Michael Bernstein wrote:
But the algorithm doesn't seem 'smart' enough to roll-up the
batches by recursing through them in reverse order. Arguably
though, you should never set your batch size smaller than
the orphan size, so this isn't really an issue.
so maybe the dtml batching code
* Joachim Werner [EMAIL PROTECTED] [010618 20:28]:
That's not the behaviour I'd expect. Can anyone confirm this is a
bug?
As LEE Kwan Soo has already said, it is not a bug, but a clever (too
clever?) feature that should maybe not be enabled by default. Every second
week or so somebody
Ivo, somehow I had missed the very start of the thread. I think that my
change pretty much implements the third alternative you describe in your
post, but for which you provided no patch (the one which defines the
variables at the top and bottom only, because I leave the if
index==first or
On Wed, Jun 13, 2001 at 04:28:12PM -0700, Jean Lagarde wrote:
Good day all,
Here is the original code, with my annotated change (I deleted an if test in
two places):
for index in range(first,end):
# preset
Hi,
First, I don't post to this list normally; is it the best place to
discuss an apparent bug?
Anyway, the lowdown:
If you iterate over a list with a batch size of 1, it messes up
towards the end of the sequence. For example, the following code:
dtml-call REQUEST.set('hoo',(1,2,3,4))
No it's not a bug(in code) but a feature.
May You call it a bug (in usability), though.
What causes it is that the orphan value defaults to 3 when not explicitely set.
See the online help for in tag.
LEE Kwan Soo
That's not the behaviour I'd expect. Can anyone confirm this is a
bug?
As LEE Kwan Soo has already said, it is not a bug, but a clever (too
clever?) feature that should maybe not be enabled by default. Every second
week or so somebody runs into this and thinks it is a bug.
To the DC people:
Joachim Werner wrote:
That's not the behaviour I'd expect. Can anyone confirm this is a
bug?
As LEE Kwan Soo has already said, it is not a bug, but a clever (too
clever?) feature that should maybe not be enabled by default. Every second
week or so somebody runs into this and thinks it
I've spent hours, maybe days, being confused about this as well.
According to the Zope API documentation and ZDP at
http://zdp.zope.org/projects/zfaq/faq/DTML/959888072
http://zdp.zope.org/projects/zsnippet/snippets/DTMLTags/CallingDTMLMetho
ds
someDTMLMethod(_.None, _) should
Title: RE: [Zope-dev] dtml-in batching improved
Back before the zope.org product directory became so easy to navigate I wrote an index
that I used to use which has batch links top and bottom:
http://www.zope.org/Members/haqa/productlist/view_source
Dunno if this helps...
Adrian
Nope, my solution used only one dtml-in and maybe a dtml-let, no
REQUEST
munging :-)
Ok, show me :)
Hurm... gimme a shout next Thursday when I have access to the code again
;-)
Actually, scratch that, check out the folder_contents.dtml file in
CMFDefault/skins of the CMF.
It does
Nope, my solution used only one dtml-in and maybe a dtml-let, no REQUEST
munging :-)
Ok, show me :)
Hurm... gimme a shout next Thursday when I have access to the code again ;-)
cheers,
Chris
___
Zope-Dev maillist - [EMAIL PROTECTED]
On Thu, May 31, 2001 at 05:36:21PM +0100, Chris Withers wrote:
I've done it myself as well using (as described in the posting) two
dtml-in's (the second one purely for displaying the prev/next links).
Is your solution any different? (The only one I can think of is storing
the info in
When using batching in dtml-in, why is 'previous-sequence' only defined at
the first iteration of the current batch? And why is 'next-sequence' only
defined at the last iteration of the current batch?
I know this problem ;-)
I had it too, and stuck something in the collector about it. I did
On Wed, May 30, 2001 at 10:02:31PM +0100, Chris Withers wrote:
When using batching in dtml-in, why is 'previous-sequence' only defined at
the first iteration of the current batch? And why is 'next-sequence' only
defined at the last iteration of the current batch?
I know this problem ;-)
Ivo van der Wijk wrote:
On Wed, May 30, 2001 at 10:02:31PM +0100, Chris Withers wrote:
When using batching in dtml-in, why is 'previous-sequence' only defined at
the first iteration of the current batch? And why is 'next-sequence' only
defined at the last iteration of the current
I've done it myself as well using (as described in the posting) two
dtml-in's (the second one purely for displaying the prev/next links).
Is your solution any different? (The only one I can think of is storing
the info in your REQUEST object and using it later, but that's really
ugly.)
Hi all,
When using batching in dtml-in, why is 'previous-sequence' only defined at
the first iteration of the current batch? And why is 'next-sequence' only
defined at the last iteration of the current batch?
This behaviour makes it difficult to display a batch like this:
-- begin sample --
Hi!
Dunno if it's again my strange setup, but I have some problem with dtml-in or
maybe I simply didn't get something right..
Well, I used the following dtml code:
html
dtml-in expr=[1,2,3,4,5,6] size=4
abr
/dtml-in
/html
and I thought I will get three a's as output.. instead I get 6..
If I
Hi Christian,
--On Montag, 28. Mai 2001 15:38 +0200 Christian Scholz [EMAIL PROTECTED]
wrote:
Hi!
Dunno if it's again my strange setup, but I have some problem with
dtml-in or maybe I simply didn't get something right..
Well, I used the following dtml code:
html
dtml-in
Hi!
ok, some more people told me now about it.. ;-)
It's not that intuitive nevertheless.. (IMHO) ;-)
cheers and thx,
Christian
On Mon, May 28, 2001 at 05:20:39PM +0200, Tino Wildenhain wrote:
Hi Christian,
--On Montag, 28. Mai 2001 15:38 +0200 Christian Scholz [EMAIL PROTECTED]
Brett Carter wrote:
What can I do to maximize the peformance of a dtml-in statement?
When iterating over a 2000 row database query, it takes about 20
seconds - time mostly spent doing security checks, and calling
__getitem__ in DT_InSV.py. Is the performance of dtml-in just slow?
-Brett
What can I do to maximize the peformance of a dtml-in statement?
When iterating over a 2000 row database query, it takes about 20
seconds - time mostly spent doing security checks, and calling
__getitem__ in DT_InSV.py. Is the performance of dtml-in just slow?
-Brett
Another
What can I do to maximize the peformance of a dtml-in statement?
When iterating over a 2000 row database query, it takes about 20
seconds - time mostly spent doing security checks, and calling
__getitem__ in DT_InSV.py. Is the performance of dtml-in just slow?
-Brett
Brett Carter writes:
I tried accessing keys off the 'data' object, and I just get an
'unathorized' error.
Dieter The attributes your are looking for are in fact keys
Dieter of the mapping 'data'.
Sorry for the misleading answer.
"data" is not supposed to be used directly.
I tried accessing keys off the 'data' object, and I just get an
'unathorized' error.
-Brett
"Dieter" == Dieter Maurer [EMAIL PROTECTED] writes:
Dieter Brett Carter writes:
I'm running Zope 2.2.2, and I'm trying to use the batching stuff for
the dtml-in tag, however, I can't seem
Does anybody have an example of how to use the supposed next-batches
mapping returned by dtml-in?
I'm trying to build a google-like pageing feature into my application,
so we just show the first 5 results, then have a link to each next
page, ie "1,2,3,4..."
Thanks,
-Brett
ECTED] [mailto:[EMAIL PROTECTED]]On Behalf
Of Brett Carter
Sent: Wednesday, March 07, 2001 6:34 PM
To: [EMAIL PROTECTED]
Subject: [Zope-dev] dtml-in: next-batches
Does anybody have an example of how to use the supposed next-batches
mapping returned by dtml-in?
I'm trying to build a google-like pag
I've also discovered that setting overlap = 0 actually causes
everything to overlap by 1. I didn't see anything in the collector
about this either...
-Brett
"Brett" == Brett Carter [EMAIL PROTECTED] writes:
Brett I'm running Zope 2.2.2, and I'm trying to use the batching stuff for
Brett Carter writes:
I'm running Zope 2.2.2, and I'm trying to use the batching stuff for
the dtml-in tag, however, I can't seem to access any attributes off
the 'next-batches' or 'previous-batches' mapping object that's
supposed to be available, with the attributes 'batch-start-index',
I'm running Zope 2.2.2, and I'm trying to use the batching stuff for
the dtml-in tag, however, I can't seem to access any attributes off
the 'next-batches' or 'previous-batches' mapping object that's
supposed to be available, with the attributes 'batch-start-index',
'batch-end-index', and
Steve Alexander wrote:
Itai Tavor wrote:
Hi,
I got a ZClass 'Test', with a DTML Method 'view' containing
dtml-var id, and a DTML Document 'view2' with the same line.
instance/view works. instance/view2 returns (ZDebug output):
From SimpleItem.py:
"""Direct use of the 'id' attribute is
Itai Tavor wrote:
Hi,
I got a ZClass 'Test', with a DTML Method 'view' containing dtml-var
id, and a DTML Document 'view2' with the same line. instance/view
works. instance/view2 returns (ZDebug output):
From SimpleItem.py:
"""Direct use of the 'id' attribute is deprecated - use
Hi,
I got a ZClass 'Test', with a DTML Method 'view' containing dtml-var
id, and a DTML Document 'view2' with the same line. instance/view
works. instance/view2 returns (ZDebug output):
Error type: Unauthorized
Error value: The object /test/view2, which is contained in
/test/view2, is marked
[EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
The dtml-in batching mechanisms are quite difficult to debug - the DTML
documentation I have has examples which break it and there's no indication
of why. It turns out the DT_In renderwb() code gobbles all exceptions from
the rendering
Casey Duncan wrote:
If not, I will make a patch for DT_String to support this. The
beneficial side affect would be that dtml-comment could be "fixed" so
that its contents need not be parsable anymore, just like every other
language I know of.
With your patch applied, will nested
Steve Alexander wrote:
With your patch applied, will nested dtml-comment tags still work?
dtml-comment
Some code commented out
dtml-comment
Documentation in a comment
/dtml-comment
Rest of code commented out
/dtml-comment
--
Steve Alexander
Software Engineer
Casey Duncan wrote:
Steve Alexander wrote:
With your patch applied, will nested dtml-comment tags still work?
dtml-comment
Some code commented out
dtml-comment
Documentation in a comment
/dtml-comment
Rest of code commented out
/dtml-comment
--
Tres Seaver wrote:
[EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
The dtml-in batching mechanisms are quite difficult to debug - the DTML
documentation I have has examples which break it and there's no indication
of why. It turns out the DT_In renderwb() code gobbles all
On Wed, 24 Jan 2001 [EMAIL PROTECTED] wrote:
Tres Seaver wrote:
Please post this as a "Bug w/ patch" to the Collector:
http://classic.zope.org:8080/Collector
That way we don't lose your fix in the list traffic (losing it
along with our marbles is another problem :)
Someone
On 24 Jan 2001, at 9:43, [EMAIL PROTECTED] wrote:
Tres Seaver wrote:
Please post this as a "Bug w/ patch" to the Collector:
http://classic.zope.org:8080/Collector
That way we don't lose your fix in the list traffic (losing it
along with our marbles is another problem :)
Brad Clements wrote:
On 24 Jan 2001, at 9:43, [EMAIL PROTECTED] wrote:
Tres Seaver wrote:
Please post this as a "Bug w/ patch" to the Collector:
http://classic.zope.org:8080/Collector
That way we don't lose your fix in the list traffic (losing it
along with our marbles is
On 24 Jan 2001, at 11:15, [EMAIL PROTECTED] wrote:
Brad Clements wrote:
I posted this same bug AND a patch as bug # 1566 on Aug 28th, 2000.
http://classic.zope.org:8080/Collector/1566/view
Sad to see its *still* pending
Well that's odd - I searched the collector for "dtml-in"
Casey Duncan wrote:
OK, I have developed a new patch that almost completely fixes this
issue. In fact I am happier with it in general than my first patch.
There is only one flaw, although you can nest comments inside of one
another, and you can have any manner of broken dtml inside, if you
The dtml-in batching mechanisms are quite difficult to debug - the DTML
documentation I have has examples which break it and there's no indication
of why. It turns out the DT_In renderwb() code gobbles all exceptions from
the rendering of the previous and next blocks. I've hacked my code so that
[EMAIL PROTECTED] wrote:
The dtml-in batching mechanisms are quite difficult to debug - the DTML
documentation I have has examples which break it and there's no indication
of why. It turns out the DT_In renderwb() code gobbles all exceptions from
the rendering of the previous and next
[EMAIL PROTECTED] wrote:
The dtml-in batching mechanisms are quite difficult to debug - the DTML
documentation I have has examples which break it and there's no indication
of why. It turns out the DT_In renderwb() code gobbles all exceptions from
the rendering of the previous and next
The Doctor What writes:
What are the differences between DTML Documents and Methods
internally?
There are too small differences:
1. DTML documents implement the "PropertyManager" interface,
i.e. they can have properties other than "id" and "title".
2. DTML documents place themselves
What are the differences between DTML Documents and Methods
internally? I was just thinking about the problems every new user
(and experienced users, every so often) have regarding DTML
Documents vs DTML Methods.
Aren't they really the same except that Documents are anchored (ie,
don't allow
You should look through the mailing lists there is generous amounts of
answers to this. For me the two sit philosophically linked in the acquisition
model. Acquisition is partially about actions working in environments, with the
environment decribing the quality of the result. You can
If this is your exact code, it looks like you should be using
"sequence-item", instead of "sequence_item".
You should also be able to do it without the external method like this:
(100% untested)
dtml-in expr="_.string.split(acctUsersEmail)"
dtml-var name="sequence-item"
/dtml-in
"David W.
Johann Loibl wonders:
What does the following line means?
href="dtml.url-mail_password_form;
how to work with '' ?
This means to substitue the value stored in the variable
"mail_password_form"
as an "absolute URL". It's known as "DTML Entity Syntax".
Check out:
Hi,
I've run into a bug with dtml-try/except with Zope 2.2.0b3.
I have a folder called 'root' that looks like this:
one (folder)
two (folder)
three (folder)
a_one (dtml method)
a_two (dtml method)
index_html (dtml method)
index_html looks like this:
dtml-try
dtml-var
Hello!
Currently dtml-in does not use locale when sorting the sequence. Before
creating a patch I want to discuss a way dtml-in should handle this. The
problem is that list.sort() does not sort according to koi8-r cyrillic
locale; to make sort locale-aware I need to list.sort(locale.strcoll).
On Tue, 20 Jun 2000, mike wrote:
But how I could ask dtml-in to use locale.strcoll? Should I add another
option to dtml-in? Something like
dtml-in somesequence sort=name use_locale ?
I use dtml-in "ru_sort( somesequence)"
A bit slower but works like hammer.
I want to use all
Does anybody have subject?
Thanks,
Mike
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
1 - 100 of 101 matches
Mail list logo