s to start Zope with the appropriate user-id.
see "man su" for this.
Regards
Tino Wildenhain
"Felipe E. Barousse" wrote:
>
>
> I do believe this approach will work to restart crashed Zope but, I
> would expect Zope to work correctly and be very stable when
site with IE.
So you have to always "log in" before open as webfolder.
But you can drag and drop files into the open folder. At least this
works :-)
This is helpful for putting downloadable file, images into a zope
folder.
Regards
Tino Wildenhain
__
.
Regards
Tino Wildenhain
Andrew Diller wrote:
>
> I can't get a DTML Document to be bigger than about 105k.
>
> Is there a size limit to a DTML Document, and if so, how big?
>
> 105k isn't that large.
>
> -andy diller
>
> __
(dit not found the original post)
> On Sun, 29 Aug 1999, Martijn Pieters wrote:
>
> >permissions at all. At any Zope2 site, I can add /PrincipiaSearchSource to
> >the URL and see the source of that DTML Method/Document.
No, thats not true. I just checkt it.
Regards
Tino
Hi Andy,
Andy Pahne wrote:
>
> Hi, there,
>
> if I use my mysq-monitor to execute the following query, everything works
> fine:
>
> SELECT YEAR(START_DATE) FROM EVENT;
>
> but it doesn't work via the ZMySQLDA!?!
>
> Here's the traceback:
>
> Error, exceptions.KeyError: unhandled
>
Pleas
ery ugly imho. It schould be sufficient, if one includes the
traceback-variable into the standard-error where its appropriate.
In the current implementation it will break the HTML-standard with
code outside and additionally makes it impossible to get
error-messages to picky browsers, such as WAP-dev
sewhere. Its really not too hard ;)
Regards
Tino Wildenhain
___
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-anno
Hi Julio,
we tested exactly this approach but run into some deadlock-situations.
Since it did not improve performance we now use only one
connection-object
per database.
Regards
Tino Wildenhain
julio dinis wrote:
>
> Hi all,
>
> Using zodbc, supose we have the following si
Hi Ivan,
you may want to try out the modifier url_quote eg:
HTH
Tino Wildenhain
Ivan Mackintosh wrote:
>
> Hi,
>
> What I want to do is to allow users to be able to enter greek/mathematical
> symbols into a textbox. I have managed to do this but get the following
> pro
table
after the update. It will however "commit" the write when the document
is fully
generated. connection2-object will block therefore.
HTH
Tino Wildenhain
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**
uded.
If the session is timed out or a not authenticated user tries to access
some
pages, the session-management (a dtml-method) sends a redirect to
the login-page.
I can give a more detailed description on request.
But at least: yes, you can do it; yes, it makes sense
HTH
Tino Wildenhain
lling a dtml-method renders its
output
rather then the source.
This is what is done in the first variant.
NB: often you have to provide the documents context to the method,
so the above call is somthing like
(or such like - have to look again over some documentation or the list
for this)
HTH
ften prependig the url with the new user like this:
http://newuser@site/...
logs you out and in as the new user.
But this behavior is not defined as in rfc.
HTH
Tino Wildenhain
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listi
make it unique,
I add an offset to each tables key and remove it for
query. My query is kind of self modifying for this,
comparing if the key is inside a given interval and making
the query at the appropriate table with removing the offset first
and adding the next offset to the results.
I can prov
ownload-page.
(in short: you have to restart your zope)
Regards
Tino Wildenhain
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/
. snoop.jsp/ABC?query=..
I dont see the relation to Zope here,
but why do you want to add a path to a document?
>From what I know it does not work.
You should probably use a servlet here or zope with the
traversal patch for documents and methods.
dynamic tag? I am
>thinking something like copied-file
> Any help would be apprechiated.
>
actually it is
where fileobject is your actual object.
HTH
Tino Wildenhain
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listin
Hi RC,
RC Compaan wrote:
>
> Simple addition seems a bit tricky in zope
>
><--// Here i tried to
Try
HTH
Tino Wildenhain
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cros
) ), but I need to update the relation links if the destination folder
> is moved.
if it is in aqisition path, may help. It would
give
you the URL of the object whereever it is at the moment.
May be, you could use ZCatalog otherwise.
HTH
Tino Wildenhain
Hi Ivan,
> 3. Zope 2.1.7
> Z ODBC DA 3.0.3
> Solid dev kit 2.3
> RedHat Linux 6.1 on i386
How to use Z ODBC DA on Linux? I only found a windows binary.
Tino
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/ma
t; supplied.
I assume the check for the attribute is only something like that:
if alt:
...
So an empty string is considered also false.
You can work around with
Since a space is not seen but also not false.
HTH
Tino Wildenhain
___
Zope maillist
have the code to tell what version of the page is
appropriate
with given browser-configuration (language-preferences) and
availability.
We have now to make a product to hold the different versions of
documents
for each language.
Regards
Tino Wildenhain
_
ers from within our domain...
Look for the options of zpasswd.py.
You can run it interactively with "python zpasswd access"
at the last step you are asked for valid domains.
HTH
Tino Wildenhain
___
Zope maillist - [EMAIL PROTECTED]
http://
ce" and
> > "propertysheets/methods/RandomZItem_add%20/manage_workspace".
>
>I found that not only my ZClassess do this way. I imported SiteSummary -
> and got the problem. Something broken in my installation?
%20 is the urlencoded representation of an extr
ge, not the document.
So one has to patch the image-object as I did for this case.
Regards
Tino Wildenhain
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related l
rewrite module of Apache is documented here:
http://www.apache.org/docs/mod/mod_rewrite.html
We need more information of what you want to help you more.
HTH
Tino Wildenhain
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo
return(self.data.keys())
def values(self):
return(self.data.values())
if you use generic_datarecord(column1=value1,coulumn2=value2) for each
row,
you can alterate over a list of such datarecord_objects with
using and
HTH
Tino Wildenhain
PS: __len__() is
That should make WinZip happy ;-)
rather it should be .tgz to make WinZip happy ;-)
Tino Wildenhain
PS: good idea is to deactivate "hide known extensions" in the options of
your folders.
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.
ement of MyList" or
> the second or third.
>
> I've tried but I get this error:
>
actually it is you were pretty close :-)
Tino Wildenhain
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**
roduces.
If you cant see them because the window closes too fast, call it
from dos promt.
HTH
Tino Wildenhain
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http
, you would take an extra submit button (or image)
to open a new part of the page to input the needed information.
HTH
Tino Wildenhain
Marcel Preda wrote:
>
> - Original Message -
> From: Vincent Maton <[EMAIL PROTECTED]>
> To: Zope <[EMAIL PROTECTED]>
> Sent: Mon
ce-index etc. comes to
mind.
I would do it in some minutes if one wants it...
Regards
Tino Wildenhain
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
ht
gt;
I bet this is not what he asked for.
He wants the code of each dtml-document (or method) be smaller for
output to the client.
Actually, I would like to be able to skip whitespaces around
and friends too. But this is impossible without patching
zope (or writing them all in one line, which
part of the zope
> Extenions library, it should be in something called
> /opt/zope/Extensions/ called strip_blanks.py. You can
> attach it to your zope session, then it is called via:
>
>
>
Is this the same as calling
only slower? ;-)
Regards
Tino Wildenhain
_
really
> like ACS' "bboard" system, that's the kind of functionality I think
> these objects should provide.
>
Yes. And I often wonder where my notes to sessions walk to.
For the meantime, at least for docuements and methods, we can heavyly
use
Regards
Tino Wildenhain
_
is corrupted, I'll lost one week of work
> for my company.
Why dont you simply restore your Data.fs from a regular backup?
Regards
Tino Wildenhain
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross pos
Vanfleteren Francois wrote:
>
> Hello,
> I'm working with Zope and PostgreSQL
> When i do a query, Zope returns me a variable with a space at the end
> Do you know how i can do not to have this space at the end?
should do.
Or
different) can handle much higher traffic with not much complaints.
Uhm. Headers are headers, not content. As example, image files have
headers too but no
HTML inside. So you should set headers with RESPONSE.setHeader()
hth
Tino Wildenhain
___
Zope maill
ensitive?
Most web-servers are case-sensitive. So where is the problem?
You only have to type your links carefully, what is somewhat
simplyer with
Regards
Tino Wildenhain
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listi
t;.
# 10.0.0.0 10.255.255.255
# 172.16.0.0172.31.255.255
# 192.168.0.0 192.168.255.255
HTH
Tino Wildenhain
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! *
Netscape or in a directory for I.E. "
this is only their (the UA's) implementation of persistence. Its not
the nature of cookies to be written on any filesystem.
Just for clarifying the subject.
Regards
Tino Wildenhain
___
Zope maillist -
would have to split or look along the
mailinglist, there was mentioned something like "get object from url"
HTH
Tino Wildenhain
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross post
ion for local
configuration
issues would be a mountable database for specific sections (like
products
and some folders with database-connections and such)
Imagine a situation where different instances of zope, connected via zeo
have
to use different database-connections (odbc for windows, any oth
zope code could do that? For me it works fine!
Would you mind including an alias for tree-item-clickurl which reads
tree_item_clickurl before posting it to the collector?
I hope we can make all this ugly hypenation variables go away someday...
Regards
Tino Wildenhain
_[_['sequence-item&
inside the variable which would
not be properly sql-quotet this way. Can be very securety riscy.
Regards
Tino Wildenhain
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! *
end your self a vcard and look at the text...
(The plain message of course)
HTH
Tino Wildenhain
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http:/
t;
> That seems silly to me. Anyone else agree?
No, I disagree. Why do you want bad dtml even inside comments?
dtml-comment is a tag like all the other tags. It does not
control the parser. One advantage is, you may nest comment-tags.
Regards
Tino Wildenhain
__
it does not reflected in the Z Object's
> memory-cached version.
When I remember correcly, DC's setattr does not change attributes with
leading
underscore in a persistence way.
These attributes are considered to be local.
Regards
Tino Wildenhain
_
? For me it works fine!
> >
> >Would you mind including an alias for tree-item-clickurl which reads
> >tree_item_clickurl before posting it to the collector?
> >
> >I hope we can make all this ugly hypenation variables go away someday...
> >
> >Regards
>
Hi,
"Williamson, Aaron" wrote:
>
> Peter,
>
> Try this bit of mojo here:
>
>
# actually, it schould be:
>
# to produce 'month_01' to 'month_12'
>
>
>
Regards
Tino Wildenhain
Hi Darin,
Darin Lee wrote:
>
> Zopistas,
>
> Is it possible to access an ODBC data source through Zope running under Linux? I
>have perused the literature, and it appears the Zope DA's for ODBC only run under the
>Win32 environment.
>
> I would very much like to setup ZAP (for many reasons),
to build most of it under linux.
You have to move part of the distribution into different places.
When I fully succeed ( I had plain mxODBC running already!)
I will make an how-to of it.
So please stay tuned ;)
Regards
Tino Wildenhain
___
Zope ma
Hi Kamon,
kamon ayeva wrote:
>
> Hi,
>
> I need some help.
> I have a DTML method at the root of Zope called 'Template'.
> How can I make the constructor of a ZClass (folderish) to copy this method
> to each of its instances ? Can someone provide me with a complete snippet to
> add in the ZClas
ure one can
unduptfully reresolve the hostname to its ip-address again.
It asks first for the name to the ip-address. Then it asks for
the ip-address to this name.
The question is, where did you change the name? In DNS you have
to change it in both databases.
Regards
Tino Wildenhain
e proper access rights. This was due to a change in the security
mechanism
on 2.2.x. The default policy is now: disallow everything as log as its
not
explicitely permittet.
I would suggest to look for the patch on sql-methods or simply upgrade
to
the latest 2.2.1 where this (and much more) has alr
Hi,
kamon ayeva wrote:
>
> I have several reasons whay I need to attach a template to each ZClass.
> Among them are:
> 1/ cases like high level folders where I might want to customize the page's
> rendering and/or skin,
> 2/ cases like contained objects which uses a generic skin (but you can sti
Hi,
Chris McDonough wrote:
>
> On Tue, 5 Sep 2000, Evan Simpson wrote:
>
> > > I've got to say I agree with you here. I'm still not 100% sure why the
> > > superuser or bootstrap user can't own anything.
> >
> > It's due to a combination of the trojan horse issue and the sticky
> > authentica
Hi Chris,
Chris McDonough wrote:
>
> Hi Marcus,
>
> This is untested.
>
> Turn "asd asd" into "asd_asd" and output:
>
>
>
> Turn "asd_asd" into "asd asd" and output:
>
>
>
I've seen this on plenty lines of digicools code and wondered
about if this is more efficient then using just string
night ;-)
Unfortunately zope.org has not installed the product already,
so I was not able to give the readme in different languages .-))
Best regards
Tino Wildenhain
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
Hi,
Chris Withers wrote:
>
> Chris McDonough wrote:
> > There's the perception at DC that
> > 're' isn't appropriate for through-the-web usage because it's possible to
> > write and use regex that sends the Python interpreter thread it's
> > operating within into a neverending loop. Sorry.
>
>
Hi Tim,
Tim Cook wrote:
>
> Can anyone tell me why when I edit a lines property I get leading
> whitespace inserted?
> The first line gets seven & each one after that gets 10 spaces.
>
> I tried stripping it out but this didn't seem to have any effect.
>
> ...
>
>
>
>
^^^ here
Hi Tim,
Tim Cook wrote:
>
> Tino Wildenhain wrote:
> >
> > Hi Tim,
> >
> > Tim Cook wrote:
> > >
> > > Can anyone tell me why when I edit a lines property I get leading
> > > whitespace inserted?
> > > The first line gets seven &
Hi Kelvin,
Kelvin Cheong wrote:
>
> i was wondering how i can use chinese characters with Zpe on Linux. does
> anyone know how? According to my "mild" research so far, i found out that
> Big5is a 2-byte code and is a part of ISO-10646/Unicode. It also seems to
> be the de-facto for traditional c
Hi all,
I found it very disturbing having to get my .zexp exports
into the subdirectory 'import' of the server and then using
the management-interface to do the actual import.
So I patched ObjectManager and the compaining dtml-file.
Please check them out (included in the mail, sorry for the
tr
Hi Bill,
Bill Anderson wrote:
>
> How about just the patch next time, as opposed ot the whole patched filed?
Ah yes, sure. On the other hand its more convient for the windows
people,
without a patch at hand...
regards
Tino
___
Zope maillist - [EMAI
Hi Terry,
Terry Kerr wrote:
>
> you can write anything destructive, whether it is an external method, a DTML
> Method, or basically anything. At least if the only way you can import .zexp's
> is from the import directory, then only people with access to the zope file
> structure can import stuf
Hi,
Martijn Pieters wrote:
>
> On Sat, Sep 09, 2000 at 09:39:33AM +0200, Tino Wildenhain wrote:
> > Terry Kerr wrote:
> > >
> > > you can write anything destructive, whether it is an external method, a DTML
> > > Method, or basically anything. At least
Hi,
Kapil Thangavelu wrote:
*snip*
> I'm going to start working next weekend on Zope calls into JServ. I'd
> like to get some requirements from interested parties before i start
> coding.
Oh nice! I've done the jserv part of the german apache book. So if I
could help...
Regards
Tino
_
Hi Dieter,
Dieter Maurer wrote:
>
> Hi Tino (and other potential patch posters),
>
> if possibly, you should not post complete source modules
> to the list. Instead, you should use either context
> or uniform differences to the source. Such a difference file is
> called a patch.
Yes. I know th
Hi Stuart,
Stuart Foster wrote:
>
> Is there a way to allow an authenticated user to logout of Zope?
Not really. The browser caches the authentication information
until it is closed. There are some "workarounds" that work
with some browsers, basically raising "unauthorized" pops the
authenticati
vert the Word file
> to HTML (and a DTML Document, I suppose) and publish that. Any comments?
sure, you can do that. But if Word is envolved, things get really nasty
;-)
Regards
Tino Wildenhain
"Why use Word if there are sentences?"
__
Hi Didier,
so it looks like the vary Tag may be not compliant
to older (< 2.2.x) releases of Zope?
I have to check this. You should probably check if
you really need an ancient version of Zope ;-)
I'm really wondering how the tag can cause such a
behavior. Its almost an extract of the mime-tag
Re again,
I just checked with 2.1.6 (winNT) and it worked without problems.
Can anybody else confirm this?
Regards
Tino
Didier Georgieff wrote:
>
> Hello,
>
> Just after installing VaryTag, Zope (2-1-6) restart fine, but when i
> try to connect to my zope adress, i got an error (traceback f
Hi Didier,
Didier Georgieff wrote:
>
> Le 18 Sep 00, à 15:49, Tino Wildenhain a écrit :
>
> > I just checked with 2.1.6 (winNT) and it worked without problems.
> > Can anybody else confirm this?
>
> Sounds like it's Varytag under Linux related.
I'm not
Hi rishi,
rishi wrote:
>
...
> The following tihng is going on; they are uploading the bookmark file
> manualy, by exporting from IE or NS. There is a util called
> "ImportExportFavorites", a javascript syntax that gets the bookmarks and
> post them to the server.
One has to have a glance at it
Hi,
nice :-)
"Spicklemire, Jerry" wrote:
>
> . . . has a opening posted on their Web Site for a C/C++ programmer with
> Zope / Python experience?
>
> http://www-3.ibm.com/employment/us/empl/jofK23137.html
>
...
> Experience Required
> Six years work related experience
they must be f
Hi Lars,
Lars Heber wrote:
>
> Sorry, I mixed something up. Normal html is no problem at all.
> The problem is how to use quotes or such things.
>
> Of course I get an error by typing:
>
> http://www.yahoo.com">Yahoo!">
>
> I tried typing " instead of ", but then the """ also goes into
> the
)
> > socket.error: (98, 'Address already in use')
> >
> >
> > I don't use the number 98 in any address or port (http=80, ftp='' and
> > monitor='')
> > so what could this error be about ?
> >
tcp
Hi Yusuf,
Yusuf Goolamabbas wrote:
>
> I would like to run Zope not as user 'nobody' but as something else.
> Is this possible somehow, also is it possible to install the Zope tree
> in a location other than that untarred into [something like
> ./configure --prefix=/usr/local/site/Zope]
>
> Reg
hi,
as usual, if such things happen, "id" is a method.
it gets called by zope if you just use on it.
So either use id() or better, look for title and
if not set (dont set a title on html_index then)
dont display it.
Regards
Tino
[EMAIL PROTECTED] wrote:
>
> Okay, this is my second question f
Hi,
"Bak @ kedai" schrieb:
>
> > is a suitable combination. I have attempted to configure this combination
> > but run into trouble compiling PoPy-1.4.1 on RedHat Postgresql - and have
> > not been able to resolve the problems via RedHat or Mixadlive - hence my
> > question.
> > Regards, Chris M
front as dispatcher)
> Zope looks like a really nice platform, any real-world evaluations would be
> most appreciated...
We are currently implementing a light CMS. So stay tuned... ;)
Regards
Tino Wildenhain
___
Zope maillist - [EMAIL PROTECTED]
Hi there,
finally I want to release my patch for the in-tag. I hope
it finds its way into the source-tree.
I was sick writing such ugly constructs as _[_['sequence-item']]
and so on, so I patched DT_In.py and DT_InSV.py
(in lib/python/DocumentTemplate) to use sequence_item as well.
All hypenatio
Hi Chris,
Chris Withers schrieb:
>
> Tino Wildenhain wrote:
> >
> > finally I want to release my patch for the in-tag. I hope
> > it finds its way into the source-tree.
>
> Looks very cool :-)
>
> Is it in the collector yet?
I've put it on the coll
Hi Frederic,
Frederic Quin schrieb:
>
> Hi all,
>
> I have the same querry to execute on different servers. I don't want to
> create as many z sql methods as servers I have. I would like to specify
> to my z sql method, the connection object to use at run time. Do I have
> to patch the files of
Michel Pelletier schrieb:
>
> > The second problem is if you put one in-tag into another.
> > You have to use oder REQUEST.set() with variables
> > of the outher in-tag to be able to reference them in the inner
> > loop. The code becomes very ugly this way. So my idea was to
> > give the in-tag
Hi,
Chris Gray schrieb:
>
> Here's a fragment from a table that allows sorting by clicking the header
> in a dtml method named 'displayTable':
>
>
>
> ID
> Product
>
>
>
> Then feed sort_key into your SQLSelectQuery to use in an ORDER BY clause.
>
> select * from table order by
>
You s
Hi J,
"J. Atwood" schrieb:
I think
should do what you want.
HTH
Tino Wildenhain
>
> Ok.. so I can get a random item out of a folder with.
>
>
>
> And I can iterate through a folder with
>
>
> , ,
>
>
> But I want to inclu
Hi again,
anybody had time to test this? Chances for next zope release?
Any remarks? Alternatively, btw. would be a name attribut,
which defaults to "sequence".
Regards
Tino
Tino Wildenhain schrieb:
>
> Michel Pelletier schrieb:
> >
>
> > > The second pro
ones that lern zope. Since I often see the missunderstood meaning
of in such constructs like: ]">
you know what I mean? I think it would be more obvious, if the
tag would usually be called or something.
Regards
Tino
Tino Wildenhain schrieb:
>
> Michel Pelletier schrieb:
> &g
this current state. But I will do so soon. On request, I can
give what I have now.
Regards
Tino Wildenhain
Rik Hoekstra schrieb:
>
> > Paolo Quaglia wrote:
> >
> > Reading the [EMAIL PROTECTED] archive I found one message with an
> > interesting sentence:
> &
Hi Chris,
Chris Withers wrote:
*snip*
>
> PS: almost related, have you noticed how there's no way you can prevent Zope
> (other than hacking the source) from tacking the error message on the end of
> the HTML stream, even in production mode? Not only does this produce badly
> formed HTML, but i
Hi,
Am Freitag, den 01.04.2005, 14:35 -0500 schrieb Paul Winkler:
> On Fri, Apr 01, 2005 at 08:29:39AM +0100, Chris Withers wrote:
> > Paul Winkler wrote:
> > >I have a somewhat similar issue; an in-house Zope product is retrieving
> > >some
> > >information from a remote URL. If I hit the same U
Am Dienstag, den 05.04.2005, 13:11 -0700 schrieb srikanth:
> Hi,
>
> I am using an external method to load an Image from the harddrive. The
> external method is as follows:
>
> from email.MIMEImage import MIMEImage
> ##parameters=filename
> def getDocument(filename):
> fname = '/mnt/'+fil
Am Donnerstag, den 07.04.2005, 04:10 -0700 schrieb prabuddha ray:
> from a newbie,
> i've this ZSQLmethod returning me a string only. how do i
> store it a var in my python script.
> eg., userlevel = container.getUserLevel(uname=user)
>
> when i print it using html_quote as :
>print
Hi,
Am Montag, den 11.04.2005, 14:08 +0300 schrieb Vangelis Mihalopoulos:
>
> Andreas Jung wrote:
>
> > You should *not* define classes inside PythonScripts. PythonScripts
> > are stricted
> > and don't provide the full functionality. Either use filesystem based
> > code (Zope
> > Product) or
Am Freitag, den 15.04.2005, 13:40 +0300 schrieb Vital Lobachevsky:
> Hi, all!
>
> Can I use the folders in Zope's "Extensions" folder to keep the External
> Methods in more logical way?
iirc you can just create a directory
in Products and put your methods there.
You can then import it from here.
Am Freitag, den 15.04.2005, 10:41 -0400 schrieb Tres Seaver:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Tino Wildenhain wrote:
> > Am Freitag, den 15.04.2005, 13:40 +0300 schrieb Vital Lobachevsky:
> >
> >>Hi, all!
> >>
> >>Can I us
Hi,
Am Mittwoch, den 20.04.2005, 15:23 +1000 schrieb Richard Jones:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Has anyone else seen ZPsycopgDA just lose its connection? I've got two ZEO
> clients set up to use it, and every now and then one of them (the primary)
> just up and loses i
the header in the publish process, e.g. with a python script
or something you use for default display. Also you need to set a
property manage_page_charset in zopes root to be able to use that
encoding in ZMI too. This way you arent storing unicode - only utf-8
as you want to display it.
Regards
Tino
1 - 100 of 478 matches
Mail list logo