, but according to "Python Essential
Reference" p. 117, it is indeed present in the string module:
replace( str, old, new [,max] )
--
Dennis Nichols
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailma
arse Error
Invalid attribute name, "absolute_url", for tag dtml-var
"restrictedTraverse(choice)" absolute_url ...
--
Dennis Nichols
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zo
mply by "delaying" the closing ''. For example,
dtml-var "_['start'].strftime('%m/%d%y')"
dtml-if "start != end"
-dtml-var "_['end'].strftime('%m/%d%y')"
/dtml-if
--
Dennis Nichols
[EMAIL PROTECTED]
___
1. Can I blithely use BTreeFolder in place of Folder without loss of
functionality?
2. Can I successfully inherit from BTreeFolder in ZClasses (assuming that I
uncomment registerBaseClass, which has been commented out in all
BTreeFolder versions so far)?
--
Dennis Nichols
[EMAIL PROTECTED
.
dtml-if "AUTHENTICATED_USER=='Anonymous User'"
Guest
dtml-else
dtml-var AUTHENTICATED_USER
/dtml-if
Thanks. Maybe I shouldn't work on Saturdays. Zope 2.2.2 roughly, Python
1.5.2, RH 6.2
--
Dennis Nichols
[EMAIL
I can just fix this within my own product(s) by returning
various fields in a manner something like this:
Stored as STX, return as HTML
return str(StructuredText.HTML(self.description))
Stored as STX, return as raw, or stored as HTML, return as HTML
return self.description
and so o
, you might want to also include the free Moock "fpi"
(f.lash p.layer i.nspector) found at
http://www.moock.org/webdesign/flash/detection/moockfpi/
--
Dennis Nichols
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://list
? That would be very cool. Thanks!
--
Dennis Nichols
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope
% of that on its busiest days. This would not be
remarkable except that the response times from zope.org seem to usually be
10 seconds or so. I am on a T-1 line and 13 hops and 80ms from the zope.org
server.
--
Dennis Nichols
[EMAIL PROTECTED
.
--
Dennis Nichols
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org
pealing for guidance.
Zope 2.2.2, Python 1.5.2, RH 6.2, etc
Thanks!
--
Dennis Nichols
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
h
my product's __init__ routine, that
sets the catalog for the rest of the object's existence, not just the
__init__ routine. And so I don't have to set it again in any edit routine,
nor do I have to worry about the object's deletion.
Tested and working. Many thanks.
--
D
in the r'...' string.
import re
def wellformedEmail(self, address):
""" return true if email address appears to be well formed """
m =
re.search(r'^[_a-z0-9-]+(\.[_a-z0-9-]+)*@([0-9a-z][0-9a-z-]*[0-9a-z]\.)+[a-z]{2,3}$',
address, re.IGNORECASE)
return m !=
, level+1)"
dtml-call "REQUEST.set('NodeToShow', _['sequence-item'])"
dtml-var display_menu
dtml-call "REQUEST.set('level', level-1)"
/dtml-if
/dtml-in
/dtml-if
Not my finest piece of coding, but maybe it will help.
--
Dennis Nichols
[EMAI
ss
of whatever to a name and some aliases. Does this mean that
I should have a line 111.222.111.222 myhost.com myhost
or is something else implied.
3.1 meaning "http_port myhost.com:8070" ?
3.2 this means?
All help sincerely appreciat
I can do
dtml-call "REQUEST.set('something','whatever')"
Having done that, I'd like to be able delete 'something' and I do NOT mean just
dtml-call "REQUEST.set('something','')"
I want it gone! Come on, humor me... is there a good way to do this?
--
Dennis Nich
contains arbitrary
input from users. Wasn't true for me but it might be for you.
A curiosity: the description in Python Essential Reference says getoutput
uses os.popen2() to execute the command, but I was too lazy^H^H^H^H busy to
investigate further.
--
Dennis Nichols
[EMAIL PROTECTED
parameter for the edit mode to pre-populate the
element.
dtml-var company_id missing
--
Dennis Nichols
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Rel
, what and where is IEMethod? Zope.org search turns up nothing.
--
Dennis Nichols
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http
ce to have a sequence-midpoint ? But then somebody
would surely want a sequence-first-quartile and so on :-)
--
Dennis Nichols
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross pos
At 1/10/01 01:22 PM, Timothy Wilson wrote:
On Wed, 10 Jan 2001, Dennis Nichols wrote:
Or, if you insist that dates flow down the columns like I do, you could
use
this untested revision of Max's solution
stuff removed
This doesn't seem to work. The if statement only evaluates to true
TTP%j" %c %b "%f" "%B")
LOGFORMAT (%S: %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B")
--
Dennis Nichols
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.or
then you can't bookmark that particular content.
What to do about that?
--
Dennis Nichols
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists
ddtml-call "REQUEST.set('maand',1)"/dtml-unless
--
Dennis Nichols
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/m
that is more of a
correction than it is an extension. Now just don't get me started on
"_['index-whatever']" :-)
--
Dennis Nichols
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/z
about this one possible
solution, would be:
How can I extend Zope to give me a list of objects qualified by more than
just the meta_type?
Guidance gleefully gathered. Thanks!
--
Dennis Nichols
[EMAIL PROTECTED]
___
Zope-Dev maillist - [EMAIL
Method (install the PythonMethods product first) called say,
publishableObjectValues that does that:
paramself/param
# functions that returns publishable objects
result = []
for o in self.objectValues():
if o.isPublishable(): result.append(o)
return result
--
Dennis Nichols
[EMAIL PROTECTED
PServer.py:
http://www.zope.org/Members/4am/postfixbug
Or, even more, http://www.zope.org/Members/4am/postbugfix
--
Dennis Nichols
[EMAIL PROTECTED]
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No c
28 matches
Mail list logo