IIRC, ZCML doesn't support directives below 2 levels. So your 5 level
nested XML couldn't be supported in ZCML.
A way around could be as follows:
1
1
In the above middleware and app are directives supporting child
directive param.
- Shailesh
On Thu, Dec 3, 2009 at 11:07 PM, lucif
hi list:
I'm new to the zope :)
I want to write a new zcml driective `middleware` for my app, like this:
1
1
1
1
complexDirective can do this? have any examples? thanks.
--
alec
__
hi,
im new to zope, but i read the 2 books (not everything but very much). im
developing a tree-like structure that i want to use throughout my project to
store tag-information in it. every node should store some tags, that are
extensible by the users by adding new tags as they tag their conten
I've done Zope2 stuff in the past, including writing Zope2 Products.
We are working on new hosting software and have decided to use Zope 3.
So we're defining our interfaces and have started to define classes
based on those interfaces and I have a question...
The simple todo app (http://world
> It seems like most of the examples only explain how to create forms by
> using interfaces and objects.
I've noticed this too.
> I don't want a user within zope to create a form in the ZODB, I just
> want to them to open up a location to url and see results from my
> database.
Currently I'm
Hi.
You can use z3c.zalchemy or sqlos(sqlobject wrapper) for OR mapping.
zalchemy
http://svn.zope.org/z3c.zalchemy/trunk/src/z3c/zalchemy/
sqlos
http://codespeak.net/z3/sqlos/
Thanks.
--
Yusei TAHARA
___
Zope3-users mailing list
Zope3-users@zope.org
Hi,
I just started looking into Zope3 and I am unsure on how to create
forms that interact with my database. I have the psycopg adapter
installed and working. I just want to create a simple html form that
will load some values into a couple text fields from my postgreSQL
database and displa
On Wednesday 12 July 2006 03:30, Nick Howden wrote:
> However, I appear to be stumbling at the very first block of how to
> initialise my zope3 "product" using ZCML to include the pluggable auth
> modules. Is there a document anywhere that will guide me through the
> process (I've read the app.auth
Karel Antonio Verdecia Ortiz wrote:
Thank you, but when I use now "svn://" instead of "http://"; I get:
svn: No fue posible conectarse al equipo 'svn.zope.org': Network
is unreachable
I think it should be a problem with my proxy
Indeed, you need to unblock the port.
I
El dom, 03-09-2006 a las 14:16 +0900, TAHARA Yusei escribió:
> Hi.
>
> You should use "svn://" instead of "http://";.
>
> svn co svn://svn.zope.org/repos/main/z3c.zalchemy/trunk
>
Thank you, but when I use now "svn://" instead of "http://"; I get:
svn: No fue posible conectarse al equip
Hi.
You should use "svn://" instead of "http://";.
svn co svn://svn.zope.org/repos/main/z3c.zalchemy/trunk
--
Tahara Yusei
[EMAIL PROTECTED]
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
Hi,
I tried to download zalchemy with the following comand:
svn co http://svn.zope.org/repos/main/z3c.zalchemy/trunk
but I get this error:
svn: requerimiento PROPFIND falló en '/'
svn: PROPFIND de '/': 200 OK (http://svn.zope.org)
Can some one tell me ot
On Wed, Jul 26, 2006 at 06:33:50PM +0200, Carlo Cardelli wrote:
> class IInvoice(Interface):
> invRef = Int(
> title=u"Ref.no",
> description=u"Invoice reference number",
> min=1,
> required=True
> )
> invDate = Date(
> title=u"Date",
>
Hi all,
sorry for the 'basic' question but I don't know where to look...
I am setting up two related objects, "Invoice" and "Customer".
IMO there is a non-containing relationship here, i.e. I do not want the
Customer to 'contain' Invoices; a Customer can receive more than one
Invoice.
Here are
Hi Siddharth,
What is the python version on your os? I googled 'strop functions are
obsolete' and it seems to relate to older python versions.
Hope this helps.
Regards,
Darryl
Siddharth Sethi wrote:
> Hi,
> I am just starting out on Zope and have played around with the
> features somewhat on my
Hi,
I am just starting
out on Zope and have played around with the features somewhat on my windows xp
system. The problem that i am having is that when i try to install zope 3.2.0 on
my windows server 2003 system it gives me an error in command prompt -->
warning: strop
functions are obs
Hi,
I am relatively new to Zope 3 - though I have been using Zope since its Bobo
days - which I think shows my age :-)
I am trying to use some of the authentication classes contained in
app.authentication - in particular the SessionCredentialsPlugin and our own
PluggableAuthentication to auth
Hi All,
Thanks a lot for all your extremely helpful responses.
Philipp, you articulated my doubt perfectly and the
paradigm difference is what I was struggling with. The
fact that having a package installed in the zope
instance is kinda like providing a component, which
needs to be instantiated usi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Siddhartha Azad schrieb am 07.05.2006 17:21:
> Hi, Yes I have installed zope-3.2. The worldcookery application stops
> working from chapter 6 onward in
Unfortunately you don't give us the traceback with the error message. I
cannot see any problem i
But
unless I have made it through the ZMI, I am unable to
access it. Why is that? What URL should I be using for
a newly developed folder that I didn't add through the
ZMI but which is installed in my Zope Instance's
lib/python and configured in the ZCML files?
This is kind of a strange questi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
Siddhartha Azad schrieb am 07.05.2006 08:10:
> Hi,
> I am starting to work with Zope3 am having trouble
> understanding a few things. I bought the Zope 3 Book
> and installed the worldcookery application in my
what does that mean? The book tell
Hi,
I am starting to work with Zope3 am having trouble
understanding a few things. I bought the Zope 3 Book
and installed the worldcookery application in my
instance's lib/python directory and configured the
.zcml files too.
But when I do a http://localhost:8080/worldcookery, I
get:
"
[top]
Hi,
On Wed, Apr 26, 2006 at 11:14:19AM +0200, Riccardo Tonon wrote:
> Hi everybody,
>
> I'm developing a multilanguage site in Zope 3.
>
> I've just prepared it to support the i18n based on the browser language.
>
> I would like also to let the user decide which language to use. (e.g. using a
--On 26. April 2006 11:14:19 +0200 Riccardo Tonon
<[EMAIL PROTECTED]> wrote:
Hi everybody,
I'm developing a multilanguage site in Zope 3.
I've just prepared it to support the i18n based on the browser language.
I would like also to let the user decide which language to use. (e.g.
using a
Hi everybody,
I'm developing a multilanguage site in Zope 3.
I've just prepared it to support the i18n based on the browser language.
I would like also to let the user decide which language to use. (e.g.
using a combo box present on each page of the site)
Anybody has an example where I could
张平 wrote:
> Hi,
>
> I wanna develop a site for managing content using workflow, where can i
> find any document about zope3 workflow,
>
You should look at the directory wfmc/README.txt in the SVN repository.
It's the new workflow system. The one referred to in the book is also in
SVN, but I thin
Hi,
I wanna develop a site for managing content using workflow, where can i
find any document about zope3 workflow,
i add as chapter 20 (Approval Workflow for Messages)
of Zope3book, but runzope told me no implements directive.
silly question, :(, anyone can help me.
zhangping
begin:vcard
fn;q
Thank you very much,
Stéphane
--- Jonathan <[EMAIL PROTECTED]> a écrit :
> > Hi all,
> > I want to use zope 3 for an application which uses
> a
> > MySQL database. It seems that sqlos will be a good
> > thing to use. The problem I have is that I can't
> > access the svn repository to download th
Thanks a lot,
Stéphane
--- baiju m <[EMAIL PROTECTED]> a écrit :
> On 3/29/06, Stéphane Brault
> <[EMAIL PROTECTED]> wrote:
> > Hi all,
> > I want to use zope 3 for an application which uses
> a
> > MySQL database. It seems that sqlos will be a good
> > thing to use. The problem I have is that I
Hi all,
I want to use zope 3 for an application which uses a
MySQL database. It seems that sqlos will be a good
thing to use. The problem I have is that I can't
access the svn repository to download the latest
version since I don't have the reqired login and
password. I have the same problem with
On 3/29/06, Stéphane Brault <[EMAIL PROTECTED]> wrote:
> Hi all,
> I want to use zope 3 for an application which uses a
> MySQL database. It seems that sqlos will be a good
> thing to use. The problem I have is that I can't
> access the svn repository to download the latest
> version since I don't
Hi all,
I want to use zope 3 for an application which uses a
MySQL database. It seems that sqlos will be a good
thing to use. The problem I have is that I can't
access the svn repository to download the latest
version since I don't have the reqired login and
password. I have the same problem with z
On Tuesday 21 March 2006 18:47, Thierry FLORAC wrote:
> Of course, I'm not sure to really understand the difference between this
> code and the previous one, and why this "object" inheritance is so
> important (I've always thought that every Python class was automatically
> inheriting from "object"
On Tue, 2006-03-21 at 17:59 -0500, Stephan Richter wrote:
> On Tuesday 21 March 2006 17:39, Thierry FLORAC wrote:
> > class IPhotoStorage:
>
> Well, this needs to inherit Interface.
Of course it is !
I just forgot to put the correct syntax for this inheritance in my
post... :-(
> > clas
On Tuesday 21 March 2006 17:39, Thierry FLORAC wrote:
> class IPhotoStorage:
Well, this needs to inherit Interface.
> class PhotoStorage:
try to make this a new-style class:
class PhotoStorage(object)
Let me know what the outcome was.
Regards,
Stephan
--
Stephan Richter
CBU Physics &
On Mon, 2006-03-20 at 19:02 -0500, Stephan Richter wrote:
> On Monday 20 March 2006 17:26, Thierry FLORAC wrote:
> > Actually, the only working way I found to update my annotations through
> > my adapters is always to use "form" directives with the help of a
> > support class using "getData/setData
On Monday 20 March 2006 17:26, Thierry FLORAC wrote:
> Actually, the only working way I found to update my annotations through
> my adapters is always to use "form" directives with the help of a
> support class using "getData/setData" methods which call the adapter
> directly...
Can you post the c
On Mon, 2006-03-20 at 09:45 -0500, Stephan Richter wrote:
On Saturday 04 March 2006 10:01, Thierry FLORAC wrote:
> - define "editform" in browser's "configure.zcml" => probably bad !
If the "for" attribute differs from the "schema" attribute in the edit form,
the form will automatically lo
On Saturday 04 March 2006 10:01, Thierry FLORAC wrote:
> - define "editform" in browser's "configure.zcml" => probably bad !
If the "for" attribute differs from the "schema" attribute in the edit form,
the form will automatically look up an adapter from the context object
(implementing the "for
On Tue, 2006-03-07 at 01:20 +0100, Thierry FLORAC wrote:
> My code is in fact very simple :
>
> class IPhotoStorage:
> identifier = TextLine(...)
> hostname = TextLine(...)
>
> PhotoStorageKey = "http://www.ulthar.net/keys/storage";
>
>
On Sat, 2006-03-04 at 16:01 +0100, Thierry FLORAC wrote:
> I've started to create a few components with Zope-3.2.
> Until now, everything is OK for simple content components and a few
> utilities.
>
> I'm actually trying to develop new adapters.
> One of these adapters is designed to use annotatio
Hi,
I've started to create a few components with Zope-3.2.
Until now, everything is OK for simple content components and a few utilities.
I'm actually trying to develop new adapters.
One of these adapters is designed to use annotations, but I can't make it working in Zope3 management inter
Gary,
Thanks for the reply.
> On Feb 13, 2006, at 10:33 PM, Shaun Cutts wrote:
>
> > Um...
> >
> > I guess I must have asked too many questions at once :)
>
> :-) and this is still a bit much for me.
>
> > I've implemented
> > a first pass of a container for external data and got it working on
On Feb 13, 2006, at 10:33 PM, Shaun Cutts wrote:
Um...
I guess I must have asked too many questions at once :)
:-) and this is still a bit much for me.
I've implemented
a first pass of a container for external data and got it working on
some
of my collections.
I've included the (first
Um...
I guess I must have asked too many questions at once :) I've implemented
a first pass of a container for external data and got it working on some
of my collections.
I've included the (first pass of the) base DBContainer and DBContained
objects for criticism, and would be very grateful if an
Hello,
I'm trying to write a zope3 UI for data in an RDBMS with python business
logic. (Hence updates shouldn't go directly to the database; queries are
probably best off using the marshalling code in business logic as well,
but could use direct query if its especially easy.)
I was trying to adap
>
> Ok, that's my problem. My package was outside the instance lib
> directory. I think I have read in the Zope Developers Book that you
> could put your application anywhere in your harddisk as long as
> PYTHONPATH includes it.
>
I understand that. a month ago I was in the same situation
as
[EMAIL PROTECTED] wrote:
'test' command searches only packages under "instance_lib".
and "instance_lib" is 'c:\path\to\your\instance\lib\python'
Ok, that's my problem. My package was outside the instance lib
directory. I think I have read in the Zope Developers Book that you
could put your
>
> c:\path\to\my\instance\bin\test -vpu --dir z:\my_root_app_dir
> [ traceback ]
> ImportError: No module named z:.my_root_app_dir
>
> So I go to the z:\ dir and try another form:
>
> c:\path\to\my\instance\bin\test -vpu --dir my_root_app_dir
> Running tests at level 1
> Total: 0 tests, 0 failu
Chris Withers wrote:
Lorenzo Gil Sanchez wrote:
c:\path\to\my\instance\bin\test -vpu --dir z:\my_root_app_dir
[ traceback ]
ImportError: No module named z:.my_root_app_dir
Is my_root_app_dir on your PYTHON_PATH?
Yes it is
also, do you have __init__.py files in \tests?
Yes I do
If you
Lorenzo Gil Sanchez wrote:
c:\path\to\my\instance\bin\test -vpu --dir z:\my_root_app_dir
[ traceback ]
ImportError: No module named z:.my_root_app_dir
Is my_root_app_dir on your PYTHON_PATH?
try this just before you run the test:
set PYTHON_PATH=%PYTHON_PATH%;z:\my_root_app_dir
also, do you
Christoph Frick wrote:
On Mon, Feb 06, 2006 at 06:48:30PM +0100, Lorenzo Gil Sanchez wrote:
c:\path\to\my\instance\bin\test -vpu --dir z:\my_root_app_dir
[ traceback ]
ImportError: No module named z:.my_root_app_dir
dunnonothing about windows - but either the test-environment can not
handle t
On Mon, Feb 06, 2006 at 06:48:30PM +0100, Lorenzo Gil Sanchez wrote:
> c:\path\to\my\instance\bin\test -vpu --dir z:\my_root_app_dir
> [ traceback ]
> ImportError: No module named z:.my_root_app_dir
dunnonothing about windows - but either the test-environment can not
handle the leading "letter:"
Hi,
I'm trying to get my first content-type working and I have some
problems. For the record, I'm following Stephan great book and I'm
running Zope 3.2.0 on Windows.
My content-type represents a Provider and is quite simple. The first
problem I have is when I try to run the tests with the fo
Hi.
At Thu, 08 Dec 2005 09:28:43 +,
CGIP CGIP wrote:
>
> hi list
> have loaded zope3 on windows and have tried the url
> http://localhost:9080/++skin++ZopeTop
> (from ZopetopTenChanges document - 1st task)
>
> "the connection was refused when attempting to contact
> loacalhost:9080"
>
> do
hi list
have loaded zope3 on windows and have tried the url
http://localhost:9080/++skin++ZopeTop
(from ZopetopTenChanges document - 1st task)
"the connection was refused when attempting to contact
loacalhost:9080"
do i need to fiddle with something ?
cheers
rich
___
Gregor n wrote:
I just installed Zope 3.0.1 on Redhat Linux 9, using python 2.4 and get
running make check:
"/usr/local/ZopeX3-3.0.1/build/lib.linux-i686-2.4/zdaemon/tests/testzdrun.py",
line 244, in testUmask
self.assert_(not os.access(path, os.W_OK))
File "/usr/local/lib/python2.4/uni
Hi,
I just installed Zope 3.0.1 on Redhat Linux 9, using python 2.4 and get
running make check:
==
FAIL: testRunIgnoresParentSignals (zdaemon.tests.testzdrun.ZDaemonTests)
--
58 matches
Mail list logo