On Mon, Jul 01, 2002 at 03:49:07PM -0300, Sidnei da Silva wrote:
On Seg 01 Jul 2002 15:26, Jim Fulton wrote:
| I'll add that the current ZPT implementation is too slow
| (thanks to recent DTML speedups ;).
|
| ZPT needs to be as fast as or faster than DTML. It would be
| great if it was
On Sat, Apr 06, 2002 at 10:52:27AM +0100, Adrian Hungate wrote:
My question is this: Everyone is saying The ZMI is bad, it's confusing,
users don't like it.
Which everyone? Not me.
Could anyone show me evidence of this? Personally I
love the ZMI in the current versions. I have also found
On Thu, Apr 04, 2002 at 03:05:39PM -0600, Stephan Richter wrote:
Hello everyone,
as we are moving forward developing Zope 3 with large steps, it becomes
more and more desirable to think about a nice frontend (ZMI) for Zope 3.
However the skill set of the developers currently working on
On Wed, Jul 11, 2001 at 11:38:20PM +1200, Mick wrote:
Hi,
I am trying to make a product act like an external method, or dtmlmethod.
Basically I have taken the minimal product and added a __call__ function.
It works fine, and can be called as a function of the object that contains
it. The
I'm thinking here that subclassing Script is the way to go for
any object that needs finer control on how it is called - and
I'll say that of any class that doesn't just do
index_html = HTMLFile(foo, globals())
So, I wrote a How-To. It's definitely not ready for prime-time,
as I haven't
On Mon, Jun 25, 2001 at 06:36:30PM -0500, Stephan Richter wrote:
But when I started reading it, I wanted to learn more of how I could
implement a new scripting language into Zope, such as a ZOQL (as mentioned
on the SmartObjects mailing list:
On Fri, Jun 01, 2001 at 07:33:43AM +1000, Albert Langer wrote:
A note to component developers - as of Zope 2.4 ExtensionClass has not been
updated to support all of the new magic protocols that Python classes
support (we're hoping that EC will go away soon).
What does hoping that EC will
raise ZopeProject('http://dev.zope.org/Wikis/DevSite/Proposals/PropertyRevamp')
We at Hiperlogica realize a lot of you people prefer to write
your code in Python in the filesystem. However, we also believe
the power of Zope's trough-the-web RAD framework is one of the
reasons for its success;
On Mon, Apr 30, 2001 at 09:34:53PM -0700, Simon Michael wrote:
Zope or the codeit setup didn't seem to see things in
INSTANCE_HOME/Shared and I don't have access to SOFTWARE_HOME/Shared.
Hmm. Rolled newspaper for them. :-)
What's the reason for this new level of indirection, the
On Thu, Apr 26, 2001 at 01:21:01AM -0700, Simon Michael wrote:
Hi Lalo,
thanks for your work on ZUnit. I have just been playing with 0.2.
Thank you for your feedback.
To get it working in my zope account at Codeit, I moved Hiper from
Shared/ to Products/ and changed the import
On Fri, Apr 13, 2001 at 11:48:39PM +0100, Chris Withers wrote:
The WebDAV (and XMLRPC) stuff either needs to be decomposed to run on its
own port (and only that port) or more explicit permissions need to be
associated with WebDAV/XMLRPC operations if we take for granted that being
able to
On Sun, Apr 08, 2001 at 11:14:51PM +0200, Robert Rottermann wrote:
Hi there,
I need the help with the following situation:
The easiest way is to make more use of DTML and not try to bend
it so much:
dtml-in expr="PARENTS[0].data()"
OPTION selected value="dtml-var
BTW - you're not confused by Acquisition, you're confused by
DocumentTemplate's calling conventions (you can't call it with
zero parameters, not if you want it to work anyway)
[]s,
|alo
+
--
Hi there
I just found out (while coding ZUnit 0.2) that ZUnit 0.1
doesn't work on Zope 2.3.x for some reason.
The method manage_startTests of the TestRunner class creates an
instance of TestResults, runs the tests with it (using
RESPONSE.write(), if this makes a difference), then adds it to
On Thu, Jan 18, 2001 at 12:38:29PM +0800, Bak@kedai wrote:
hello all
scuse my ignorance. i have this[1] in a hiperdom instance (partial text from
hiperdom howto). but i got this[2] error when i clicked change.
i know it's me not understanding XML well enough.
There's no HiperDom HOWTO,
In the future, if you choose to respond to spam, don't CC the
list, please.
[]s,
|alo
+
--
Hack and Roll ( http://www.hackandroll.org )
The biggest site for
Found a bug, I think... when I try to add a property to a
PropertyManager (but not a PropertySheet?) I get:
Error Type: ImportError
Error Value: cannot import name checkValidId
Traceback (innermost last):
File /opt/Zope-2.3.0a1-src/lib/python/ZPublisher/Publish.py,
line 222, in
Okey, so I decided to start by the last chapter (Appendix B)
;-) in lynx, /method hilighted:
From Python
Products, External Methods, and PythonMethods can call a
DTML Document in the same way as calling a DTML Document
from a Python expression in DTML; as
Okay, one more to raise my chances ;-) (I really want this book!)
First create a new Folder named exhibitTemplate in your
Product. This will serve as a template for exhibits. Also in
the Product folder create a DTML Method named addForm, and
restricted Python Method
On Mon, Dec 04, 2000 at 02:56:26PM -0800, Michel Pelletier wrote:
On Mon, 4 Dec 2000, Lalo Martins wrote:
The first section is the advocacy section; it will begin with
"if you already do unit tests, you may want to skip this
section". I'm not sure if the history lesson is ou
On Thu, Nov 30, 2000 at 08:10:15AM -0500, Jim Fulton wrote:
Lalo Martins wrote:
Please help stamp out Data.fs! :-)
I don't think Data.fs will go away. I do expect it to be relagated to
initial evaluation and development projects. Use of Berkely DB in
transactional mode requires
om.br/lalo/pessoal/pgp
Brazil of Darkness (RPG)--- http://zope.gf.com.br/BroDar
Unit testing Zope Products with ZUnit
by Lalo Martins
Unit Testing
What is Unit Testing
Where does it come from
How should it be done
Refactor mercilessly!
Writing Tests
Impor
On Wed, Nov 29, 2000 at 07:02:50AM -0500, Chris McDonough wrote:
Of course it would, for the same reasons as OracleStorage (eg
FileStorage/Data.fs is inefficient)
Actually, it's the other way around. OracleStorage is 30-to-50 times slower
than FileStorage on writes. Reads are slow too
a report to the list.
- Original Message -
From: "Lalo Martins" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 29, 2000 8:42 AM
Subject: Re: [Zope-dev] OracleStorage, and possibly others
On Wed, Nov 29, 2000 at 07:02:50AM -0500, Chris McDon
On Wed, Nov 29, 2000 at 04:28:26PM +, Ty Sarna wrote:
Lalo Martins wrote:
What about the other Storage projects? BerkeleyStorage has been
dead for an year.
It's not dead, it's just pining for the fjords!
Seriously, AFAIK it still works, and it's mainly just stalled waiting
Create all your ZClasses normally, and make projectfolder a
subclass of Folder. Then, move all the Factories (except the
projectfolderFactory) to inside the projectfolder ZClass. This
should do the same trick as LocalFactory.
On Mon, Nov 27, 2000 at 02:38:42PM +0100, Stefan H. Holek wrote:
I
I made releases of both HiperDom and ZUnit yesterday. (Yes,
yesterday, Tuesday. I just forgot to make the announcement. Duh.)
The big news is that HiperDom is fully ZUnit-tested (which
gives you an idea of its API if you check the source of
HiperDomTests.py) and some buglets were fixed in the
On Mon, Nov 13, 2000 at 06:40:31PM +0100, Juan David Ibáñez Palomar wrote:
has come to my ears that there's people who doesn't use Zope because
its license is GPL-incompatible, more info here:
http://www.fsf.org/philosophy/license-list.html#GPLIncompatibleLicenses
They say it's an
Well, two betas of OracleStorage in one day, then a month and a
half of silence. What's the status?
What about the other Storage projects? BerkeleyStorage has been
dead for an year, and I heard pretty nasty words about
InterbaseStorage. What about someone who wanted to try to port
OracleStorage
On Mon, Nov 13, 2000 at 01:14:51PM +0100, Rik Hoekstra wrote:
On the other hand: I did that, and Hiperdom would neither expand nor
display, in both giving some xml Node exception. So in fact I thought it
was still under construction. The 'patching' was on win32 and manual, so
I probably did
On Mon, Nov 13, 2000 at 10:03:06AM +, Chris Withers wrote:
Lalo Martins wrote:
HiperDom is usable right now; we've been quite quiet because
we're working on documentation and unit testing (and to have
unit testing, we had to have ZUnit).
Right now, we would "r
On Fri, Nov 10, 2000 at 10:28:44AM +, Chris Withers wrote:
Oh yeah, while I'm here, how's the HiperDOM project getting on? That
stuff would be raally useful for a project here...
HiperDom is usable right now; we've been quite quiet because
we're working on documentation and unit
Okay, the cat is out of the bag (in fact, going to Rio for the
weekend) and the worms are out of the can (better worms than
bugs, anyway). ZUnit, the Product all lazy programmers were so
afraid of, is available for review and download from your usual
shop at http://www.zope.org/Members/lalo/ZUnit
Is it possible to "stream" (send data to the client via HTTP
incrementally) from Python code, or does ZPublisher only send
the data as a single wad when the method returns?
Assuming it is possible, obviously it requires using some other
API rather than just 'return'ing a string... where can I
On Mon, Oct 30, 2000 at 12:23:36PM +1100, Terry Kerr wrote:
Isn't that dependant on the protocol u are using to transfer the data?
HTTP can't do streaming. You can sort of do streaming using the
experimental multipart content type, but IE browers don't recognise it,
so it is pretty useless.
On Mon, Oct 30, 2000 at 12:48:53PM +1100, Terry Kerr wrote:
That is not streaming. That is just as you said..lack of bandwidth delaying
the entire page arriving at once at you browser. That is not contolled. The
server doesn't send it 'bit by bit' in a controlled manner.
But if it did, the
of ZUnit next week or in the other.
In the meanwhile, please comment in the proposal's discussion
page :-) (or here)
On Mon, Oct 23, 2000 at 10:56:31PM -0200, Lalo Martins wrote:
We (I and Hiperlógica) started to develop a Product we called
ZUnit, intended for XP-style unit-testing Python-based
We (I and Hiperlógica) started to develop a Product we called
ZUnit, intended for XP-style unit-testing Python-based
Products in a full Zope environment (with a real ZODB, REQUEST,
RESPONSE, etc).
We first conceived it as a kind of Zope-based version of
unittestgui.py - you create a "TestRunner"
On Tue, Oct 10, 2000 at 11:56:11AM +0200, Pierre-Julien Grizel wrote:
So - I had a look at DTMLDocument.py and saw the following method :
def __call__ (self, client = None, REQUEST = {}, **kw):
...
SO - I try to create this method for my product :
def __call__ (self, client =
On Thu, Oct 05, 2000 at 10:01:15AM +0100, Chris Withers wrote:
Lalo Martins wrote:
This is on Zope 2.2.1. I'd really appreciate some clues on how
to bust these ghosts.
Have you put a full description in the bug collector yet?
Now it is. It was assigned number 1676.
I also busted my
We released HiperDom 0.1 Saturday (this message is dated Monday
because it's when the objects got cataloged).
This version is Python-based, fully functional to the last
letter of the spec (except for hdom:method where we cleaned up
the interface a bit), fully HelpSys'ed, heck, it even has an
On Mon, Oct 02, 2000 at 10:14:41PM -0500, Tim Cook wrote:
"Dario Lopez-Kästen" wrote:
as seen on cms list. Would this affect Zope in any way?
Standard IANAL disclaimer. But, I read the patent. It looks like
Zope is okay. You just can't build an application on it (or
anything else where
We wished to release the new development version of HiperDom
under the ZPL, but we figured it wouldn't be that simple, as
the license text is all littered with "Digital Creations".
Is it just a matter of s/Digital Creations/Hiperlógica/g? Is
this even legal?
(This message is mostly rethorical,
On Tue, Sep 19, 2000 at 11:19:22AM -0600, Joshua Brauer wrote:
Here's another try at getting this question addressed I
have 2 Zope installs. On the newer one (2.2.1) when I try to
import KM Net News (to install in the products list) I get the
following error. Note I previously deleted KM
On Sun, Sep 17, 2000 at 11:22:49PM -0300, Lalo Martins wrote:
Why doesn't Anonymous have permission to call has_permission on
itself? This is counter-intuitive to say the least...
Ooops... they have, kind of. The Anonymous user object inherits
the permissions from the top-level User Folder
On Mon, Sep 18, 2000 at 10:47:35PM -0300, Lalo Martins wrote:
CatalogAwareness in 2.2.x doesn't follow the new ZCatalog
traversal standard - it uses absolute_url() to get the url it
will give to the ZCatalog, and ZCatalog now wants an absolute
(non-virtual) path. In practice, this means
On Sun, Sep 17, 2000 at 12:42:00PM -0400, Paul Everitt wrote:
[EMAIL PROTECTED] wrote:
BTW, please don't call the solution "xHTML Template"; it's not
xHTML, it's generic XML - it can easily be used for RSS or WML
or MathML or NewsML for example.
While it *can* be used that way (just as
On Sun, Sep 17, 2000 at 03:51:35PM -0400, Shane Hathaway wrote:
[EMAIL PROTECTED] wrote:
Why? WML-oriented people with WML-oriented tools would benefit
from it just as much, for example. (Are there WML-oriented
tools already?)
What Paul is saying is that we need to make it work for
Why doesn't Anonymous have permission to call has_permission on
itself? This is counter-intuitive to say the least...
[]s,
|alo
+
--
Hack and Roll ( http://www.hackandroll.org )
I finally went to upgrade our production machine (the one which
runs cosmetica.com.br and hackandroll.org) to Zope 2.2.
When I did (and after upgrading SiteAccess and updating its
objects with the provided script), BannerFolders and BannerAds
stopped working.
So, I went to the Control Panel and
On Fri, Sep 15, 2000 at 08:21:21AM -0400, Paul Everitt wrote:
I'm surprised that no one responded to this. (Or maybe people did and
our continual email server problems have lost it.)
Me too.
I'd like to congratulate Hiperlogica, because they have (ding ding ding)
the _right answer_! :^)
On Thu, Sep 14, 2000 at 10:23:21AM +0200, Nils Kassube wrote:
[EMAIL PROTECTED] (Lalo Martins) wrote:
Renderable wasn't even GPL'ed to begin with. And this isn't a
mistake; now that I think if it, I clearly remember having
chosen the ZPL so that DC folks could easily take the changes
We (I and Hiperlogica, a company I consult with) have been
developing a template renderer with similar intent to xmlc
(be based on XML/DOM, allow the template to be previewed and
edited using tools not aware of the format, such as xHTML
editors, and enforce presentation/logic separation).
As the
I replied to the message below promising to edit Renderable's
README to explicitly declare that I don't consider ZClass
subclassing to be a derivative work for the purposes of the
GPL.
Somehow, I didn't get my reply from the list. But never mind.
I went to my folder on Zope.org to edit the
On Tue, Sep 12, 2000 at 06:02:15PM +0200, Nils Kassube wrote:
[EMAIL PROTECTED] (Oleg Broytmann) wrote:
No, you are not forced to publish anything. GPL "virus" applied only if
you want to *distribute* combined (your code + my GPL'd code).
Like in "distributing to clients"? So that I
Well, I edited the file I mention below (documentEdit.dtml) and
my changes aren't taking effect, no matter what (either on
2.2b3 and 2.1.6).
(Reason: if Mozilla sees textarea inside a td align=center,
the text inside the textarea is centered in the textarea, which
makes things quite unpalatable
On Wed, Jun 28, 2000 at 10:07:25AM -0400, Jim Fulton wrote:
Casey Duncan wrote:
Is ZODB up to the task of storing this quantity of objects? What problems
might I run into? Is it a wise idea, could a data.fs file of this size
(~3-400MB) become too easily corrupted?
No. Zope.Org varies
On Wed, Jun 28, 2000 at 10:40:53AM +0200, Martijn Pieters wrote:
On Wed, Jun 28, 2000 at 06:31:36PM +1000, Anthony Baxter wrote:
*grumble* I'm sure I saw a post to slashdot saying M17 was out...
yep, I did,
http://slashdot.org/article.pl?sid=00/06/26/1655250mode=nested
"net of a
On Fri, Jun 23, 2000 at 07:49:21PM -0400, Jon Franz wrote:
Also, its not XML compliant either, but I have a shorter dtml syntax patch
available for download at:
http://www.zope.org/Members/Coventry/dtml_shortcut
it is a really small patch, and just allows : to replace dtml- or !--#
On Sat, Jun 24, 2000 at 11:18:27AM +, Oleg Broytmann wrote:
Hi!
Do I understand it right, that on every object Undo displays only those
action that applied to that object? And all Undo action are listed only in
root? (that's looks pretty good for me!)
The way I see it, each Folder's
On Fri, Jun 02, 2000 at 07:29:18PM -0600, Bill Anderson wrote:
Has anyone out there actually sarted _using_ LoginManager with ZODB
storage? IOW, one that is not dependant on LDAP/SQL/etc., but that is
functioning in place of a non-PTK acl_users folder?
I tried. It's quite easy, except that
On Wed, May 31, 2000 at 04:54:24PM +0100, Simon Coles wrote:
The problem we are trying to solve is basically being to email
"[EMAIL PROTECTED]" and that email ends up in the Zope ZODB
processed in whatever way is appropriate.
I've been thinking about this too, reached more or less the
On Tue, May 30, 2000 at 10:28:42PM +0200, you wrote:
Minor note:
"lambda" is not a builtin but part of the syntax (a keyword).
I am sure, they will work in expressions.
Uh. Of course that is correct.
[]s,
|alo
On Fri, May 26, 2000 at 03:05:14PM -0700, Jonothan Farr wrote:
In brief: I get a NameError when invoking "filter(...)" from DTML. I thought
this was a built-in python method, so I'm a bit puzzled.
Certain built-ins are not available in dtml for security and other reasons,
filter and
I'd happilly pay a few hundred bucks to be able to use Scheme
(more specifically Guile with GOOPS and perhaps CMH could use
this as an excuse to get finished).
[]s,
|alo
+
--
Hack and Roll
On Mon, May 29, 2000 at 09:40:59PM +0200, Martijn Pieters wrote:
I can't comment with authority on why these methods are not accessible, but I
imagine that they are banned because they'll probably let you lock up Zope in
one way or another, creating a convenient denial-of-service attack.
If
66 matches
Mail list logo