orm.update()" the root folder is empty, but afterward it has the
'srichter' key.
> I have a feeling that if I get that far, I may have all I need for a
> good while! :)
>
I've had that feeling too, but it never lasts long :)
John
> e.
>
> On Tue, Jun 23
After working through Paul Carduner's z3c tutorial, I removed this zcml:
and created two users that I thought should have equal permissions,
one called 'user' via this zcml:
and the other called 'user2', which I created in a PrincipalFolder under a
registered pau and granted the Manage
but still the new principal cannot login.
What am I missing? Is there something I should have read to avoid this
problem?
Thanks,
John
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
yes, that was it (i created a new zopeproject each time and just
forgot). thanks again michael!
Michael Howitz wrote:
> Am 18.05.2009 um 21:16 schrieb John:
>
>> that fixed all conflicts and exceptions. now i see z3c, but no
>> "Modules and Subpackages" below
rror: unknown url type: svn -- Some packages may not be found!
but buildout claimed that it "Got" versions of each of the 3 packages i
specified (and several dependencies as well).
Michael Howitz wrote:
> Am 18.05.2009 um 17:05 schrieb John:
>> thanks michael. i did as you sugges
thanks michael. i did as you suggested, but buildout said:
Develop: '/home/john/e6/z3c_in_apidoc/.'
Updating app.
Getting distribution for 'zope.app.apidoc==3.6.3'.
Got zope.app.apidoc 3.6.3.
Getting distribution for 'zope.traversing>=3.5a5dev'.
Got zope.trave
hi,
i cannot see z3c code in the code browser at
http://apidoc.zope.org/++apidoc++/
thinking that maybe z3c just wasnt installed at that site, i installed
z3c.form locally (ubuntu 8.04) in a virtualenv:
sudo easy_install virtualenv
virtualenv env4
cd env4
bin/easy_install zopep
Tim Cook wrote:
> Well, at your suggestion I have given Grok a new try. I think I can
> best express my opinion as:
>
> **GROK IS FRICKEN AWESOME!!***
>
I've been trying to get into using Zope for a while and was
overwhelmed. I started using Grok about 3 weeks ago and was able to
understand
On Oct 9, 2008, at 12:02 PM, Paul Carduner wrote:
> Hi everyone,
>
> My website that was hosting the z3c tutorial recently went down. I
> haven't had time to diagnose the problems and bring it back up. In
> the mean time, I have moved the z3c tutorial to ibiblio. If you have
> been looking for
fore "self.widgets.update()" (or after self.parentForm is
assigned in __init__), add line:
self.prefix = util.expandPrefix(self.parentForm.prefix)
(and of course "from z3c.form import util")
John
John wrote:
In modifying the formdemo/addressbook example to use groups,
In modifying the formdemo/addressbook example to use groups, I found
that fields in groups are not cleared to their default values when the
Done or Delete button is pressed in the editform, resulting in an
addform with values from the previous editform. Fields that are not in
groups are cleare
ehow and re-install it to get the complete files?
Details:
(_1) There is no 1.7.2 listed at
http://svn.zope.org/z3c.form/tags/?rev=83190
Thanks,
John
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
I'm converting from formlib to z3c.form. What should my configure.zcml
look like?
For formlib it is:
I assume the 'for=' value should change, but to what? Complete code is
attached (with non-Person classes still using formlib).
Thanks,
John
from interfaces import I
1. I used tortoiseSvn for the
checkout, and 2. I entered the command line steps at the dos prompt (not
at a bash prompt as the '$' prompts seem to suggest). Can someone
suggest a fix?
Thanks,
John
C:\Documents and Settings\Saponara>cd C:\pr\z3\lib\python\formdemo
C:\pr\z3\l
That works great, thank you Thierry
Thierry Florac wrote:
Le mardi 15 janvier 2008 à 07:05 -0500, john saponara a écrit :
I add a Limoservice object, then inside that object add a Car; then I
add a Driver (which contains a Car), and the AddForm offers a dropdown
with '(no value)'
I add a Limoservice object, then inside that object add a Car; then I
add a Driver (which contains a Car), and the AddForm offers a dropdown
with '(no value)' and my Car object. If I select the car from the
dropdown I get an error:
UnpickleableError: Cannot pickle
objects
Whereas if I lea
62, in getMenuItems
result = [(ifaces.index(item._for or Interface),
ValueError: list.index(x): x not in list
The complete call stack is in the attached error.txt. I'm using v3.3.1
under winxpprosp2. What am I doing wrong?
Thanks,
John
http://namespaces.zope.org/zope&
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 driver
object will have.
])
I dont really need to access the form instance, but that seems to be a
reasonable way to access the application's container (all drivers and
cars are put into the same 'LimoService' container for now).
So how can I access the list of cars from the widget? And
self.context.model, self.context.nPassengers)
class DriverView(object):
def message(self):
if self.context.car:
carInfo=self.context.car.__dict__
else:
carInfo=None
return 'driver drives car model %s' % (carInfo)
from zope.app.form.browser.widget import SimpleInputWidget
class CarsListWidget(SimpleInputWidget):
def cars(self):
parent=zapi.getParent(self.co
hi,
please point me to an example showing how to use ObjectWidget with a
default add form. in case there is no example, perhaps my failing
attempt below could serve as one, once it's modified to work.
# interfaces.py
from zope.interface import Interf
configure.zcml",
line 6.2
ConfigurationError: ('Unknown directive',
u'http://namespaces.zope.org/browser', u'layer')
Does anyone have any idea how to fix this?
Line 6 of that file begins this tag:
Thanks,
-- John
__
Hi all,
I'm using a PrincipalFolder to store users who have signed up to a
site, and during signup I'd like to ask them for some more information
(email address, etc) and store it in a principal annotation.
However, PrincipalFolders use IInternalPrincipals, which do not appear
to be easily conve
On 6/23/07, Stephan Richter <[EMAIL PROTECTED]> wrote:
Yeah, people at ZC prefer using generations. Others (including me), on the
other hand, have developed z3c.configurator and z3c.sampledata, which can
setup entire applications for you.
I can sort of see how to use generations, but z3c.config
Hi all,
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 their applicatio
than the entire
(unfortunately) proprietary application I'm working on.]
Secondly, and leading on from this, is it possible to get the
traceback the application server side of things produces in functional
(zope.app.testing.functional.FunctionalDocFileSuite) tests? At the
moment the only info
Oops, forgot to CC the list.
On 9/27/06, John Maddison <[EMAIL PROTECTED]> wrote:
On 9/26/06, Fred Drake <[EMAIL PROTECTED]> wrote:
> On 9/26/06, John Maddison <[EMAIL PROTECTED]> wrote:
> > Right, that's basically what I want to run, but I can't seem to f
On 9/25/06, Darryl Cousins <[EMAIL PROTECTED]> wrote:
Hi John,
This may be what you are after:
root['my-app'] = MyApp()
Right, that's basically what I want to run, but I can't seem to figure
out how to have that run at ZODB creation time. Should I be listening
for
On 9/25/06, Stephan Richter <[EMAIL PROTECTED]> wrote:
On Monday 25 September 2006 03:21, John Maddison wrote:
> Is it possible/wise to "auto-create" content objects in the ZODB? Say I'm
> creating a blog application and have a container type(BlogContainer) and
>
only option to create it through the ZMI? I thought that perhaps an event was generated when the root object was created that I could hook into, but it seems not. Perhaps I'm looking at this the wrong way - would "fixtures" like this be better implemented as utilities with
z3c.travers
provided in the definition.
This can be practically tested by inserting a
NotImplementedError into to the definition of
Resource.__init__.
I'm pretty certain that that method is never called,
unless perhaps somewhere else in zope there is another
class that inherits from it first.
Cheers,
method is
used by anything else?
Thanks,
John
___
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease
of use." - PC Magazine
http://uk.docs.yahoo.com/nowy
template.pt, but it
looks as if the items in the add menu come in as some
kind of html text string.
Any help gratefully received,
Thanks,
John
___
The all-new Yahoo! Mail goes wherever you go - free your email address from
your
--- Rupert Redington <[EMAIL PROTECTED]> wrote:
> I realise that I shouldn't use zapi anymore... apart
Good gracious!
No zapi?
How did I miss that? Where do I get my utilities,
parents, roots, adapters from now?
John.
(daze
and utilities that need a request
object, it seems unnecessary to deprive a content
factory of the use of them, when the developer chooses
to take advantage of browser:addform.
Best wishes,
John
--- Philipp von Weitershausen
<[EMAIL PROTECTED]> wrote:
> Marco Mariani wrote:
&
of views. So I am stumped. How do I get at the request object? A utility? An adaptor? Thanks, John
Try the all-new Yahoo! Mail . "The New Version is radically easier to use" The Wall Street Journal___
Zope3-users mailing list
Z
I am a little unclear into which object I should add the nextURL method.In myclass/browser/configure.zcml I have addMenuItem and addForm directives. I have tried adding the nextURL method to the class specified in the 'class' parameter of the addForm directive. That does not work.Stephan
er to edit it is a usability issue. Solutions: a) there is something already in zope3 that I don't know about :) b) create an "Add and Edit" button to go beside the "Refresh" and "Add" buttons in the standard template and create some handler for this. Thanks
n the
zope.app.authentication.principalfolder ideas.
Has someone already solved this problem?
Best wishes,
John
___
NEW Yahoo! Cars - sell your car and browse thousands of new and used cars
online! http://uk.cars.yaho
ng not yet available within Z3.
I know that my view class getMacro method is returning
a relevant object as my debug output shows that I can
access the 'macros' attribute ok.
Thanks in advance for help,
john
__
27;, )
I have tried altering the zcml content/require
permissions but they are all set for "zope.View",
including the IReadContainer interface.
Is it to do with the fact that the object is
subclassed from BTreeContainer?
Any pointers gratefully rece
27;]
6. root['newobject']= or navigate to
where you need to go
7. conn.getTransaction.commit()
and tidy up.
John
___
How much free photo storage do you get? Store your holiday
snaps for FREE
,
John
--- Jim Fulton <[EMAIL PROTECTED]> wrote:
> John Smith wrote:
> > Hi,
> >
> > Does anyone know if there any way to get to the
> main
> > ZODB root of the site other than using
> > zope.app.zapi.getRoot(someObject)?
> >
> > Here is th
periodically.
I have made a global utility what spawns a worker
thread which creates the folder objects. My problem is
I don't seem to be able to work out how to get hold of
the Zope root as I have not get any context.
Thanks,
On Sat, Dec 10, 2005 at 08:03:15AM -0500, Stephan Richter wrote:
> On Saturday 10 December 2005 04:20, John Poltorak wrote:
> > Is this the right list to ask about problems encountered in building
> > Zope3?
>
> yep.
Great!
Maybe someone can tell me what may have gone
Is this the right list to ask about problems encountered in building
Zope3?
--
John
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
n _raise_open_error
url)
ZConfig.ConfigurationError: error opening file
//G:/ux2bs/workdir/Zope-3.1.0/Support/zpkgsetup/package.xml: [Errno ftp
error] no host given
make: *** [build] Error 1
Does this mean I need to specify hostname before building Zope3 ?
--
John
__
, but this seems a bit nuclear, for what
must surely be a bit of ZODB editing, if I but knew
where to look.
Thanks,
John
___
To help you stay safe and secure online, we've developed the all new Yahoo!
Securi
y putting in print
statements and as best I can tell, the magic is
somewhere around line 604 in
zope.app.registration.registration.py where "Adapters"
is the supplied name and a serviceregistration object
is createed whose componentPath attrib
iki product
but to no avail.
Am I right in thinking that my problems are related to
the configure.zcml file? Any pointers gratefully
received.
I can get the ISized examples from the books to work
ok.
Thanks to all.
John
_
page built from .pt file?
Thanks for any help,
John
___
How much free photo storage do you get? Store your holiday
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
___
Z
d.
I tried searching the interface specification for
'request' to see if there was an analogue of the Zope2
request.setAttribute function, but could not find one.
Any help greatly appreciated,
thanks,
John.
___
52 matches
Mail list logo