Hi, I've created a folder for each country with the 2 letter country code as the folder name. However I keep getting an error with Indonesia - country code 'id'. Given it's use across Zope - is these a reserved word and thus can't be used for naming - or just an edge case no one has encountered before? (I'm using Zope 2.7.x with Plone 2.0.4) Cheers, Duane
Given it's use across Zope - is these a reserved word and thus can't be used for naming
yes jens --------------- Jens Vagelpohl jens@zetwork.com Software Engineer +49-(0)441-36 18 14 38 Zetwork GmbH http://www.zetwork.com/
In article <de2bdeec04120409331b45fb7@mail.gmail.com> you write:
I've created a folder for each country with the 2 letter country code as the folder name. However I keep getting an error with Indonesia - country code 'id'.
Given it's use across Zope - is these a reserved word and thus can't be used for naming - or just an edge case no one has encountered before? (I'm using Zope 2.7.x with Plone 2.0.4)
You may want to try to use BTreeFolder2, that won't have any restrictions on the ids (I think...). You'll lose manual ordering though. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D +33 1 40 33 71 59 http://nuxeo.com fg@nuxeo.com
Dne sobota, 4. prosince 2004 18:33 Duane Raymond napsal(a):
I've created a folder for each country with the 2 letter country code as the folder name. However I keep getting an error with Indonesia - country code 'id'.
Use ZSQL method and SQL table - or TinyTablePlus, with folder names and country ID. Then you can get folder name for country ID with no "reserved words" limit... -- Jaroslav Lukesh ----------------------------------------------------------- This e-mail can not contain any viruses because I use Linux
participants (4)
-
Duane Raymond -
Florent Guillaume -
Jaroslav Lukesh -
Jens Vagelpohl