by moving one and then the other into the
appropriate var directory to do exporting, or importing as you want.
Copies of the original files will come in handy if you confuse easily
like me.
-- Jim Washington
Well, I meant that I have some products w/ data setup in the new .fs. If I copy the
from the DTML reference page 41, regarding dtml-in:
the default setting for the orphan attribute is 3.
So you might try:
dtml-in ranked_stories size=3 orphan=0
-- Jim Washington
Tom Scheidt wrote:
Hi my problem is that Im setting my batch size to 3, yet I keep getting
5 items
ence syntax: "_['top']['German']['ActualPages']"
or as "_['top'][aLanguage]['ActualPages']" assuming aLanguage is a
variable which may be e.g., 'German'
I hope this is a helpful hint.
-- Jim Washington
Of course I want to replace the 'top.German.ActualPages' with a varia
How does one become Anonymous User without stopping/restarting the
browser? Is there a special username/password for that?
-- Jim Washington
Chris McDonough wrote:
Oops... sorry...
dtml-raise Unauthorized
Unauthorized.
/dtml-raise
Shortcuts on the brain. :-)
-Original Message
:
1. Upgrade a test zope to 2.2.1b that has the QSurvey working
2. Export that Product
3. See if the new export works with the new 2.2.1b ZODB in a different
install.
I would also submit a bug report to the Collector.
-- Jim Washington
Just installed Z2.2.1b, successfully imported some
with (e.g.)
theString = string.replace(theString, '[', ' ')
(Yes, there are more efficient ways to do this!)
Then, once you have a space-delimited list of items, you may use
theList = string.split(theString)
which will make a list of the words in the string. Return theList.
-- Jim
t returns a list of the things of
the type, so checking for a non-zero length of the list will do what
you need.
-- Jim Washington
Dr. Anthony Monta wrote:
Hi,
I've tried to find a solution myself but now am stuck. I created a
little "Blurb" product for a university departme
Hi, Seb
Go to the "Views" tab of the ProductItem ZClass. You should be able to
add another tab referring to propertysheets/Picture/manage. This has
worked for me in a similar situation.
-- Jim Washington
Seb Bacon wrote:
Thanks,
I'll rephrase it using my real life problem:
Hi, Kent Sin
dpkg -S tells you what package contains a file:
jwashin@vpave5:/$ dpkg -S mymath.h
python-dev: /usr/include/python1.5/mymath.h
So, it would appear the python-dev package is the one you need.
-- Jim Washington
Sin Hang Kin wrote:
When building current zope cvs, cPickle.c want
N.B. You probably should add your Flash/SWF objects as "File" objects.
DTML Method/Document objects can do amusing things with binary data,
which is why there are "File" objects.
-- Jim Washington
J. Atwood wrote:
You could just upload them into Zope and po
Hi, Robert
BTW, this is a FAQ, but:
use the :list extension in your html.
e.g.,
select multiple name="dtml-var form_save_name:list"
dtml-in thelistitems
option value="dtml-var sequence-item"dtml-var
sequence-item/option
/dtml-in
/select
Works for checkboxes, too!
-- Ji
and
hard-wired the header). Standard_html_footer is still there, so that
should already work.
-- Jim Washington
Stephan Goeldi wrote:
How can I change the HTML design of QSurvey 0.25?
I want it to use my standard_html_header and footer.
___
Zope
are accessible just like any of the child class's properties.
-- Jim Washington
Aaron Straup Cope wrote:
Hi,
If I create a ZClass that inherits another ZClass, do I also inherit the
latter's properties/propertysheet? From what I've read so far, I thought
the answer was yes but I can't se
Dany:
These should work:
dtml-in objectIds
dtml-var "_['sequence-item']"
/dtml-in
-or-
dtml-in objectValues
dtml-var sequence-item
/dtml-in
-or-
dtml-in objectValues
dtml-var some_attribute_of_the_sequence-item
/dtml-in
--Jim Washington
Dany Rioux wrote:
I'm pro
For the time being, most of us probably want to put 63.102.49.33 in the
/etc/hosts file (I forget where it is in Win32) so all the links work.
It seems pretty quick from here. Good show, Ethan!
-- Jim Washington
Chris Gray wrote:
Then try 63.102.49.33. The new name just hasn't propagated
Just a thought:
Have you tried using "_.str(thedate)" to convert it into a string? I am
not using Access, but since Zope can handle the Access date stuff
properly, it may be using something like _.str() internally. It's what
I would try first.
-- Jim Washington
"Spicklemir
if
this does not meet your needs.
To answer your next question,
the connection string is like 'db@host username password'
hth,
-- Jim Washington
Lee Reilly CS1997 wrote:
Hi,
Zope is currently being installed on the Unix machines at my uni but it
won't be available for a while. However, I
Put the username and password in the url like this:
http://managername:[EMAIL PROTECTED]/manage
-- Jim Washington
Priya Ramkumar wrote:
Hi
Could anyone please help me with this problem?
I changed the default permission for the Anonymous user by adding the
permission "
screens
do use them for the tree tags and height/width of edit boxes. You are
still using basic authentication, I presume?
Keep trying. All is not lost. One of the above or some combination
ought to work.
-- Jim Washington
Priya Ramkumar wrote:
Hi Jim
I tried typing the following u
for redisplay, and I know some Bozo (TM) will somehow put in
"table"
and break the page.
Can I keep this from happening? html_quote does not seem to be in the
Python Method namespace.
Regards,
-- Jim Washington
___
Zope maillist - [EMAIL PR
['varLoc1']['varLoc2']
print 'table'
print 'trtd%s/td/tr' % hqnl(theitem=myitem.property1)
print 'table'
It turned out to be a bit better code than I thought I wanted :)
-- Jim Washington
- Original Message -
From: "Jim Washington" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sen
aword
return printed
-- Jim Washington
Juan Carlos Coruña wrote:
Is there any way to split a string in a PythonMethod without passing the
object _.string as an argument?
I have tried to "import string" but Zope generates an ImportError:
ImportError: __import__ not found
to you is that the string representation of the list,
"[1, 2, 3]" is getting stored verbatim as your tokens property, and
ZPublisher/Converters.py is then splitting it on the spaces when you ask
for it. Which is how you get that weird '[1,' '2,' '3]'.
-- Jim Washington
Andrei Beli
Hi, Tim
I am not working through that example, but the below is a start on what
you seem to need. Let me know what you think.
good luck!
-- Jim Washington
***
You probably want the work to be done in the context of an instance of
the class, so assure you
;dtml-var title"/td
/tr
trthArtist/th
tdinput type="text" name="artist" value="dtml-var artist"/td
/tr
trtd
! input type="submit" name="editCD" value=" Submit Edits "
/td/tr
/table
/form
!dtml-var standard_html_footer
Hoping
t; method="post"
assuming the DTML Method that has the form is called editJobAction.
Don't worry about passing REQUEST there; Zope takes care of that.
-- Jim Washington
Timothy Wilson wrote:
This seems to almost work. :-)
On Sun, 14 Jan 2001, Jim Washington wrote:
!dtml
form:
You have id as a form variable. You will be disappointed by its
behavior.
Regards,
-- Jim Washington
Timothy Wilson wrote:
Jim (or anyone else who's feeling charitable this morning),
Thanks for all your help. I really appreciate it. I wonder if you'd have
time to look one more time
of 'container' inside the Python
Script.
-- Jim Washington
Timothy Wilson wrote:
On Mon, 15 Jan 2001, Jim Washington wrote:
I have it.
The Python Script I sent you:
container.propertysheets['job_info'].manage_changeProperties(REQUEST)
needs to be rewritten
Timothy Wilson wrote:
On Mon, 15 Jan 2001, Jim Washington wrote:
Where is the editFormAction Python Script? It should be in your ZClass's
/methods. If you are instead acquiring it from a Folder somewhere, you
will need to use 'context' instead of 'container' inside the Python
Script
Script/Method.
-- Jim Washington
"Geoffrey L. Wright" wrote:
So:
I have a odd little problem that I can't seem to solve. I have two
zclasses. We'll call them zclass1 and zclass2. zclass2 lives inside
of zclass1. zclass1 has the following two properties: id and
displayOrder
The new online help in 2.3 may have some answers to your questions. Do
you have that?
It's in Zope Help-API Reference-PythonScript
-- Jim Washington
Gerald Gutierrez wrote:
Where is the latest documentation for PythonScripts located? The closest I
found is
http://www.zope.org/Members
.
-- Jim Washington
begin code
import string
ids = container.objectIds('Python Method')
#what suffix do we want on the old Methods?
oldscriptsuffix='.old'
#replace all self. with the following:
#change to context if needed
newself = 'container'
#for future programmatic use just to be certain
Hi, Fred
I discovered another bug in it. Where it changes stuff with "self[", it
changes it to "container.", which is wrong, but a simple edit.
new code:
import string
ids = container.objectIds('Python Method')
oldscriptsuffix='.old'
#replace all self. with the following:
#change to context
Hi, Tim
context.ZopeTime()
or
container.ZopeTime()
ZopeTime is not in the PythonScript's namespace. It is available in
most (all?) containers, however.
-- Jim Washington
Timothy Wilson wrote:
On Mon, 29 Jan 2001, Tres Seaver wrote:
I'd like to grab all instances
pointers on that? I am having
trouble figuring out how that file is organized.
For completeness, I am using zope-2.8.0, but this happens on 2.7.6 as well.
-Jim Washington
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
[EMAIL PROTECTED] wrote:
Possible to dump content in Zope database into a
file system tree?
Yes.
http://www.zope.org/Members/tseaver/FSDump
--Jim Washington
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
some zope3 stuff?
I think the zope community really needs zope-oriented how-tos and
evaluations of the various AJAX libraries. zajax.net has the right name
to be a prime focus of such activities, should you be willing to do that.
Thanks!
-Jim Washington
the problem, I make a symlink from lib to lib64 after
install, and things work OK.
-Jim Washington
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http
instead of a 'lib' directory.
mkzopeinstance has trouble with that configuration. It needs a 'lib'
directory instead of a 'lib64' directory, so mkzopeinstance fails unless
I do something, like symlinking lib64 to lib.
-Jim Washington
___
Zope
from WSGI
point-of-view. environ can be useful for middleware information-passing.
-Jim Washington
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http
Lennart Regebro wrote:
On 5/18/06, Jim Washington [EMAIL PROTECTED] wrote:
Completely immutable environ is not a good choice from WSGI
point-of-view. environ can be useful for middleware
information-passing.
WSGI middleware would by definition get the environ and be able to
modify it before
for this borrows heavily
from zc.resourcelibrary) and instructions are at
http://zif.hill-street.net/headincludes Development status: works for me.
This is just a small piece of the AJAX puzzle for Zope, as I see it.
-Jim Washington
___
Zope maillist - Zope
clients.
Thanks in advance,
I recall seeing some documentation about this use case somewhere. I
think it was in the folder with the python scripts product.
-Jim Washington
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
David Bear wrote:
I'm doing my first zeo setup, and suddenly I'm not sure about my
products directory. Do I put all products in a products directory of
the zeo server or in each zope instance?
IIRC, Products go in each zope instance. The zeo instance gets the ZODB.
-Jim Washington
://pypi.python.org/pypi/ The readme came out a bit funny there. I
know there were some and in the document when I wrote it, so you
will have to use your imagination a bit to read the blurb. Or
easy_install it and read the docs as they were intended.
-Jim Washington
get to it.
I have had some success setting cache control to private. Something like:
request.response.setHeader('cache-control','private')
private,must-revalidate may also be a good value, depending on your
situation.
It's worth a try...
- Jim Washington
Jim Washington wrote:
robert rottermann wrote:
Hi there,
we have a problem with an intranet that runs using plone 2.5.3
when users using IE want to open a zip file from the intranet by using
the open option from the download dialog they get winzip complaining
that the file is corrupted
to the page. Page loads. Push the button, and I get a Basic HTTP
Authentication dialog. Nice.
Overall Results: So far, so good. :)
- Jim Washington
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts
is mostly copy-paste from pyjamas.JSONService and
pyjamas.HTTPRequest, but I'll provide it to anyone interested. It was
really simple to do. Kudos to pyjamas for making fixes easy.
- Jim Washington
___
Zope maillist - Zope@zope.org
http://mail.zope.org
-archive.com/zope@zope.org/msg31618.html), it has
improved substantially. Fewer gotchas. More joy. Worth a look.
- Jim Washington
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding
I created un-attached
Persistent descendents on-the-fly while testing earlier? I presume they
garbage-collected away when I was done with them. Is this correct? I
have a nagging worry about ghost objects and the types of programming
errors that might create them.
--
Jim
Hi, All
Since the Collector is down, where do we send patches if we are not
cvs-authorized? I just discovered a not-too-clever hack to make the
Find tab recurse through methods of Z Classes, which the margin of this
e-mail is too small to contain.
-- Jim Washington
Michel Pelletier wrote:
On Mon, 10 Sep 2001 12:16:51 -0400
Jim Washington [EMAIL PROTECTED] wrote:
Hi, All
Since the Collector is down, where do we send patches if we are not
cvs-authorized? I just discovered a not-too-clever hack to make the
Find tab recurse through methods of Z Classes
Would it be smart to include the python header files in the zope binary
distributions? That would seem to solve a few problems for the
individuals using them.
-- Jim Washington
Original Message
Subject: Re: [Zope] Python 2.1 for debian ?
Date: Wed, 03 Oct 2001 12:51:37
of where
the client browser is. I realize that other proxies do not always
follow the rules, etc., etc., but I think that using
HTTP_X_FORWARDED_FOR if not null would be better than a log full of
192.168.1.1.
Apologies if these have already been discussed under another heading.
-- Jim
not be read.'
-- Jim Washington
___
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
http
of how cvs
works :).
Anyway, here is the code FWIW. Apologies that it is not a patch per se.
Now looking for a more clueful sponsor to take it from here to check-in
(after vetting?)
-- Jim Washington
Brian Lloyd wrote:
...I sent out a note a while ago now trying to scare up
some ideas on how
than just username and
password, since Zope sees only *one* ip address coming from squid in the
current situation. I'll have to do some more thinking...
Regards,
-- Jim Washington
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org
Toby Dickenson wrote:
On Wed, 10 Apr 2002 12:16:35 -0400, Jim Washington [EMAIL PROTECTED]
wrote:
2. If we want to get fancy about allowing authentication using that ip
address like naked ZServers can do,
to
if request.has_key('HTTP_X_FORWARDED_FOR'):
addr=request
of dtml-try does have merit IMHO. Should the ZMI really
assume existence of anything other than id for objects?
-- Jim Washington
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML
) that I
could not decide the proper category in the bug collector or even what
to search on to see if it had been reported previously.
So, consider this an FYI should anyone want to take a stab at fixing it
or reporting it to the collector.
-- Jim Washington
in Fedora
Core 3. I have no experience with Fedora, but it is probably worth a
try. I did not have to do anything special.
-Jim Washington
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML
and configuration would be
very much appreciated.
-Jim Washington
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope
and utilities by using zope.component
and zope.interface. :)
zif.sedna (newly beta2 in pypi) now has instructions for using its zope3
database adapter with repoze.tm in pylons.
- Jim Washington
___
Zope-Dev maillist - Zope-Dev@zope.org
http
somebody know a framework which supports such
an implementation?
Hi Roger
Here's a hint I've been looking at. Maybe it will give you some ideas.
http://ajaxpatterns.org/Direct_Login
- Jim Washington
___
Zope-Dev maillist - Zope-Dev@zope.org
http
65 matches
Mail list logo