[Zope] Five EditFrom and Fields appears broken

2010-01-08 Thread Jim Pharis
Does anyone successfully use zope.formlib.form Fields with Products.Five.formlib.formbase EditForm? I was trying to figure out why my form_fields.omit and custom_widget were being ignored. I followed it up the stack and found the method setUpEditWidgets in zope.app.form.utility never takes Fields i

Re: [Zope] Five and editform

2008-10-17 Thread Mark Gibson
Hi JeanMichel, thanks for our reply. This is not an egg - just a simple product I have in /lib/python. I'm working with Zope 2.9.7, not a buildout environment. I get the Boring product in the "Add" dropdown, and I can create the object. I do have the product included in site.zcml, and it d

Re: [Zope] Five and editform

2008-10-17 Thread JeanMichel FRANCOIS
Hi Mark Gibson, Do you develop this with egg ? throw Products namespace ? The zcml seems good. If you develop outside of the Products namespace don't forget to include your package in the site.zcml. You can verify this by making a mistake in the zcml and try to start zope. Does you content impl

[Zope] Five and editform

2008-10-16 Thread Mark Gibson
I created a simple content type. I can create an object, but I can't call my view or edit form on it. If I try object/boring_editform or object/index.html I get a Not Found error. Here's what I have in my configure.zcml: --- --- What am I missing? Thanks, Mark ___

[Zope] Five pointers

2008-10-16 Thread Mark Gibson
I'm developing a new product for a Zope 2.9.7 site (no CMF). I'd like to use Zope 3 technologies for this product. I've been looking around for a few days, most of what I see describes development for Zope 3, or Five in the context of Plone. Is there a tutorial or a product I can reference th

[Zope] Five events and webdav

2008-02-04 Thread Chris Withers
Hi All, What event should I subscribe to in order to recatalog all of a folder's contents should that folder be renamed via webdav? (I guess I'd need to uncatalog from old path and then re-catalog from new path?) cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting

[Zope] Five Point Capital, Searching for the Right Keywords through Staff Leasing Companies

2008-01-08 Thread Super Star
Five Point Capital, Searching for the Right Keywords through Staff Leasing Companies A growing number of websites compete to be among the top ten listings in the search results. This position gives them a higher possibility of getting more customers compared with a lower rank. Web marketers use

[Zope] Five 1.5.5 and menuItem - problem with 'filter' parameter

2007-11-29 Thread Pawel Lewicki
Hi, Am I doing anything wrong or filter parameter of browser:menuItem is just ignored? I have that problem in Plone but I suspect CMF ActionsTool if not Five itself. I tried "whatever" Python Script, registered page view, etc. No success. Pawel ___

[Zope] five browser:defaultView and webdav question

2007-11-15 Thread Piotr Chamera
Hi I have an folder like object inherited from zope2 folder with some five additions (interfaces, views). Webdav support for this object works until I give it default view. I do it as follows: Then webdav support inherited from Folder breaks. How can I define this default view only for brows

[Zope] five zcml addview question

2007-11-07 Thread David Davis
I am trying to create simple content type with zope 2.10.4 and five. I have performed the following: - created a content interface - created a content type class implementing the interface and extending both Persistent and SimpleItem - created zcml class entries for the content typ

[Zope] Five: Adapter registry not working?

2007-05-30 Thread Peter Sabaini
Hi list, I am clearly doing something wrong here. I try to use an Adapter from zope.app.session with an HTTPRequest object, but the Adapterregistry doesnt quite cooperate. Specifically, I try to adapt a HTTPRequest object to zope.app.session.interfaces.IClientId via the Adapter zope.app.sessi

[Zope] Five

2006-03-05 Thread John Huttley
Ah! I've found the site, not on zope.org at all Thx ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http:

[Zope] Five Documentation

2006-03-05 Thread John Huttley
Is there any documentation or howtos or example code available? I haven't spotted any.. Regards, john ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail

Re: [Zope] Five defaultView and REQUEST.URL0

2006-02-22 Thread Maciej Wisniowski
> Can somebody tell me whether I'm doing something in a wrong > way, or maybe it is a bug or feature? I dont understand why there > is such a difference between view and default view? I forgot to say that my Zope is 2.8.4. I've updated to 2.8.5 and 2.9.0 and it seems that the problem is solved in

[Zope] Five defaultView and REQUEST.URL0

