Lorenzo Gil Sánchez wrote:
Hi,
I've been using a zope.app.generations.interfaces.ISchemaManager to keep
my database up to date with respect to the changes in the models of my
application and everything is well so far.
Now I have a tricky situation. My model had an attribute and now I
changed
Andreas Johnsen wrote:
Hei all Zopers,
I find the macro parameter in the z3c:template very useful for working
with templates for viewlets and pagelets. I guess it's slower to extract
a html-snippet from within a page template file (by including a macro
parameter) then including the entire page
[EMAIL PROTECTED] wrote:
Hello, *
How do you develop in zope 3?
First a few words:
After trying from time to time Zope 3 (X3, 3.0...) finally a month ago I
jumped in full time. Thanks to Philipp von Weitershausen's book, my
previous problems were solved. So I downloaded the zope 3 tar.gz
john saponara wrote:
I want to allow the user to create car and driver objects in a
limoService container. Car objects will stand alone, but each driver
object should contain a car object by reference (not by value) and the
driver add form should allow the user to choose which car the new
Christophe Combelles wrote:
Jürgen Kartnaller a écrit :
john saponara wrote:
I want to allow the user to create car and driver objects in a
limoService container. Car objects will stand alone, but each driver
object should contain a car object by reference (not by value) and
the
xin ni wrote:
Hi, dear all,
I am using zope 3.3.1
As ZCML browser:skin is deprecated, how to add addtional layers to an
existing skin?
interface
interface=IYourLayerInterface
type=zope.publisher.interfaces.browser.IBrowserSkinType
name=YourSkinName
/
Jürgen
Maken Seteva wrote:
Hi!
I am a bit curious about the behavior of the tagcount when tagging with
lovely.tag. Here is a snip from my doctest:
Nothing initially
sorted(e.getCloud(users=[u'barney']))
[]
Update tags for barney
e.update(1000, u'barney', [u'foo'])
In your buildout you do :
[instance]
recipe = zc.zope3recipes:instance
application = app
address = 8080
zope.conf =
product-config my-config-name
storagedir ${buildout:directory}/parts/log
/product-config
If you need the log dir precreated you do :
[extfiledir]
recipe =
Derek Richardson wrote:
I am using hexagonit.recipe.cmmi to install pound (www.apsis.ch/pound)
in front of zope. After I cmmi, I need to install a config file. I'd
like to include the pound config file in buildout.cfg, like the zcml
section in zc.zope3recipes:application. Is there a simple
I don't think the recent change to the utility is correct.
Because the engine property is now volatile it needs to be recreated any
time the utility is garbage collected.
Maybe that's the reason for these strange things to happen.
Jürgen
___
Florian,
you should definitely have a look at the package zc.async and/or
lovely.remotetask.
lovely.remotetask is in heavy use in our applications and contains a
scheduler like the scheduler provided in zope.
Jürgen
Florian Lindner wrote:
Hello,
I have a function called by a scheduler.
Dominique Lederer wrote:
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 then accessing a
randomized
Hi Scott,
I added cron job-like behavior to lovely.remotetask.
I'm using it to fire events a specific times.
If I find some time I will add a generic task which allows to fire a
configurable event.
Jürgen
Scott Deerwester wrote:
Has anyone ported the Scheduler product to Zope 3? Scheduler
Christophe Combelles wrote:
Hello,
I have a regular content object which uses the formlib for its edit view.
Nothing special, just like a Recipe.
But I want this object to only reside in the Site Manager, because it
will be used as a configurable local utility (some kind of
LocalKitchenTools
Stephan Richter wrote:
On Thursday 05 April 2007 15:28, Jürgen Kartnaller wrote:
Please do not use an annotation!
This is a performance issue. Your data is very small so do not create a
new object in the database store it directly as a property on the
instance. Every object lookup is expensive
Derek Richardson wrote:
Martin Aspeli wrote:
Derek Richardson-2 wrote:
Martin Aspeli wrote:
Stephan Richter-2 wrote:
On Wednesday 04 April 2007 13:06, Derek Richardson wrote:
I am hoping that Zope 3 assigns an RFC 4122 UUID to each content
item.
If not, I am hoping there is a
Maciej Wisniowski wrote:
For startup do this :
@component.adapter(IDatabaseOpenedEvent)
def startRemoteTask(event):
Start the amazon remotetask on startup.
db = event.database
connection = db.open()
root = connection.root()
root_folder = root.get(ZopePublication.root_name,
Maciej Wisniowski wrote:
Hi
I want to use lovely.remotetask in Z3 application.
Use case is very simple:
User views page, this causes long running function to be started
and Ajax calls from the page check every second if there is a result.
I have:
1. content object (Folderish) with instance
Stefan Krumbiegel (Galileo Press) wrote:
I installed Zope3
(http://www.zope.org/Products/Zope3/3.3.1/Zope-3.3.1.tgz) and
z3c.zalchemy from the repository (http://svn.zope.org/z3c.zalchemy/trunk/).
I followed the steps in the README.txt to try the ZAlchemy demos...
An error occured while
Christophe Combelles wrote:
Hello,
I've been spending several hours on a problem which is probably trivial
for advanced zope3ers, but it was not for me, so I'm posting the
solution in case it's useful for someone (I've not found anything on it).
Robert Hicks wrote:
Mark, Jonathan (Integic) wrote:
Here is my configure.zcml file, which is identical to the one Paul
Everitt says to write:
configure xmlns=http://namespaces.zope.org/browser;
page
name=hello
template=helloworld.html
George Wright wrote:
Gidday zope3 users
I have been working through the Weitershausen Zope3 book (first edition)
and came to stuff on Message IDs and translation domains.
I can't import MessageIDFactory (page 125)!
from zope.i18nmessageid import MessageIDFactory
maybe it should be
Vinny,
why not using form.Form to derive from :
class MyForm(form.Form):
form_fields = form.Fields(IOrder, omit_readonly=True)
Register this as a page and you are up and running.
Jürgen
Vinny wrote:
Hello,
Platform details:
# pkg_info | grep zope
zope-3.3.0 An object-based
component.provideUtility for a global utility.
See zope.component.interfaces.IComponentRegistrationConvenience
Or for local utilities registered in a site manager you use the site
manager :
sm.registerUtility
sm.unregisterUtility
See zope.component.interfaces.IComponentRegistry
Jürgen
Florian Lindner wrote:
Am Mittwoch, 27. Dezember 2006 19:15 schrieb Jürgen Kartnaller:
component.provideUtility for a global utility.
I've found that.
See zope.component.interfaces.IComponentRegistrationConvenience
Ok, for registering. But what to call for unregistering? (I have
Hi Tim,
Chat must implement IChat
Jürgen
Tim Terlegård wrote:
Would someone like to explain how to use a list in a schema object
without getting ForbiddenAttribute? This is my use case.
class IChat(Interface):
messages = Attribute('Chat messages')
class Chat(Persistent):
def
Hi Catonano.
What version of SQLAlchemy are you using ?
I haven't had a look at SQLAlchemy the last 3 month. Maybe something has
changed in SQLAlchemy.
If you look at the code in AlchemyEngineUtility.getEngine you see that
the engine returned is the plain engine from SQLAlchemy.
It seems
Hi Jakub.
eXt wrote:
Hi all
I recently read Stephan Richter's blog post:
http://blogs.lovelysystems.com/srichter/2006/09/20/the-skin-browser-and-lovely-systems-new-development-workflow
and intendent scope of viewlets thread:
Thierry Florac wrote:
Le samedi 07 octobre 2006 à 17:00 +1300, Darryl Cousins a écrit :
configure zcml::
browser:viewlet
name=layout.css
for=*
manager=barrysmithgallery.layer.public.ICSS
permission=zope.Public
class=..BRSPublicLayerLayoutCSSViewlet
experience with, so I am easily able to follow tutorials, and
people who are helping me can more easily understand what I am trying
to do.
Thanks very much for your help so far, I am excited about implementing
viewlets in our upcoming project.
Alec
On 10/5/06, Jürgen Kartnaller
[EMAIL PROTECTED
Hi Alec.
Alec Munro wrote:
Hi List,
I'm just getting up to speed with viewlets, having read a thread here
and there in the past about them. I've installed the examples provided
on this list, and while I believe I understand how they work, I don't
understand in what circumstances they are most
Or simply :
from zope.traversing.browser.absoluteurl import absoluteURL
absoluteURL(self.context, self.request)
Jürgen
[EMAIL PROTECTED] wrote:
self.context.absolute_url looks very zope2ish, absolute_url is no longer
inherited, it is an adapted component, so I believe the accepted Zope3 way
Hi catonano.
As the developer of the z3c.zalchemy package let me give you a short
introduction to zalchemy :
Zope3 contains a transaction mechanism which allows to plug in as many
transaction managers as you like. The main purpose of the zalchemy
package was to integrate SQLAlchemy into
Hi Martin.
I did it this way :
The Edit Form implementation :
class AddClub(zope.formlib.form.AddForm):
base_template =zope.formlib.form.AddForm.template
template = ViewPageTemplateFile('club_add.pt')
...
def referer(self):
returnself.request.form.get('referer')\
Hi Lorenzo.
Lorenzo Gil Sanchez wrote:
Hi,
I have an add form which a subclass of form.AddForm. It just adds a
'cancel' action.
This is my code:
class AddView(form.AddForm):
Try this here :
actions = form.AddForm.actions
form_fields = form.Fields(IDocument).omit('__name__')
in the template
above but nothing has a real effect.
Thanks,
Florian
--
---
Jürgen Kartnaller mailto:juergen_at_kartnaller.at
http://www.kartnaller.at
http://www.mcb-bregenz.at
Stéphane Brault wrote:
Hi Jim,
the Items object is my object, linked to my items, table which implements
the IItems interface I use for my form:
from neteven.interfaces.items import IItems
from zope.formlib import form
class ItemsForm(form.EditForm):
form_fields =
and the demo.
Checkout with :
svn co svn://svn.kartnaller.at .
Jürgen
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
--
---
Jürgen Kartnaller
Jeff Rush wrote:
I need control over which namespace is searched, so I added a couple of
generic TALES namespace adapters. Now I can do:
h1 tal:content=context/attribute:name /
How about :
h1 tal:content=context/++attribute++name /
to -only- search for a name attribute, and (less
/
Sorry, I'm a little bit lost here
Best regards
Lorenzo Gil
--
---
Jürgen Kartnaller mailto:juergen_at_kartnaller.at
http://www.kartnaller.at
http://www.mcb-bregenz.at
--
---
Jürgen Kartnaller mailto:juergen_at_kartnaller.at
http://www.kartnaller.at
http://www.mcb-bregenz.at
---
___
Zope3-users mailing list
Zope3-users
Joseph Method wrote:
This should definitely be a prominent How-To somewhere.
Definitely, but where is somewhere !
Maybe in the upcoming zope3.org website ?
Jürgen
--
---
Jürgen Kartnaller mailto:juergen_at_kartnaller.at
Gary Poster wrote:
On Feb 26, 2006, at 4:17 PM, jürgen Kartnaller wrote:
Joel Moxley wrote:
** What is the best way to use a formlib EditForm to redirect a user
after applying changes without fully cloning a handle_edit_action
method? **
I'm doing it this way :
def render(self
43 matches
Mail list logo