Hi
i want to switch from jsonserver to z3c.jsonrpc, but i cant get it working.
i have a skin defined:
py:
from zope.publisher.interfaces.browser import IDefaultBrowserLayer
class IPreview(IDefaultBrowserLayer):
""" """
zcml:
type="zope.publisher.interfaces.browser.IBrowserSkinType" name
hi
i am searching for a simple buildout.cfg, which installs the latest zope 3.4 rc1
with a filestorage and one instance.
i would like to switch an existing z3 applikation to buildout, for a comfortable
deployment. this app i would check out via infrae.subversion.
build i cant find any worki
Alek Kowalczyk schrieb:
Hello again,
I have a rather big tree of MyObjects. MyObjects are adaptable to
hurry.workflow's IWorklowState. Now I'd like to create a catalog to index all
MyObjects by their current states. How to do that?
An option might be(?) to add to MyObject property like that:
@
hi
i would like to cache the results of method in a view, and thougt, that RAMCache
could be of use here.
After spending a lot of time searching for some documentation or examples, i
came to this:
from zope.app.cache.ram import RAMCache
cache = RAMCache()
query = cache.query('test',key={'x':1})
Dominique Lederer wrote:
> hi
>
> i want to delete objects in my container, for that i do
>
> for xx in container.keys():
> logging.info(xx)
> del container[xx]
>
> but only every second obj is deleted, the loop touches objects in this order:
> 1,3,5,7,
hi
i want to delete objects in my container, for that i do
for xx in container.keys():
logging.info(xx)
del container[xx]
but only every second obj is deleted, the loop touches objects in this order:
1,3,5,7,.
if i remove the del statement from the upper example, the loop works as
expe
Florian Lindner wrote:
> Hello,
> some people might have noticed I am developing a Blog package for Zope3.
> Since it slowly becomes functional (an older version is working at
> http://xgm.de) I want to release it (under an free and open source licence).
>
> One thing still missing is a good name
Hermann Himmelbauer wrote:
> Hi,
> I have to write an Authenticator Plugin for my application. My login/pass
> data
> is stored in a relational database, which I access via zsqlalchemy.
>
> I have several objects, which are secured by certain permissions. Moreover I
> granted permissions to sev
Christian Theune wrote:
> Am Samstag, den 05.05.2007, 17:42 +0200 schrieb Dominique Lederer:
>> hi
>>
>> i would like to retrieve a number of *random* entries out of a catalogs
>> field index.
>>
>> i tried it with first getting the catalogindex-length an th
hi
i would like to retrieve a number of *random* entries out of a catalogs field
index.
i tried it with first getting the catalogindex-length an then accessing a
randomized list-index, but this is very slow, because of the large number of
entries in the index.
do you know any better solution?
hi
i just tried to adapt an object with two similar interfaces:
class IBaseAdapter(Interface):
content = Text(title=u"Content", required=False)
class IHomeAdapter(IBaseAdapter):
""" """
class ILinksAdapter(IBaseAdapter):
""" """
after that, i created two formlib editform views a
hi
i´m just thinking about, how to handle a lot of images within my zope3
application.
what would you recommend to do:
a) save all images into the zodb
b) use z3c.extfile
i looked a bit into z3c.extfile´s documentation, an found, that i returns
file-data from the filesystem, which are stored th
hi,
I want to index a field from an object, which works perfectly via Catalog and
Field Index.
But if my callable field returns a value, which is returned from an adapter of
the object, things get complicated for me:
i create my object an add it to a container (not via zmi).
i do the notify(Obje
Marius Gedminas schrieb:
> On Wed, Jan 24, 2007 at 08:31:52PM +0100, Dominique Lederer wrote:
>> can someone explain me please when to use browser:view and when browser:page?
>
> As far as I understand, the intended use of is to define
> views that are accessible to brow
Dominique Lederer schrieb:
> i have a viewlet where this method resides:
>
> def title(self):
> from zope.i18nmessageid import MessageFactory
> _ = MessageFactory('my_domain')
> return _(self.__name__)
>
> the pagetemplates for the viewlet
i have a viewlet where this method resides:
def title(self):
from zope.i18nmessageid import MessageFactory
_ = MessageFactory('my_domain')
return _(self.__name__)
the pagetemplates for the viewlet renders the title like
the templates renders without errors, but if i use
hi
i would like to build a nested navigation. i would like do this as follows:
.) one viewlet manager for the whole navigation to place in,
.) one viewlet which is an entry in the navigation (name, target)
.) another viewlet manager which is also an entry of the navigation but is used
to create
Florian Lindner schrieb:
> Am Dienstag, 13. Februar 2007 12:04 schrieb Stephan Richter:
>> On Monday 12 February 2007 15:56, David Johnson wrote:
>>> Many people have offered approaches. I find the simplest and
>>> cleanest approach for declaring interfaces is as follows:
>> The cleanest way, in
Hassan Alirezaei schrieb:
> Hi Marius
>
> thanks for the response. you are right that was a typo,
> "views/standard_macros" is totaly wrong.
> however, the problem still remains the same:
> even
>
>
>
>
> or
>
>
>
>
> won't work. I get the same old error as my other post.
>
> Any Ideas
FB schrieb:
> Hi,
>
> On Sun, Feb 11, 2007 at 01:16:51AM +0100, Dominique Lederer wrote:
>> hi
>>
>> i created a trusted adapter on a content object.
>> then i created a formlib edit page for the ZMI, to be able to edit the
>> new attributes on the adapted
hi
i created a trusted adapter on a content object.
then i created a formlib edit page for the ZMI, to be able to edit the
new attributes on the adapted content object. the adapters interface is
correctly rendered to the form.
if i try to edit, an unauthorized error is shown, which i also get, wh
tyson schrieb:
> I am having trouble getting my style sheet to load in my page template.
> I added my .css file within the local package directory. How can I
> point to this file on the filesystem. I tried using a layer with a
> resource in my configure file, but that didn't work. Any help woul
hi
i render a form with formlib which contains a selectbox:
form_fields = Fields(
Choice(__name__='selectbox', required=False,
values=["value1","value2","value3"]),
)
the rendered output always includes a extra option which contains this
message-id "vocabulary-missing-single-valu
David Johnson schrieb:
> I am trying to figure out what a catalog does, so I began testing.
> 1. In ZMI add Catalog (no problem)
> 2. In Catalog add Field or Text index (doesn't matter)
> 3. Select interface (I'm using a simple "Note" content type I created
> note.INote)
> 4. Put in "body" as the a
hi!
can someone explain me please when to use browser:view and when browser:page?
and when would i inherit a View Class from zope.publisher.BrowserView and when
from zope.publisher.BrowserPage, and why do i need them when i could just
inherit from object without any errors?
and what means the
David Johnson schrieb:
>> * Do you think Zope (3) can be used at school or university level to
>> support topics in computer science education? What topics would you
>> recommend? Why?
> I definitely think Zope 3 can be used to support education. We plan on
> developing a number of applications in
Hello list!
currently i am writing my diploma thesis at the University of Applied
Science in Austria, Vienna.
The topic is about the usage of Python and Zope (3) in education.
There are a lot of papers concerning Python and education, but i found
not much about Zope there. So this seems an interes
hi
im searching for a Poll, Survey, Questionaire-like package for zope3
is something like this out there?
thanks
Dominique
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
Gary Poster schrieb:
>
> On Jan 2, 2007, at 2:29 PM, Benji York wrote:
>
>> Dominique Lederer wrote:
>>> i see there is a VirtualHostingBrowser class in
>>> zope.testbrowser.testing, but i dont have a clue on how to use this.
>>
>> Use VirtualHostTest
hi!
i would like to use zope.testbrowser to test my vhosted site
http://localhost:8080/++skin++myskin/mysite/++vh++http:my.example.com:80/++/
i see there is a VirtualHostingBrowser class in
zope.testbrowser.testing, but i dont have a clue on how to use this.
any help would be nice.
thanks
Dom
_
Anton schrieb:
> Adam Groszer wrote:
>
>> Hello Anton,
>>
>> That's a small incompatibility between python 2.4.4 and Zope 3.3.
>> You can use python 2.4.3 to work around that.
>> The fix for Zope is there but only in the svn yet.
>
> Hi Adam,
>
>
> Do you have any hint what file is affected
> (
Dennis Schulz schrieb:
> How to get access to the svn
>
> http://svn.zope.org/zc.datetimewidget/trunk/src
>
> I can't access it neighter with eclipse nor with tortoise svn. (PROBFIND
> REQUEST FAILED)
> Where can I get a login?
use
svn://svn.zope.org/repos/main/zc.datetimewidget/trunk/src
chee
Florian Lindner schrieb:
> Am Freitag, 24. November 2006 16:55 schrieb Dominique Lederer:
>> hi
>>
>> just tried to retrive some objects attributes (from an object i created
>> vie ZMI) on the IObjectCreatedEvent. Got just emty attributes, so i
>> tried it with IOb
Darryl Cousins schrieb:
> Hi Tim,
>
> On Sat, 2006-10-21 at 12:18 +0200, Tim Terlegård wrote:
>> Is there a way to add content without having @@+ in the URL? For
>> instance I'd like the url for adding events to be /addEvent.
>>
>> I get security problems when not having @@+ in the URL. I have thi
hi
just tried to retrive some objects attributes (from an object i created
vie ZMI) on the IObjectCreatedEvent. Got just emty attributes, so i
tried it with IObjectAddedEvent, but my attributes are still in initial
state .
it works with IObjectModifiedEvent, but thats not my use-case.
is there a
Dominique Lederer schrieb:
> hi
>
> i would like to change the behaviour of extractCredentials in the
> SessionCredentialsPlugin of the PAU.
>
> i´m still fighting a bit with the framework:
>
> would i use an adapter for this, or subclassing?
> or would i use the over
hi
i would like to change the behaviour of extractCredentials in the
SessionCredentialsPlugin of the PAU.
i´m still fighting a bit with the framework:
would i use an adapter for this, or subclassing?
or would i use the override directive somehow?
thank you
Dominique
Philipp von Weitershausen schrieb:
> Dominique Lederer wrote:
>> i just added an adapter to my content-class, which gets and sets some
>> Annotations.
>>
>> at the moment i do this in the adapters init to be able to set them:
>>
>> def __init__(self, contex
hi!
i just added an adapter to my content-class, which gets and sets some
Annotations.
at the moment i do this in the adapters init to be able to set them:
def __init__(self, context):
from zope.security.proxy import removeSecurityProxy
self.context = removeSecurityProxy(context)
Karel Antonio Verdecia Ortiz schrieb:
> Hi:
>
> Is there a workflow engine for zope3
yes
hurry.workflow
http://codespeak.net/svn/z3/hurry/trunk/
and
zope.wfmc
http://svn.zope.org/Zope3/trunk/src/zope/wfmc/
___
Zope3-users mailing list
Zope3-users@zop
hi
I have users residing in an external database.I store user data with
principal annotations. Now i want to create a view where users with a
special annotation are listed.
Is it possible to catalog principal annotations and how?
Or do i have to create a special Person Class where all principal d
Stephan Richter schrieb:
> On Friday 27 October 2006 06:57, Thierry Florac wrote:
>> What I'd like to do is to be able to grant a set of roles automatically
>> to my internal principals authenticated via LDAP. Is it possible ?
>
> Yes, create some groups and grant them permissions and roles. You t
hello
i would like to set predefined metadata, when i create a new content object.
from my point of knowledge i could to this with a custom factory or by
listening to events.
is there any other possibility to to this, mabe somehow in the interface?
thanks
cheers
Dom
hi,
i´m stuck at the basics.
how to i get my content object to be workflow aware?
i read through the package doctest, but i cant adapt that to the actual
zcml - interface - content-object stuff.
my content object provides IAnnotatable.
at my configure.zcml i adapt this:
ok. but what now? w
44 matches
Mail list logo