On Sunday 11 March 2007 14:52, Florian Lindner wrote:
> I use this expression to display the time
>
> formatter = self.request.locale.dates.getFormatter('dateTime', 'medium')
> return formatter.format(date)
>
> The server time is set on UTC, no locale is set on the server. The clients
> local is de
On Tuesday 12 June 2007 11:45, Hermann Himmelbauer wrote:
> I've read the doctests of z3c.forms and have to say that the package is
> really impressive. Many things look a lot cleaner and more customizeable
> than formlib. Thanks!
>
> However, what I don't know is how to read/write values of multip
On Monday 28 May 2007 18:18, George Wright wrote:
> Previously I had no zc, z3c packages installed.
Correct, the default Zope 3 installation does not come with this.
> How do I make these new or updated packages available via my regular
> Zope 3 instances?
If you are not using egg-based developm
On Friday 01 June 2007 16:01, Lorenzo Gil Sanchez wrote:
> def getFactoriesForObject(obj):
> factories = []
> ifaces = tuple(zope.interface.providedBy(obj))
> for iface in ifaces:
> for name, factory in zope.component.getFactoriesFor(iface):
> factoryIfaces = tuple(f
On Friday 08 June 2007 12:01, Zanotti Michele wrote:
> I am reading about annotations in "web component development with zope
> 3", but I have an error in the following interactive interpreter session
> that I don't understand.
>
> PythonWin 2.4.4 (#71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit (In
On Sunday 10 June 2007 07:10, Christophe Combelles wrote:
> I'm wondering why there is an error when adding an object (for ex a file)
> with
>
> +/@@zope.app.file.File
> or
> +/++view++zope.app.file.File
>
> while there is none when adding with
>
> +/zope.app.file.File
>
>
> zope.app.file.File is n
On Friday 15 June 2007 12:10, Hermann Himmelbauer wrote:
> So, at first, what's the idea with this IFormLayer? Why does any request to
> provide this interface? How can I tell Zope that all requests implement
> this interface?
The problem with the older form-related frameworks is that their regist
On Tuesday 19 June 2007 11:49, Hermann Himmelbauer wrote:
> I have currently the problem that I registered my pagelets but I cannot
> access them. There are no errors, though, but my registered pagelets
> (e.g. "edit.html" / "index.html") are not found by zope.
Are you sure your skin has the corre
On Saturday 16 June 2007 12:02, Marius Gedminas wrote:
> On Fri, Jun 15, 2007 at 10:52:24AM -0700, gnosis wrote:
> > I've been trying out the new z3c form package and like what I see. I am
> > having problems getting a subform in an AddForm though. The subform.txt
> > covers EditForms where you h
On Friday 15 June 2007 13:52, gnosis wrote:
> browser/restaurant.py
>
> class RestaurantAddForm(AddFormLayoutSupport, form.AddForm):
> """Add form"""
...
You do not need the layout support here, since this view does not render as a
standalone Web page.
...
> def update(self):
> s
On Monday 18 June 2007 14:18, Markus Leist wrote:
> what's the best/preferred way of dynamically restricting possible object
> types in the root-folder of a zope3.3-instance?
I usually do not use the Zope 3 root as the root of my application, since I
want to (1) have multiple applications per Zop
On Monday 18 June 2007 18:30, Markus Leist wrote:
> When the registration of an event between the objects and
> the utility is bidirectional, this utility is some kind of
> "event crossbar switch" like
>
> obj 1 <-> <-> 0
> obj 2 0 0
On Tuesday 19 June 2007 09:53, Jan-Wijbrand Kolman wrote:
> Is there a way to overcome this? (or to put it differently, why is
> "my" utility created when the action object is created and not just
> before the actual registration?)
Unfortunately, there is no fix for this the way you want. It is si
Duh
That fixed it so there are no errors when rendering, but still no subform.
I get the name and description field with an apply button.
Thanks Stephen,
Mats Nordgren
Zope retard of the week
> -Original Message-
> From: Stephan Richter [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, Ju
On Tuesday 19 June 2007 13:39, Mats Nordgren wrote:
> def updateWidgets(self):
> self.widgets = component.getMultiAdapter((
> self, self.request, self.getContent()), IWidgets)
> self.widgets.ingoreContext = True
> self.widgets.update()
You misspelled "ignore
Roger,
> You missed in the AddressAddForm ``self.widgets.ignoreContext = True``
I see that I missed that statement, it was late on a sleepless night, but I
couldn't get this out of my head. In any case, I've changed my code to
match the example you gave in the repository. I also have the templa
Hi Hermann
> Cc: gnosis
> Betreff: Re: [Zope3-Users] z3c.form and subforms in an AddForm?
>
> Am Freitag, 15. Juni 2007 19:52 schrieb gnosis:
> > I've been trying out the new z3c form package and like what
> I see. I
> > am having problems getting a subform in an AddForm though. The
> > subf
Am Freitag, 15. Juni 2007 19:52 schrieb gnosis:
> I've been trying out the new z3c form package and like what I see. I am
> having problems getting a subform in an AddForm though. The subform.txt
> covers EditForms where you have a context object to work on, in an AddForm
> the context is the und
On 6/19/07, David Pratt <[EMAIL PROTECTED]> wrote:
Hi Jan-Wijbrand, you may wish to look at z3c.configurator since this may
help with the issue you are having. It seems to solve the issue of
configuration with that depends on the need for other things to be setup
first. The doc test explains its
In our project we have a supervisor-utility (started first by zcml..)
and some other utilities which creation is logged to this
utilitiy.
hope, this helps
Thanks for your reply!
I think your solution works because the event are triggered at
registration-time, not at "configuration action objec
Hi Jan-Wijbrand, you may wish to look at z3c.configurator since this may
help with the issue you are having. It seems to solve the issue of
configuration with that depends on the need for other things to be setup
first. The doc test explains its capabilities.
Regards,
David
Jan-Wijbrand Kolma
On Mon, Jun 18, 2007 at 10:14:14PM +0200, Florian Lindner wrote:
> Am Dienstag, 5. Juni 2007 schrieb Marius Gedminas:
> > I would suggest that you remove everything and keep just
> >
> > def blogSetUp(test):
>
> zope.testing.module.setUp(test, 'Blog.doctest')
>
> it worked after I've added the
Hi,
In our project we have a supervisor-utility (started first by zcml..)
and some other utilities which creation is logged to this
utilitiy.
hope, this helps
tschuess,
Markus
--
def bootStrapSubscriberDatabase(event):
"""initialisation of cron utility on first d
Hi,
I'm trying to implement a global utility that makes use of other
global utilities when it is created. In other words, the __init__ of
my utility class, tries to get to other utilities.
This does not work however, as the utilities I'd like to get are not
registered yet when my own utility is
John Maddison wrote:
I've just started playing around with using z3c.layer to create
applications that don't use the ZMI at all. Everything is pretty
simple so far, except for one fairly important step: creating my
initial application object in the ZODB. What methods do people use to
create the
25 matches
Mail list logo