Florian Lindner wrote:
Hello,
I implemented to traverser to the nearest site using the code in the posting:
[Zope3-Users] Re: Traversing to nearest site
Von: jÃrgen Kartnaller <[EMAIL PROTECTED]>
An: [EMAIL PROTECTED]
Datum: 17.03.2005 13:53
it works: When I'm calling
http://horus.local:8080/++ski
Stephan Richter wrote:
On Thursday 31 March 2005 09:23, Florian Lindner wrote:
I implemented to traverser to the nearest site using the code in the
posting:
[Zope3-Users] Re: Traversing to nearest site
Von: jÃrgen Kartnaller <[EMAIL PROTECTED]>
An: zope3-users@zope.org
Datum: 17.03.2005 13:53
Why
Stephan Richter wrote:
On Saturday 02 April 2005 04:38, jÃrgen Kartnaller wrote:
Why in the world would you want to do that? This seems just awful. What
is your use case?
In my case I want to have the possibility to jump back to my base view
(which is the default view of my site) from wherever I am
Adam Groszer wrote:
> I would like to change the automatically generated forms to template
> based one's, but I'm stuck at the configuration.
>
> schema="szscreen.interfaces.ISzerep"
> content_factory="szscreen.app.Szerep"
> label="Uj Szerep"
> name="AddSzerep.html"
>
on(_("Apply"), condition=haveInputWidgets)
> def changed(self, action, data):
> #TypeError: 'Action' object is not callable
> self.handle_edit_action(action, data)
> self.request.response.redirect('../../@@overview.html')
I'm
of 'FormBase' contains the slot 'extra_info'
which could be filled with some hidden input fields.
I defined a new template for my own EditForm.
But now I would like to use the existing template in formlib
'pageform.pt' and fill the slot but don't know how.
I
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_act
Joel Moxley wrote:
> On 2/26/06, Gary Poster <[EMAIL PROTECTED]> 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
>>>>&
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
iption = Text(
>> title=u"Description",
>> description=u"Description of the website",
>> default=u"",
>> required=False)
>>
>> How can I prevent Mark objects from having the same url? So if a Mark
>> object exists in BookMarker with Mark.url="h
le bit lost here
>
> Best regards
>
> Lorenzo Gil
--
---
Jürgen Kartnaller mailto:juergen_at_kartnaller.at
http://www.kartnaller.at
http://www.mcb-bregenz.at
-
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:
>
>
How about :
>
> to -only- search for a name attribute, and (less frequently):
>
>
See zope.app.traversing for other namespaces.
Jürgen
_
t;> Checkout with :
>> svn co svn://svn.kartnaller.at .
>>
>>
>> Jürgen
>>
>> ___
>> Zope3-users mailing list
>> Zop
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
>
>
> @@standard_macros/page is my template in my skin. The skin is derived from
> the
> rotterdam skin.
>
> Where do I add the fill-slot? I've tried a various locations in the template
> above but nothing has a real effect.
>
> Thanks,
>
> Florian
--
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__')
Hello Carlo.
The implementation of the container is more or less a demonstation on
how to use sqlalchemy object together with a zope container.
To request an object for a zope container a name is used. In the case of
sqlalchemy objects a generalization. This generalization make it
possible to
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 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 Zope
Hi Florian.
Look at z3c.menu
We use this heavily in our applications.
Jürgen
Florian Lindner wrote:
Hello,
I've read various times that viewlets would be a good replacements for menu
(or was it content providers?).
How would such a replacement look like? Could anyone give a sketch of how to
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 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 u
ething I don't have
much 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 Ka
Thierry Florac wrote:
Le samedi 07 octobre 2006 à 17:00 +1300, Darryl Cousins a écrit :
configure zcml::
Maybe I'm wrong, but it seems that the "weight" parameter is not used by
the default implementation of the CSS viewlet manager...
Correct ?
Correct, but look at z3c.viewlet.
Jürg
ssion="zope.Public"
> layer=".interfaces.MySkin"
> />
>
> template="myskin_master.pt"
> for=".interfaces.ISimplePage"
> layer=".interfaces.MySkin"
> />
>
> Kevin Smith
>
> - Original Mess
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:
http://thread.gmane.org/gmane.comp.web.zope.zope3.user/4652/foc
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 t
Darryl Cousins wrote:
Aaah. The light dawns. I found that I need to group all the generators
into a single manager in order for them to work together.
Exactly. Thats why we have managers, connecting generators together for
different tasks.
So the
configuration that works is:
svn://svn.zope.org/repos/main/zc.datetimewidget/trunk/src/zc/datetimewidget
Jürgen
Dennis Schulz wrote:
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 log
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 __init__(
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
Fl
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 h
Peter Koppatz wrote:
Hi,
with formlib I want's to add a new object to a container. This is done
with AddForm.
If an object with the same name already exists I want to redirect to
this object in the container.
How is this achieved?
The last line I found with google but dosn't work becau
Florian,
if you want the url to your current site implement this :
class SiteUrlView(object):
def __call__(self):
return absoluteURL(hooks.getSite(), self.request)
And register a page :
Now you can use context/@@site_url anywhere.
Juergen
Florian Lindner wrote:
Am Diensta
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 web
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 Me
Robert Hicks wrote:
Mark, Jonathan (Integic) wrote:
Here is my configure.zcml file, which is identical to the one Paul
Everitt says to write:
http://namespaces.zope.org/browser";>
XML is case sensitive "Icontainer" should be "IContainer"...
It's not XML that is case sensitive, it
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).
http://mail.zope.org/pipermail/zope3-users
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 star
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 of
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_
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 third-par
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
By the way, marius, thanks for your great profiling library.
We used it this week to track down our performance issues and could
increase the speed of some of our functions by a factor of 10 or more(!)
The zope index checkin's this week result from using your profile
decorator. Especially the
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 u
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
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 l
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. Since
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
___
Zope3
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
In your buildout you do :
[instance]
recipe = zc.zope3recipes:instance
application = app
address = 8080
zope.conf =
storagedir ${buildout:directory}/parts/log
If you need the log dir precreated you do :
[extfiledir]
recipe = lovely.recipe:mkdir
path = parts/log
To access the prod
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'])
>>> e.up
xin ni wrote:
Hi, dear all,
I am using zope 3.3.1
As ZCML is deprecated, how to add addtional layers to an
existing skin?
Jürgen
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
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 dr
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 driver
[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 and
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 t
58 matches
Mail list logo