Re: [Zope] newbie dtml-if/expr ?

2000-09-10 Thread Tim Cook
Daniel Chudnov wrote: > > (zope-2.1.6, rh6-linux) > > How come I can't do this: > > > > > Your problem is probably related to namespaces and aquisition. Aquisition is best monster you'll ever meet. What you're calling can't find var1 & var2. You could use the -with tag in most cas

[Zope] Input for Chinese Characters

2000-09-10 Thread Kelvin Cheong
Hi all! Now that I have managed to display Chinese characters, i'm stuck with my next problem. How do i input Chinese characters into Zope? Thanx in advance to all of ya! Later, amoebia VCN - The Leader In Corporate Communication Solutions Visit our website at http://www.vcn.com.my. or http:

Re: [Zope] Looking for Zope vs. Others at-a-glance comparison

2000-09-10 Thread Jason Cunliffe
Ron yes +thanks for paying keen attention here.. > > What Manila has done is to provide some reasonable default templates for > > getting useful site development work done 'out of the box' - they have > > provided a structure template, and well defined access to changing the > > obvious things p

[Zope] newbie dtml-if/expr ?

2000-09-10 Thread Daniel Chudnov
(zope-2.1.6, rh6-linux) How come I can't do this: ...or other obvious (e.g. (extra) (parenthesized)) variations thereupon, but the following seem to work: ... ...or this... ... ...or even worse, this... ... Can't seem to find the answer

Re: [Zope] Testing out new versions of XXX (in this case, WorldPilot)