2006-02-21 Thread Maciej Wisniowski
Hi I've created simple view that just displays few lines of text (with national characters) and URL of the current page (which is received by call to my product method (code below)). I'm using UTF-8. I've used REQUEST.URL0 to generate url. The problem is when I'm accessing my object via it's n

Re: [Zope] five i18n

2006-01-18 Thread Jürgen Herrmann
me again :) some more things i found out: 1. MyLanguages is instantiated on every http request but regardless of what i return (['DE'] or ['de']) i always get the english translation. weird?! 2. seems that only page templates served through an http request trigger the i18n stuff at all. if so, ho

Re: [Zope] five i18n

2006-01-18 Thread Martijn Faassen
Jürgen Herrmann wrote: just tried this: hacked in a MyLanguages in five's i18n.py: class MyLanguages(object): """ fake """ implements(IUserPreferredLanguages) def __init__(self, context): self.context = context def getPreferredLanguages(self): return ('DE') an

Re: [Zope] five i18n

2006-01-18 Thread Martijn Faassen
Lennart Regebro wrote: On 1/18/06, Jürgen Herrmann <[EMAIL PROTECTED]> wrote: - how can i set the target language for the translation in the zpt? That's tricky! :) You need either Localizer or the plone tool for that now, I think. But it's mentioned in the documentation. By default it just

Re: [Zope] five i18n

2006-01-18 Thread Lennart Regebro
On 1/18/06, Jürgen Herrmann <[EMAIL PROTECTED]> wrote: > 2. does the translation also work with page template files? Yes. The work either when you use i18n.translate() from python, or when you do i18n:something in ZPT. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management

Re: [Zope] five i18n (addendum)

2006-01-18 Thread Jürgen Herrmann
') or ('de') - tried both to no avail :( > 2. does the translation also work with page template files? > > regards, juergen > > On Wed, January 18, 2006 14:28, Lennart Regebro wrote: >> On 1/18/06, Jürgen Herrmann <[EMAIL PROTECTED]> wrote: >>> do

Re: [Zope] five i18n

2006-01-18 Thread Jürgen Herrmann
:28, Lennart Regebro wrote: > On 1/18/06, Jürgen Herrmann <[EMAIL PROTECTED]> wrote: >> does the zope/five/i18n machinery tell anything about it's startup >> phase (finding message catalogs etc.) in the logs or while watching >> runzope output? > > Nope. It would p

Re: [Zope] five i18n

2006-01-18 Thread Jürgen Herrmann
On Wed, January 18, 2006 14:28, Lennart Regebro wrote: > On 1/18/06, Jürgen Herrmann <[EMAIL PROTECTED]> wrote: >> does the zope/five/i18n machinery tell anything about it's startup >> phase (finding message catalogs etc.) in the logs or while watching >> ru

Re: [Zope] five i18n

2006-01-18 Thread Lennart Regebro
On 1/18/06, Jürgen Herrmann <[EMAIL PROTECTED]> wrote: > does the zope/five/i18n machinery tell anything about it's startup > phase (finding message catalogs etc.) in the logs or while watching > runzope output? Nope. It would probably be good if the registerTranslations state

Re: [Zope] five i18n

2006-01-18 Thread Jürgen Herrmann
does the zope/five/i18n machinery tell anything about it's startup phase (finding message catalogs etc.) in the logs or while watching runzope output? i don't see anything here, and still didn't get it to work. - what are the preconditions to get it working? i use plain zope pag

Re: [Zope] five i18n

2006-01-17 Thread Martijn Pieters
On 1/17/06, Jürgen Herrmann <[EMAIL PROTECTED]> wrote: > does anybody have a five product that uses i18n that i can have a look at? > i don't seem to get it right... See Philipps tutorial on the subject: http://worldcookery.com/files/fivei18n/ -- Martijn Pieters ___

Re: [Zope] five i18n

2006-01-17 Thread Lennart Regebro
On 1/17/06, Jürgen Herrmann <[EMAIL PROTECTED]> wrote: > hi all! > > does anybody have a five product that uses i18n that i can have a look at? > i don't seem to get it right... Yeah, the CalZope trunk does it: http://svn.nuxeo.org/trac/pub/browser/CalZope/trunk/ -- Lennart Regebro, Nuxeo htt

[Zope] five i18n

2006-01-17 Thread Jürgen Herrmann
hi all! does anybody have a five product that uses i18n that i can have a look at? i don't seem to get it right... thanks & regards, juergen ___ >> XLhost.de - eXperts in Linux hosting << Jürgen Herrmann Bruderwöhrdstraße 15b,