On Mon, 28 Aug 2000, Michelle wrote:
Hi,
I was wondering if anyone can help me.
I would like to have people send files through a form so I have created a
form:
*snip*
Now (theoretically) you are supposed to be able to attach a file
(either a .doc or a .xls file and it magically gets
Tim Cook wrote:
Kapil Thangavelu wrote:
dtml-var "foobar(_.None, _)"
this passes it None for a client, and the current namespace as the
mapping, and no keyword args.
hope that was clearer than mud.
So the 'key' to this confusion is that we are passing the 'Zope
namespace'
"J. Atwood" wrote:
Hey Zopers,
I am looking for some good guidelines in designing, spec'ing and
developing large complex websites. Anything like guidelines, steps,
howtos, etc would be much appreciates. From theory to practice.
The first book on this subject that opened my eyes was
hi,
I am a Perl/CGI programmer, trying out Zope.
I am confused right now about
HOW TO process FORM variables?
and most important thing is
how to validate form inputs.(like same thing is best done in PERL using
regex)
that is, if I have a html having some form variables and a submit
button. I
Hi Zopers
I've got this::
tdinput type="file"
name="file"
dtml-if file value="dtml-var "file"" /dtml-if
/td
Which returns::
ZPublisher.HTTPRequest.FileUpload instance at 131dc48
in the input box. I'd really rather have the filename. How does
one
Hi all
While playing with jules's nice Smarter Forms example, I've made a
(perhaps obvious) slightly elaborated variant of it.
dtml-comment njj == Jean Jordaan
/dtml-comment
dtml-var standard_html_header
dtml-comment
Hi,
is it possible to creat automatically a folder with the name of the logged
user ?
Thanks Vincent
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
ps. I've got to ask, Is there any prelim work being done on SOAP?
I did write once a patch that worked (i.e. you could call methods inside
Zope using SOAP and get the results back; the problems were with some type
marshalling and error handling). You can get it from
http://www.ppetru.net ,
Hi,
After reading all the info about zope, I am very impressed with the
possibilities it can deliver. However, before I migrate our existing site,
I need to be certain about certain topics :
- how easy and reliably can I manage my virtual hosts (about 8 sites
right now) ? Very important.
On 27 Aug 2000, 12:50 Alexander Chelnokov wrote:
The option seems to be unavailable under W2000. 2.1.6 could be run
that way without any trouble.
Could you please elaborate?
I just installed 2.2.1 final on my developement machine, under
win2000 prof us. The installer asked the usual
Hi,
This should be an easy task but a just cant get it to work.
I have a dtml-method called test which I want to use like:
someurl/document/test
and in the dtml-method I want to include the document in its whole.
I have tried something with the URL like:
dtml-var dtml-var URL1 this
Hello,
few weeks ago, on Zope site I came across a document describing how to
build news section with features like displaying with five most recent
items from a folder, etc.
But now I can't recall, where it was. Can someone point me in a right
direction.
Thank you,
Radim
Hi RDM
Thanks! That works perfectly, and teaches me about namespaces.
I just had to fix '/dtml-else' (I also do that)::
dtml-if sort_key
dtml-if "REQUEST.form.has_key('sort_key')"
dtml-call "RESPONSE.setCookie('sort_key',REQUEST.form['sort_key'])"
/dtml-if
dtml-else
Hia Zopers,
I'm totally confused and I couldn't figure it out in 2 working days so here
it is:
I have a Zope Product that makes use of different nested classes.
When I create an instance of this product I always get an
"unauthorized" error when clicking the instance in the management interface
By the way, if I now create a forum with ZUBB, are there any expected
migration problems when I upgrade it to your next release?
Ummm... ahem no? That is actually one of the things keeping the release
back. Mr. Harris did some fine work but it does not upgrade very easily so I
am trying to
Easy and hard answer.
The easy answer is forget what you know about scripts/cgi and pulling in
form variables from some sort of CGI method (perl module). Since Zope is a
constant running process it does not require that you point to a script.
Hard Answer: The basics are that all you have to do
Hi Zopers
I've found the "How-To: Adding ZClass Instances Programmatically",
but now I'm looking for the *Deleting ZClass Instances* one!
I'm trying this as a beginning (hacked from the Zope management
interface)::
dtml-if "AUTHENTICATED_USER.has_role('ContentManager')"
form
Yellow ppl,
Is there a way to use my own self made '+' icon in a tree tag?
I'dd like to use my own icon only IF i want to... and not change the python
source to use my own icon all the time!
regards
=
Hugo Ramos - [EMAIL PROTECTED]
ZopersORG - http://www.zopers.org
=
Do not meddle in
Chris McDonough wrote:
Forwarding this on from the Zope list to the PTK list
albert boulanger wrote:
From Friday's 8-25 PTK CVS
PTK has logic to support the Membership product, but it seems to be
using the old MembershipZ name. I want to use this combination because
we
Hello,
How can I rotate my Z2.log?? It's very large !
Thanks.
Marcus Mendes
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
Instead of directing your form to URL0 direct it back to your custom
interface. In your form you can evaluate the value of submit to determine
the appropriate action:
dtml-if "REQUEST['submit'] == 'Delete'"
dtml-call "manage_delObjects(ids)"
untested.
Roché
-Original Message-
Marcus Mendes wrote:
Hello,
How can I rotate my Z2.log?? It's very large !
Using the same method as for rotating Apache logs. For instance, on my
Debian Linux I created the file
/etc/cron.daily/zope_daily
(made via copying and editing equivalent file for Apache), which rotates
Hi Zopers,
I'm really happy that the with the newest zope releases
the zCatalog has got more stable.
I'd like to use it for my Products, but I don't have the time now to port
everything to the new zope version.
Is it possible to only use the new catalog and which files do I have to
change/update
Jean Jordaan wrote:
I've already made a couple for own use, but will try and make
one to be general and comment it, send when I'm done.
Great :-)
I look forward to it...
cheers,
Chris
___
Zope maillist - [EMAIL PROTECTED]
A great resource for newbies is the collection of How-To's
http://www.zope.org/Documentation/How-To (or better yet:
http://www.zope.org/Members/AlexR/tips/howto_list where you can use browser
search to find what you need).
Search for "forms" and you will see, for example:
Hi,
In a Zope folder, I have
:
- 1 instance of a
personnal ZClass A
- 10or more instances of
ZClass B
- a DTML
document
I would like to call a DTML
method (which is implemented in the ZClass A) from the DTML document to display
a list of all instances names of ZClasse B
If somebody
Hello,
I have some minor problems with SiteAccess 1.0.1 and Zope 2.1.6 + hotfix.
1. When click on the folder that contain SiteRoot, I need to enter again
login and password. Why ?
2. When I delete an object, I have always an script error message. Why ?
Are these problems already fixed ? Is the
On Sun, 27 Aug 2000, Loren Stafford wrote:
Here's what MJ told me about that case. I'm not sure it applies to your
case. Did you try it? Did it work?
Thanks for the info. It was the Extension class piece I was missing.
I tested it on a regular class, of course grin.
The original problem
You can patch Z2.py
so that line 599 (or thereabouts) instead of:
lg = logger.file_logger(LOG_PATH)
reads:
lg = logger.rotating_file_logger(LOG_PATH, freq='daily', maxsize=400)
- Original Message -
From: "Marcin Kasperski" [EMAIL PROTECTED]
To: "Zope List Submission" [EMAIL
HI,
I want to know if there is any utility that let translate a ZClass to a
Product, i'm worry using the frames based interface, so i'm considering to
switch to a Product a utility that let that would be usefull howevere a
HOWTO on doing this would be fine.
thanks,
Nestor A. Diaz
Ingeniero de
From: William JOYE [EMAIL PROTECTED]
I have some minor problems with SiteAccess 1.0.1 and Zope 2.1.6 + hotfix.
1. When click on the folder that contain SiteRoot, I need to enter again
login and password. Why ?
Most likely, because you have a Base set in your SiteRoot that differs from
the
On Mon, 28 Aug 2000, Curtis Maloney wrote:
/dtml-if
This was aparently working fine for quite some time (about a month of public
usage), until last week. We have examined logs, and seen that one person
accidentaly used the system under someone elses ReturnerID, and then
rectified
Henk Schets wonders:
- how easy and reliably can I manage my virtual hosts (about 8 sites
right now) ? Very important.
The SiteAccess product contributed by Evan Simpson is a popular solution.
http://www.zope.org/Members/4am/SiteAccess2
- how stable is Zope regarding to
From: "Henk Schets" [EMAIL PROTECTED]
Date: Mon, 28 Aug 2000 09:08:44 +0200
To: [EMAIL PROTECTED]
Subject: [Zope] Advice for new zope installation
- how easy and reliably can I manage my virtual hosts (about 8 sites
right now) ? Very important.
Much easier than you can imagine. I have 5
Hi
file.filename should be what you are after. e.g. In my latest project I set a
variable myFileName to be the name of the file uploaded using
dtml-var "REQUEST.set('myFileName',file.filename)"
where file is the name of my file upload control in my form.
Ian
Original Message ---
Hi
On Mon, 28 Aug 2000, Luis Cortes wrote:
Hi,
I am looking for some cool Java script sites -- I would like to see how
some button effects are done. Anyone got one out there?
http://www.google.com/search?q=javascripthl=ensafe=off
___
Zope
Hi Chris,
I've a system, where folks enter data through some
HTML forms - DTML methods - Oracle tables. This
is mainly used for storing web page content. Then
I generate a static document using a chosen template,
from the database. I think this is some what similar
to your requirement.
This is
Luis Cortes wrote:
Hi,
I am looking for some cool Java script sites -- I would like to see how
some button effects are done. Anyone got one out there?
Thanks ahead of time,
Luis.
http://www.brainjar.com
some of the slickest dhtml i've seen.
Kapil
I am trying to work my way up through folders, checking whether each
folder has a property named 'site_root_folder'. Logically (in *my*
head anyway), what I have written below is what I want to do, but I'm
not sure that I'm really writing this the write way. I vaguely
remember reading that I
From: "albert boulanger" [EMAIL PROTECTED]
An oversight or is there a change in API?
Change in API; You want REQUEST.setServerURL, which is documented here:
http://www.zope.org/Members/michel/Projects/Interfaces/ImplementingVirtualHo
sts
Cheers,
Evan @ 4-am digicool
Change in API; You want REQUEST.setServerURL, which is documented here:
http://www.zope.org/Members/michel/Projects/Interfaces/ImplementingVirtualHo
sts
Ok the doc says:
Backward Rewriting
Any URLs generated by an application should take virtual hosting into account by
replacing
The ZWikiZC version 0.7.3 alpha completely rely on ZCatalog
for looking up WikiPages from WikiNames.
No references are stored in the ZWikiZG page letting cutpaste,
delete and other management actions ignore updating links.
I bellew this is a more scalable solution than in the version 0.7.2
Two substantive comments, and some editorial ones.
You write that you are thinking of different schemes for generating
paths and ids. I suggest one of the things you consider is whether
your scheme will work if someone cuts the ZWikiZC and pastes it
somewhere else in the tree.
I'm not
In the latest Zope source, I've noticed calls to inheritedAttribute in
the Python code.
I've found the C source code in ExtensionClass.c, but it doesn't help me
understand when I should use it from Python, and why.
*reads more source*
Ah! About 70 lines further on in ExtensionClass.c:
Hi gang,
This version just fixes a bug with the folder contents tab on Windows.
For some reason, on Windows 95 (and perhaps other platforms) the Python
interpreter behaves differently enough that if you use a class
attribute from a different module and put it in your own class, you may
in fact
I just want to check if things work the way I think (hope) it does.
In a transaction, are objects attributes safe from other threads.
self._v_mytemp in my request does not conflict with other requests?
(I suppose the have to be otherwise REQUEST's would interfere with each other.)
I know that
Oh, well, I'd bet this is a silly question. But I can not resist nor find answer by
myself.
Q: Why don't you BTree-fy all the subclasses of ObjectManager?
Is there a reason that anyone but can a newbie see?
LEE Kwan Soo.
ps. I only hope to be able to make clear statement in English, but i am
LEE Kwan Soo wrote:
Oh, well, I'd bet this is a silly question. But I can not resist nor find answer by
myself.
Q: Why don't you BTree-fy all the subclasses of ObjectManager?
Is there a reason that anyone but can a newbie see?
Obviously what BTreeFolder does should be available in
Shane Hathaway wrote:
Hi gang,
This version just fixes a bug with the folder contents tab on Windows.
For some reason, on Windows 95 (and perhaps other platforms) the Python
interpreter behaves differently enough that if you use a class
attribute from a different module and put it in
Using a mutex by way of example, without using anything Zope-specific
(the following uses the Python threading module):
import threading
lock = threading.Lock()
myglobal = []
def changeglobal(val):
lock.acquire()
try:
myglobal.append(val)
finally:
lock.release()
[Shane Hathaway]
| Johan Carlsson wrote:
|
| I just want to check if things work the way I think (hope) it does.
|
| In a transaction, are objects attributes safe from other threads.
|
| self._v_mytemp in my request does not conflict with other requests?
|
| This is correct (or it's
Erik Enge wrote:
[Shane Hathaway]
| Johan Carlsson wrote:
|
| I just want to check if things work the way I think (hope) it does.
|
| In a transaction, are objects attributes safe from other threads.
|
| self._v_mytemp in my request does not conflict with other requests?
|
|
|
| I just want to check if things work the way I think (hope) it does.
|
| In a transaction, are objects attributes safe from other threads.
|
| self._v_mytemp in my request does not conflict with other requests?
|
| This is correct (or it's supposed to be.)
What do
[Shane Hathaway]
| It means that a correctly operating ZODB will behave this way.
Oh, I see. Thanks for clarifying that. :)
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML
Shane Hathaway wrote:
LEE Kwan Soo wrote:
Oh, well, I'd bet this is a silly question. But I can not resist nor find answer
by myself.
Q: Why don't you BTree-fy all the subclasses of ObjectManager?
Is there a reason that anyone but can a newbie see?
Obviously what BTreeFolder does
Bill Anderson wrote:
Any chance at a BTree Folder w/customizer support in the near future? :)
It should be quite easy to do. I vaguely recall Steve A or Steve S
might have done it.
Shane
___
Zope-Dev maillist - [EMAIL PROTECTED]
Bill Anderson wrote:
Any chance at a BTree Folder w/customizer suppor tin the near future? :)
I did some work towards this. However, I didn't continue.
I realised that I could get the same effect by having a BTreeFolder
inside a Customizer Folder. The only downside is a slightly longer URL
"Phillip J. Eby" wrote:
At 10:22 AM 8/27/00 +0100, Steve Alexander wrote:
I've fixed this by adding a test to the start of __set_attr__ of
DataSkins.py:
def __set_attr__(self,name,val,_v_dm_=_v_dm_):
+ if name=='id' and val==self.__dict__['id']:
+ return
Steve Alexander wrote:
BTreeFolder doesn't do the
from Globals import default__class_init__
default__class_init__(BTreeFolder)
thing.
Does that matter at all?
As none of the classes it is derived from have a __init__ method, I
guess not. Or, does default__class_init__ do anything
"Phillip J. Eby" wrote:
try:
dm = self.__dict__[_v_dm_]
except KeyError:
if name=='id' and val==self.__dict__['id']: return
raise
Hopefully this should only perform the extra computations when the first
part fails...
Are Python classes derived from DataSkin
Steve Alexander wrote:
What rubbish! I didn't mean that at all!
I think what I meant was this:
try:
dm = self.__dict__[_v_dm_]
except KeyError:
if name=='id':
if self.__dict__.has_key('id') and val==self.__dict__.['id']:
return
else:
The ZWikiZC version 0.7.3 alpha completely rely on ZCatalog
for looking up WikiPages from WikiNames.
No references are stored in the ZWikiZG page letting cutpaste,
delete and other management actions ignore updating links.
I bellew this is a more scalable solution than in the version 0.7.2
The ZWikiZC version 0.7.3 alpha completely rely on ZCatalog
for looking up WikiPages from WikiNames.
No references are stored in the ZWikiZG page letting cutpaste,
delete and other management actions ignore updating links.
I bellew this is a more scalable solution than in the version 0.7.2
63 matches
Mail list logo