(Writing from the Netherlands)
>
> Just wondering: are there any Zope projects are available in the
> Netherlands/Benelux/Europe? We did one last year but they seem hard to
> find. Are there commercial projects available or is Zope mostly used on
> internal projects? Is there any demand for Zope
On Wed, 3 Jan 2001, Robin Becker wrote:
> Is there an easy way to make the Find tab case insensitive. It seems
> like a very common need, but I see that FindSupport.py is calling
> string.find which makes it seem as though this is harder than it should
> be.
You can try my very quick patch, atta
Hi Jonathan !
Jonathan wrote:
>
> Hi all,
>
> Just wondering: are there any Zope projects are available in the
> Netherlands/Benelux/Europe? We did one last year but they seem hard to
> find. Are there commercial projects available or is Zope mostly used on
> internal projects? Is there any dem
Chris McDonough wrote:
>
>
>
>
>
>
I would have thought this stuff would be better in a python script:
sessionmanager.getSessionData.get('a')
...since it is definitely 'logic'
Would it be posible to make that even nicer and have whatever
getSessionData is implement __ge
Pierre-Julien Grizel writes:
> Dieter Maurer wrote:
> >
> > This implies, that the idiom
> >
> >
> >
> > cannot be used safely to test, whether "o" has attribute
> > itself (rather than acquired it).
> > We probably should have a standard function for this kind
> > o
Chris Withers writes:
> John Chandler wrote:
> >
> > As already mentioned, not all errors (unfortunately) get handled by
> > standard_error_message - authorisation being the main culprit. In addition, if
> > an error occurs in a standard_error_message it'll also cause the plain, default
> >
Jim Washington writes:
> Can I keep this from happening? html_quote does not seem to be in the
> Python Method namespace.
Please help lobbying that the functionality of all
"dtml-var" attributes are exposed as standard functions.
The functions are there already, just not exposed to DTML
and Py
Cees de Groot writes:
> Jon Prettyman <[EMAIL PROTECTED]> said:
> >If you are using ZSQLMethods and your database returns column names in
> >one case (UPPER) but you reference them with another (lower) it
> >appears that instances of SQLAlias get leaked.
> >
> Thanks for the info (and anothe
Edwin Martin writes:
> I'm making a generic DTML-method which shows a bar like
> AltaVista does:
>
> [ < previous] [1] [2] [3] [4] [next > ]
>
> I need to know the number of rows the database returned.
>
> In appendix A of the Zope book, I see I can use total-name etc.
>
> How can I
Dirksen writes:
> My site is installed with the Membership system. I want to store some photos in each
> member. So I create a new member ZClass, subclassing PortalMember and ObjectManager,
>and
> set the 'manage_main' as the main view. Under the instance of this new member
>ZClass, I
> ca
GET YOUR OWN 100 MEG WEBSITE FOR ONLY $11.95 PER MONTH TODAY!
STOP PAYING $19.95 or more TODAY for your web site, WHEN YOU CAN
GET ONE FOR ONLY $11.95 PER MONTH!
DO YOU ALREADY HAVE A WEBSITE? ALL YOU HAVE TO DO IS TRANSFER THE
DOMAIN TO OUR SERVERS AND UPLOAD YOUR DATA AND YOU ARE READY TO
G
Hi,
I'm new to Zope and while 'playing' around I wondered about the following:
I've created a DTML method (called MyListFiles) that lists the 'File'
objects contained in a folder:
This works as expected when I run it using the 'View' tab.
Now when I create a DTML document and call thi
Dieter Maurer wrote:
>
> You should be able to make "standard_error_message"s that
> do not generate secondary errors.
> If you fail, a crude minimal error handling should be okay
> as a last resort.
Hmmm... maybe there should be an option on this then? ;-)
cheers,
Chris
_
Dieter Maurer wrote:
>
> Jim Washington writes:
> > Can I keep this from happening? html_quote does not seem to be in the
> > Python Method namespace.
> Please help lobbying that the functionality of all
> "dtml-var" attributes are exposed as standard functions.
>
> The functions are there al
On Wed, 3 Jan 2001 10:33:20 +0100, "Markus Kemmerling"
<[EMAIL PROTECTED]> wrote:
>I would like to have users being able to enter german vowels
Your suggested solution is a good one if you know all your users are
german, all using the same browser, all with the correct german
configuraton.
If n
This email is to request information on your company for our on line
directory and introduce you to our company Repharm.
Best Regards, Dianne Edwards Tel:
905-721-8456 Fax:
905-721-1471 email:
[EMAIL PROTECTED]
Repharm has the following installed customer databases and services
avail
[Chris Withers]
| I'll second this. It'd be _so_ nice...
|
| ever wanted to do:
|
|
I totally agree.
-Morten
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lis
Erik Enge wrote:
>
> [Chris Withers]
>
> |
>
> What about security issues? Wouldn't this also allow those methods to
> be called TTW by any user?
No.
Even if it did, what harm would it do?
cheers,
Chris
___
Zope maillist - [EMAIL PROTECTED]
h
[Chris Withers]
|
What about security issues? Wouldn't this also allow those methods to
be called TTW by any user?
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related
By applying your MyListFiles method within the context of your DTML Document
you are asking for files that are contained by your DTML Document and there
are none. By 'viewing' your method in the management interface you are
applying your method within the context of the folder that contains it, an
I'm new to Zope and while 'playing' around I wondered about the following:
I've created a DTML method (called MyListFiles) that lists the 'File'
objects contained in a folder:
Now when I create a DTML document and call this method like this:
it produces no output.
Because DTML Documents ar
[Chris Withers]
| Even if it did, what harm would it do?
Denial of Service attacks was what I though of. But it's a non-issue
I guess.
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML enc
Thank you,
...for your tip with the PARENTS[0].objectValues('File')
Please let me ask your advice on how to realize the following:
I would like to build an application for handling development requests.
These requests should be submitted by our end-users through our Intranet to
my team. We then
You should be able to make "standard_error_message"s that
do not generate secondary errors.
If you fail, a crude minimal error handling should be okay
as a last resort.
The Lisp system on Symbolics had both. It had a too-many-error-frame
detector for the error reporter that u
albert boulanger wrote:
>
> You should be able to make "standard_error_message"s that
> do not generate secondary errors.
> If you fail, a crude minimal error handling should be okay
> as a last resort.
>
> The Lisp system on Symbolics had both. It had a too-many-error-frame
> Chris McDonough wrote:
> >
> >
> >
> >
> >
> >
>
> I would have thought this stuff would be better in a python script:
>
> sessionmanager.getSessionData.get('a')
Yeah, I'm jus using DTML because it's the more pathological case and needs
to look pretty in DTML first. :-)
Chris McDonough wrote:
> > sessionmanager.SessionData.a
> >
> > ...or something similar?
>
> Yes. That's what Bob S. suggested. What are the benefits of this?
More graceful code that's more 'pythonesque' in Python Scripts:
if sessionmanager.SessionData.a['mykey'] == 1:
...as opposed to...
if
Cees de Groot wrote:
>
> I've tried to trace down what happens, and found that ZPublisher.BaseRequest
> has a funny bit: when trying to find out the necessary roles on an object,
> it first tries to get the attribute '__roles__' on the subobject, and then
> combines the current entry name plus '_
Hi guys,
We are trying to build a site with Zope and Oracle, and we see again
and again a situation where Oracle connections and processes are
being leaked: the more we work, the more there are, until we reach
Oracle's limit for number of processes. At this point, the Connection
objects close on
Hello,
I'm trying to use the SiteAccess Product as discribed in the HowTo: Using
Apache with ZServer (NOT Zope.cgi). Unforunately things don't work as
described.
My ZServer is listening on www.myserver.com:9080/somesite. I would like to
be able to access the ZServer through apache via the URL
From: Chris Withers <[EMAIL PROTECTED]>
>
Well, in Python Scripts at least, you can do::
from Products.PythonScripts.standard import special_formats
url_quote = special_formats['url-quote']
return url_quote("")
It's not great, but it's something.
Cheers,
Evan @ digicool & 4-am
__
Evan Simpson wrote:
>
> From: Chris Withers <[EMAIL PROTECTED]>
> >
>
> Well, in Python Scripts at least, you can do::
>
> from Products.PythonScripts.standard import special_formats
Hmmm... can you do something similar to perform an XML-RPC call into
another Zope instance?
cheers,
Chris
Koch Marc wrote:
>
> Thank you,
>
> ...for your tip with the PARENTS[0].objectValues('File')
>
> Please let me ask your advice on how to realize the following:
>
> I would like to build an application for handling development requests.
> These requests should be submitted by our end-users thro
Koch Marc wrote:
>
> Please let me ask your advice on how to realize the following:
>
> I would like to build an application for handling development requests.
> These requests should be submitted by our end-users through our Intranet to
> my team. We then look at each new request and dispatch i
If its not ZOPE hosting ... don't send it here!!
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, January 03, 2001 2:00 AM
To: [EMAIL PROTECTED]
Subject: [Zope] (no subject)
GET YOUR OWN 100 MEG WEBSITE FOR ONLY $11.95
I really like the idea of extending OFS:File to support different file
types, but what I would like to see is something that is
format/filter/library agnostic. That is to say, that perhaps the way we
ought to go about this is to create an API framework that upon upload
filters the file with a spe
> Chris McDonough wrote:
>
> > > sessionmanager.SessionData.a
> > >
> > > ...or something similar?
> >
> > Yes. That's what Bob S. suggested. What are the benefits of this?
>
> More graceful code that's more 'pythonesque' in Python Scripts:
>
> if sessionmanager.SessionData.a['mykey'] == 1:
> ..
Chris McDonough wrote:
>
> You can't do assignment in DTML, and session-tracking needs to be usable
> from DTML, so the "ob.attr = val" idiom is out from the get-go. Another
> assumption I'm making is that "there should only be one way to do it". I'd
> rather not have both __setattr__ and .set
> Chris McDonough wrote:
>
> > > sessionmanager.SessionData.a
> > >
> > > ...or something similar?
> >
> > Yes. That's what Bob S. suggested. What are the benefits of this?
>
> More graceful code that's more 'pythonesque' in Python Scripts:
>
> if sessionmanager.SessionData.a['mykey'] == 1:
> ..
A less easy way is to patch dtml-in so its allows sorts where it is case
insensitive. Theres a simple patch for this here:
http://www.zope.org/Members/andym/IgnoreCase
Then patch the findResult.dtml, dtml source:
lib\python\OFS\findResult.dtml
line 44:
This will allow you to fix any manageme
* Leonardo Graf ([EMAIL PROTECTED]) [010103 09:16]:
> Hello,
>
> I'm trying to use the SiteAccess Product as discribed in the HowTo: Using
> Apache with ZServer (NOT Zope.cgi). Unforunately things don't work as
> described.
>
> My ZServer is listening on www.myserver.com:9080/somesite. I would
On Wed, 3 Jan 2001, Robin Becker wrote:
> Is there an easy way to make the Find tab case insensitive. It seems
> like a very common need, but I see that FindSupport.py is calling
> string.find which makes it seem as though this is harder than it should
> be.
Now, I did it better way. No regular
> > Is there an easy way to make the Find tab case insensitive. It seems
> > like a very common need, but I see that FindSupport.py is calling
> > string.find which makes it seem as though this is harder than it should
> > be.
>
> Now, I did it better way. No regular expressions. Just case-insensi
I am running Zope 2.1.6 and 2.2.3 under Solaris, and we are having some
stability problems. With some previous posts from developers we seem to
think that it might be a custom product that we are using that contains
some c code. We can't really be certain, although we are devising some
tests to
This sounds pretty exciting. Sounds like someone should set up a proposal on
dev.zope.org.I'm afraid I wouldn't be able to contribute much development right
now but I'd be willing to help test and participate in discussions.
--jfarr
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EM
In article , Aleksander Salwa
<[EMAIL PROTECTED]> writes
>On Wed, 3 Jan 2001, Robin Becker wrote:
>
>> Is there an easy way to make the Find tab case insensitive. It seems
>> like a very common need, but I see that FindSupport.py is calling
>> stri
Thanks, Andy, Dieter, Chris, Evan for the discussion
What I ended up doing was making a DTML Method called
htmlquote_newlineToBr that looks like:
then calling it from a Python Method like so:
hqnl = self.htmlquote_newlineToBr
myitem=self.fixedLoc['varLoc1']['varLoc2']
print ''
print '%s' % h
Is it possible to, say, retrieve DTML code from an external database (such
as Sybase) and then have that DTML code render itself? As I recall there is
a security issue with Zope allowing Python to EVAL dtml..
I am not finding references to this kind of activity online. Has anyone
accomplished
Chris Withers writes:
> Dieter Maurer wrote:
> >
> > You should be able to make "standard_error_message"s that
> > do not generate secondary errors.
> > If you fail, a crude minimal error handling should be okay
> > as a last resort.
>
> Hmmm... maybe there should be an option on
Shai Berger writes:
> We are trying to build a site with Zope and Oracle, and we see again
> and again a situation where Oracle connections and processes are
> being leaked: the more we work, the more there are, until we reach
> Oracle's limit for number of processes. At this point, the Connec
Chris McDonough writes:
>
> Currently, nothing would be acquired, and the call will fail
> inside of a "with sessiondatamanager" even if we did have a __getattr__
> interface to session data objects
Are you sure?
As I understand it, at least a
would make available all session
Markus Kemmerling writes:
> I would like to have users being able to enter german vowels ä, ö, ü and other
>non-ASCII-characters for which HTML-entities exist (ISO 8859-1) into a
>form-input-field and have them rendered as HTML-entities by the corresponding var-tag
>in the form-handler.
>
Thank you for your submission to CNET Download.com.
Unfortunately, we are unable to consider your software for inclusion in
our library because the description does not give us enough information.
Feel free to resubmit your program with a more complete description,
according to these guideline
I had a similar problem quite some time ago. I never could get a core
file to generate, but since the crash occured so often, I was able to
attach gdb (GNU debugger) to the process and was able to see the
segmentation violation that was occurring. I never did figure out why
I couldn't get a core
I am attempting to build a product that will contain some unique
information and access control for services in support of college
classes. Many, many things are going well...better than expected.
However I am having problems getting the product to correctly recognize
a multiple selection propert
You're right, Dieter. I was thinking in Python terms and forgot about DTML
namespace lookup rules. :-( Yes, if we had a __getattr__ interface or used
the mapping keyword on the return value of a __getitem__-based session data
object, and if the name was not found in the namespace that is put on
Try this:
_properties = (
{'id':'classdays', 'type':'multiple selection','mode':'w',
'select_variable': 'days'},
...)
days = (
'Monday',
'Tuesday',
'Wednesday',
'Thursday',
'Friday'
)
-Randy
-Original Message-
From: Ronald L. Roeber
or...
"A Cry for Namespace Help"
I seem to have run into one of those Zope namespace issued that's
starting to make me dizzy.
I have a index_html method that displays content conditionally
depending on where it's called. It looks like this:
The chunk_editFrameset method also disp
Hi Bill,
A dtml method with these lines:
will show the password, despite that the methode is accessible by anonymous. Members in
my site is allowed to use dtml method. How can I prevent them from reading others'
properties?
Dirksen
__
Do You
Not sure if this is your problem, but since methods don't have namespaces,
I'm not sure why your code could not be reduced to:
The namespace of index_html right now is 'edit' (or another folder that
acquires it)
...and...
if the namespace of index_html is 'edit' than the namespace of in
Hello all.
I'm a total newbie to Zope (a few days).
I have a problem with getting some results throuh a ZSQL method.
(I've been playing with a sample baseball database that came with
PyGreSQL.)
I have a form that accepts multiple choice: (generated by the wizard)
Home team
Indians
Blu
On 3 Jan 2001, at 22:53, Dieter Maurer wrote:
> I would instead include a "charset" declaration and
> no longer worry about HTML entities for latin 1 characters.
>
>
This is rendundant. ISO-8859-1 is the default encoding for http,
anyway, and has ever been.
--
Wolfgang Strobl
__
[EMAIL PROTECTED] writes:
> Not sure if this is your problem, but since methods don't have namespaces,
> I'm not sure why your code could not be reduced to:
>
>
>
>
>
>
You're right -- this works just as well, and is much cleaner. And I
figured out my problem while yanking out another u
> > Just wondering: are there any Zope projects are available in the
> > Netherlands/Benelux/Europe?
>
> What do you mean by 'available'?
Ai, just spotted a grammatical error in my own message. By available I
mean projects that might need extra people/expertise in programming and
design. Most of
I would like to have users being able to enter german vowels ä, ö, ü and other
non-ASCII-characters for which HTML-entities exist (ISO 8859-1) into a
form-input-field and have them rendered as HTML-entities by the corresponding var-tag
in the form-handler.
The 'html_quote'-attribute only seems
> Find out yourself at the EuroZopeCon on the LinuxExpo in Amsterdam
> January 23-24 2001 ;-)
>
> http://zdp.zope.org/projects/eurozope/events/linuxexpo2001
Gotta be there :)
> BTW: EuroZope is an initiative to better support Zope in Europe. The
> main topic
> right now is Internationalization a
Bob Sidebotham wrote:
>
> The author obviously put himself in the position of
> someone who didn't know anything about the topic, and wrote the
> documentation to satisfy this person
This has gotta be the best description of how to write good docs I've
seen in a while :-)
cheers,
Chris
__
--On 02 January 2001 17:23 +0100 Stephane Bortzmeyer
<[EMAIL PROTECTED]> wrote:
> On Friday 22 December 2000, at 18 h 56, the keyboard of Michael Bernstein
> <[EMAIL PROTECTED]> wrote:
>
>> Umm, even if *everything* else fails, you can still manually
>> truncate the Data.fs file to remove the
68 matches
Mail list logo