Hi,
On Tue, Feb 27, 2007 at 09:24:10PM +0100, David Johnson wrote:
I've seen posts about this but I am confused. Is there a Dict widget? I
tried it and I received IInputWidget errors.
Yes, I've written three Dict widgets:
1. A generic Dict widget (*,*)
2. A (Choice,*) Dict widget
3. A
I continue to feel like an idiot in the face of Unicode. I finally
understand what a unicode 'string' really is, and what encode and
decode mean (they were previously interchangable in my mind). But I
don't know the best practices.
My desire is to:
- Not have any encode / decode errors. 'ascii
--On 28. Februar 2007 01:21:41 -0700 Jeff Shell [EMAIL PROTECTED]
wrote:
- HOW do I know what a browser has sent me? There doesn't seem to be
a real way of handling this. Do I guess?
- Know without a doubt when to encode, and when to decode. I guess the
proper thing to do is to store
Tom Dossis [EMAIL PROTECTED] writes:
I have another issue with IntIds and NotYet:
I have some BTreeContainer-derieved object which is short-living container.
It is never stored in ZoDB
- it is just a result of some query to external system.
It worked fine until I enabled IntIds utility.
Now I
Hi,
On Wed, Feb 28, 2007 at 12:57:35PM +, Alek Kowalczyk wrote:
Tom Dossis [EMAIL PROTECTED] writes:
I have another issue with IntIds and NotYet:
I have some BTreeContainer-derieved object which is short-living container.
It is never stored in ZoDB
- it is just a result of some query
Hi friends!
Hmm... strange thing...
With this code I got:
browser = Browser('http://localhost:8080/')
browser.addHeader('Authorization', 'Basic admin:admin')
browser.open('http://localhost:8080/manage')
Traceback (most recent call last):
File stdin, line 1, in ?
File
Hi all,
our applications are actually running on Zope2. Now we are planning to
change
the framework to a modern MVC-style one. It will be a reimplementation
of our
applications from scratch. Two candidates are left over: Zope3 and Django.
(We have already built a simple CMS with Django... it
I am not an expert and I've never developed a big pure Zope 3 application,
but I have consumed a lot of Zope 3 ilbraries and concepts, from Plone on
Zope 2, and mostly that's been a pleasant experience. Zope 3 is incredibly
advanced and powerful. The concepts take some time to get used to if you
FB [EMAIL PROTECTED] writes:
It tries that, because it's handler is called by the container's __setitem__
method. Just write your own - like that:
class MyContainer(BTreeContainer):
def __setitem__(self,key,object)
object.__parent__=self
object.__name__=key
Stefan Krumbiegel (Galileo Press) wrote:
3.3 Also there is 'zsqlmap: Zope3 wrapper for SQLObject'
(http://www.zope.org/Members/garanin/zsqlmap). This is not really a
solution for us because the version number is 0.01b and the author says:
'NOTE: i tested only postgres.' Not really a capable
Hi,
Is it possible to control the default page for a particular object based on
the roles/permissions that a user has?
The browser:defaultPage directive as such doesn't support this.
Will I have to write a custom traverser or something like that for this?
Thanx in advance.
With regards,
Shailesh Kumar wrote:
Hi,
Is it possible to control the default page for a particular object
based on the roles/permissions that a user has?
The browser:defaultPage directive as such doesn't support this.
Will I have to write a custom traverser or something like that for this?
Thanx in
Stefan Krumbiegel (Galileo Press) wrote:
[skipping questions I can't answer]
1. Is Zope3 already in use in productive environments? Where are they
(URLs)?
Sure, a lot of people on the zope3-users list are using Zope 3 in
production. In particular, many Zope solution providers like Zope
Hello,
One of the problems that I've had learning zope 3 (and python
at the same time) is that I did not understand how code 'got
executed'. This was a big stumbling block for someone coming
from a non-object oriented background who was used to creating
'normal' websites--i.e. the
Basil Shubin wrote:
Hi friends!
Hmm... strange thing...
With this code I got:
browser = Browser('http://localhost:8080/')
browser.addHeader('Authorization', 'Basic admin:admin')
browser.open('http://localhost:8080/manage')
Traceback (most recent call last):
...
urllib2.HTTPError: HTTP
Alek Kowalczyk wrote:
FB [EMAIL PROTECTED] writes:
It tries that, because it's handler is called by the container's __setitem__
method. Just write your own - like that:
class MyContainer(BTreeContainer):
def __setitem__(self,key,object)
object.__parent__=self
Philipp von Weitershausen wrote:
1. Is Zope3 already in use in productive environments? Where are they
(URLs)?
Sure, a lot of people on the zope3-users list are using Zope 3 in
production. In particular, many Zope solution providers like Zope Corp,
gocept, Infrae, Lovely Systems, etc. are
Philipp von Weitershausen [EMAIL PROTECTED] writes:
I don't think I would like to redesign my objects just because the
addIntIdSubscriber does not catch NotYet when getting IKeyReference:
at adapter(ILocation, IObjectAddedEvent)
def addIntIdSubscriber(ob, event):
# ...
Hello,
this is the entry from principals.zcml created by mkzopeinstance (a bit
modified):
principal
id=something.Florian
title=Manager
login=florian
password_manager=Plain Text
password=123
/
but can I set a id that does not contain a dot?
I ask because I display DC
Hi,
On Wed, Feb 28, 2007 at 03:01:57PM +0100, Stefan Krumbiegel (Galileo Press)
wrote:
1. Is Zope3 already in use in productive environments? Where are they
(URLs)?
Yes. http://launchpad.net/ is one example of a Zope 3 site that uses
a SQL database instead of ZODB.
Now, where should we
On Wed, Feb 28, 2007 at 04:35:07PM +, Alek Kowalczyk wrote:
I think I'll start another thread (based on
http://permalink.gmane.org/gmane.comp.web.zope.zope3.user/5692) because I
think
this is a new question.
I would like to override IntId's subscriber (to catch NotYet exception there)
On Wed, Feb 28, 2007 at 11:47:15AM -0500, Giovannetti, Mark wrote:
Hello,
One of the problems that I've had learning zope 3 (and python
at the same time) is that I did not understand how code 'got
executed'. This was a big stumbling block for someone coming
from a non-object oriented
Florian Lindner wrote:
Hello,
this is the entry from principals.zcml created by mkzopeinstance (a bit
modified):
principal
id=something.Florian
title=Manager
login=florian
password_manager=Plain Text
password=123
/
but can I set a id that does not contain a dot?
I
On 2/28/07, Philipp von Weitershausen [EMAIL PROTECTED] wrote:
Jeff Shell wrote:
- Not have any encode / decode errors. 'ascii codec doesn't recognize
character ... at position ...'. I don't want to keep on bullying
through whenever this pops up.
You can't just simply do str(some_unicode) or
For whoever may be interested...
Amazon.com is finally shipping the second edition of Philipp's book (ordered
Dec 6/06, shipped on Feb 24/07, arrived today!)
Jonathan
___
Zope3-users mailing list
Zope3-users@zope.org
On Wed, Feb 28, 2007 at 02:06:39PM -0700, Jeff Shell wrote:
On 2/28/07, Philipp von Weitershausen [EMAIL PROTECTED] wrote:
That's sorta what zope.publisher does. Actually, it figures that if the
browser sends an Accept-Charset header, the stuff that its sending to us
would be encoded in one of
On Feb 28, 2007, at 5:37 PM, Paul Winkler wrote:
On Wed, Feb 28, 2007 at 02:06:39PM -0700, Jeff Shell wrote:
On 2/28/07, Philipp von Weitershausen [EMAIL PROTECTED]
wrote:
That's sorta what zope.publisher does. Actually, it figures that
if the
browser sends an Accept-Charset header, the
Thanks.
--
powered by python
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
28 matches
Mail list logo