2000-09-10 Thread Bill Anderson
"A.J. Rossini" wrote: > > What is the best way to test out new versions of Products without > breaking an existing setup? Should I simply "version" the current > working version, then install new stuff to test, etc, or is there any > easy way to have products "ORIGINAL" and "ORIGINAL-2" (which i

Re: [Zope] Looking for Zope vs. Others at-a-glance comparison

2000-09-10 Thread Jason Cunliffe
> Completely calm and friendly opinions follow... yes thanks.. > I don't think it's any more difficult to create an attractive > (graphics-wise) site in Zope than it is with PHP or ASP or plain old > Apache-served HTML files. Quite honestly, I'm not qualified to do it with > any tool. :-) I ge

[Zope] Re: Partnership with B2B EMerging?

2000-09-10 Thread Jonathan Desp
oh I forgot, my email is [EMAIL PROTECTED], if you want to contact me, no problem. by phone too, just ask me. - Original Message - From: "Jonathan Desp" <[EMAIL PROTECTED]> To: "zope zope zope" <[EMAIL PROTECTED]> Sent: Sunday, September 10, 2000 10:08 PM Subject: Partnership with B2B EM

[Zope] Partnership with B2B EMerging?

2000-09-10 Thread Jonathan Desp
Hi guys or girls, I'd like to know if you are interested to partner with me, for the construction of B2B Emerging, at B2BEmerging.com. I would need someone technical, for Zope. I'm enthusiast and I put all my effort toward B2B Emerging. I invite you to read this site, it's a wonderful concept, wi

RE: [Zope] Looking for Zope vs. Others at-a-glance comparison

2000-09-10 Thread Ron Bickers
Completely calm and friendly opinions follow... > [Zopefish etc]. Mostly Zope imho is just plain damn ugly out of > the box... > like some ghost from the 70s - zero graphics sense.. it s a > bitch to make a > decventlooking page in zope when it shouldn't be, not one nice > looking zope > site I

[Zope] Re: 2d list manipulation

2000-09-10 Thread Tim Russell
OK, figured it out. About the only way I can see to do it in DTML is this: This command happens to increment the value at col[index1][index2], and this strategy allows any operation to be done on the value. It appears to be quite fast as well, so I'm content. --Tim ___

RE: [Zope] Best way to handle SQL update with variable number of fields?

2000-09-10 Thread Farrell, Troy
I'm trying to understand exactly what you mean. I have some ZSQL Methods that have an empty (INSERT INTO site_location VALUE('New York', '')) value in them. For the above I use: INSERT INTO site_location VALUE(, ). Can you provided your ZSQL Methods so we can understand better? Troy Farrell -

[Zope] Creating a new Role equivalent to Manager?

2000-09-10 Thread Kevin Howe
I want to create a Role (myRole) for an object which is equivalent to the Manager Role, basically kust with a different name. How do I (via python) say that myRole is equivalent? Something similar to this: self._addRole( 'myRole', InheritPermissionsFromManager() ) Thanks, kh _

Re: [Zope] keeping Java Servlets session ids based on url rewriting

2000-09-10 Thread albert boulanger
Hmmm.. can you take a step back and restate the problem more generally? What is the goal? We use servlets for java to java com between applets and the server. Inside, the servlets communicates to C++ based servers for objects and events. Servlet sessions are used to help ensure validation

Re: [Zope] Looking for Zope vs. Others at-a-glance comparison

2000-09-10 Thread Jason Cunliffe
Hi Nils thanks for your reply > > What's missing? > > For example, everything with Java (e.g. Apple WebObjects) or > Perl (e.g. Mason). [doh] Java..Right [see what using zope does to one ? ;-) > There is a good overview of Content Management Systems at > > http://www.camworld.com/cms/ Exc

RE: [Zope] keeping Java Servlets session ids based on url rewriti ng

2000-09-10 Thread Chris McDonough
> Um from looking at the code I think it may be Zserver not Zpublisher > doing it. I think there is code which set up the CGI env vars at > Zpublisher pick em up and works with them, so it is the code that sets > those GCI vars that is dropping it. Isn't it tru that if you use > APACHE, they are s

Re: [Zope] keeping Java Servlets session ids based on url rewriti ng

2000-09-10 Thread albert boulanger
I've done a little poking around in ZPublisher's HTTPRequest.py and BaseRequest.py and I don't think that's where the ';*' gets stripped. I can't find *where* it gets stripped. It must be possible to make Zope de-ignore things split on a ";", but right now I can't find out where to

[Zope] Testing out new versions of XXX (in this case, WorldPilot)

2000-09-10 Thread A.J. Rossini
What is the best way to test out new versions of Products without breaking an existing setup? Should I simply "version" the current working version, then install new stuff to test, etc, or is there any easy way to have products "ORIGINAL" and "ORIGINAL-2" (which is what I'd prefer, for stability

RE: [Zope] keeping Java Servlets session ids based on url rewriti ng

2000-09-10 Thread Chris McDonough
Thanks for the clarifications... > We use servlets for java to java com between applets and the > server. Inside, the servlets communicates to C++ based servers for > objects and events. Servlet sessions are used to help ensure > validation > for the object and event servers. User database is al

[Zope] Emacs and dtml-mode +/-

2000-09-10 Thread Nestor A. Diaz L.
HI, I have installed the dtml-mode that provided http://www.zope.org/Members/alburt under Debian potato, emacs20 and psgml it work so nice but i have a little question, and i don't know if it is possible to resolve, consider the following html code:

Re: [Zope] Looking for Zope vs. Others at-a-glance comparison

2000-09-10 Thread Nils Kassube
Jason Cunliffe wrote: > What's missing? For example, everything with Java (e.g. Apple WebObjects) or Perl (e.g. Mason). There is a good overview of Content Management Systems at http://www.camworld.com/cms/ > For each of above I'd like to fill in the following: > > {'name':"", 'fe

[Zope] [HELP] Duplicated Ids?

2000-09-10 Thread iap_y2fun.com
I removed a product from Control_Panel/Products by checking the checkbox of that item and clicked "delete" button below. While I tring to reimport that product , zope (2.2.1) complains about "Duplicated Ids". Can anyone give a hand? Thanks a lot. Iap, Singuan http://y2fun.com _

[Zope] Best way to handle SQL update with variable number of fields?

2000-09-10 Thread [EMAIL PROTECTED]
Hello, I'm creating a number of ZSQL methods to insert, update and delete records from several Oracle tables. Everything is working fine with the insert forms (creating new records) and the delete (of course). However, the best way to do the * update * without locking the user into a *very*

[Zope] Re: Modification Posts to the list (was: [Zope] Import from file viamanagement-interface)management-interface)

2000-09-10 Thread Tino Wildenhain
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

[Zope] Changing list elements (was: [Zope] 2d list manipulation)

2000-09-10 Thread Dieter Maurer
Tim Russell writes: > 2 dimensional list access and modification of elements > I can easily access the value of > an element using: > > > > However, the difficulty comes when trying to change the value of one of > these elements There is no easy and safe way to do it

[Zope] Object from Object Id (was: [Zope] Get help about variable and entity of Zope.)

2000-09-10 Thread Dieter Maurer
[EMAIL PROTECTED] writes: >With DTML,I define a variable AA, and let AA equal a object's ID, > HOW can I get the object's property through the variable AA? Maybe > need a function? > Need your help? > > I want to express as : > (Name=1)"> You have an object ID (in your AA v

Re: [Zope] locale and Splitter.c on FreeBSD - where is the bug ?

2000-09-10 Thread Dieter Maurer
Aleksander Salwa writes: > > Some time ago I had a problem with locales on FreeBSD. > > On all machines I'm working on, 'char' is signed. > On Linux/x86, isalpha and others works fine with positive and negative > values of national characters. (For example, one polish character is > '

[Zope] Modification Posts to the list (was: [Zope] Import from file via management-interface)

2000-09-10 Thread Dieter Maurer
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. Patches have considerable advantages over the complete source:

[Zope] Length of a list (was: [Zope] How does one display document count of a folder?)

2000-09-10 Thread Dieter Maurer
[EMAIL PROTECTED] writes: > I am using a script to display the contents of a folder, but I > wonder how I might display a document count of the dtml > documents in a folder? You want to get the length of a list, in your case the return value of "objectIds". This is a FAQ: you use "_