Hi.
I think you should use zope.app.testing.ztapi.provideAdapter instead.
See zope/app/form/browser/tests/test_objectwidget.py,
this is a good example.
--
TAHARA Yusei
___
Zope3-users mailing list
Zope3-users@zope.org
TAHARA Yusei wrote:
I think you should use zope.app.testing.ztapi.provideAdapter instead.
No! ztapi.provideAdapter is discouraged. zope.component.provideAdapter
is the recommended spelling.
Philipp
___
Zope3-users mailing list
At Wed, 06 Sep 2006 09:29:15 +0200,
Philipp von Weitershausen wrote:
TAHARA Yusei wrote:
I think you should use zope.app.testing.ztapi.provideAdapter instead.
No! ztapi.provideAdapter is discouraged. zope.component.provideAdapter
is the recommended spelling.
Oh, sorry. I did not know
TAHARA Yusei wrote:
At Wed, 06 Sep 2006 09:29:15 +0200,
Philipp von Weitershausen wrote:
TAHARA Yusei wrote:
I think you should use zope.app.testing.ztapi.provideAdapter instead.
No! ztapi.provideAdapter is discouraged. zope.component.provideAdapter
is the recommended spelling.
Oh, sorry. I
Ok. Thanks Tahara and Philipp. I am using component.provideAdapter.
What I am having trouble with is registering ListSequenceWidget for use
in a doctest.
I believe the matching zcml from zope.form.browser configure is:
view
type=zope.publisher.interfaces.browser.IBrowserRequest
Hi!
I'm thinking on how to use Zope3 for my task and need some help. I
have a web application which have different look for different
users. Every user need to authenticate and have a some type like an
Administrator, Operator, SomeManager, Just-A-User and so on. For
example my webapp have an URL
On Tuesday 04 July 2006 05:58, [EMAIL PROTECTED] wrote:
*First question*: is this design (delegation to subobject implementing
specific interface) reasonable, or in Zope I should do that other way?
Yes.
*Second question*: Can object implementing IDueDateDecider (inherited from
IDecider) be
On Saturday 08 July 2006 06:06, Achim Domma wrote:
Could somebody tell me what the status of this stuff is? Is it just an
experiment which might be dropped in the future? Has somebody
experiences to share?
Well, first of all, we are totally committed to WSGI, so this support will not
go away.
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
On Sunday 23 July 2006 17:24, Gabe Boys wrote:
1) I create a skin and in that skin a new layer plus the default and
rotterdam layers. Then each view I have in the future, I put on the layer
for my skin.
In my projects we are not reusing rotterdam at all, because it has too much
cruft.
On Thursday 27 July 2006 05:17, Carlo Cardelli wrote:
- how do I get all my Customers instances? The Customer class is marked
as 'Persistent' and 'IContentType'.
You have several choices:
1. Register your customer object as a utility and then do utility lookups. In
this case you can reuse
On Thursday 10 August 2006 22:32, Darryl Cousins wrote:
I am having an extraordinary amount of bother coming to grips with the
formlib module. Could anyone offer up complex examples with multiple
schemas and subforms; and as an extended topic, examples including
custom fields and widgets. My
On Thursday 17 August 2006 16:39, Steve Juranich wrote:
I'm nearly positive that my company won't want to spend the dough on
on-site training (starting at $15,000), so what are my options?
Philipp is teaching a class in Copenhagen, which is full now, but maybe he is
doing another one soon.
I
On Wed, Sep 06, 2006 at 01:32:29PM +0400, Denis Shaposhnikov wrote:
I'm thinking on how to use Zope3 for my task and need some help. I
have a web application which have different look for different
users. Every user need to authenticate and have a some type like an
Administrator, Operator,
On Friday 25 August 2006 17:08, Alec Munro wrote:
Anyone have a simple reference on the usage of sources? I'm in need of
a vocabulary-like thing, and my understanding is that vocabularies
have been replaced by sources, but I am unable to find any
documentation on their use. There are numerous
On Wednesday 06 September 2006 05:32, Denis Shaposhnikov wrote:
I'm thinking on how to use Zope3 for my task and need some help. I
have a web application which have different look for different
users. Every user need to authenticate and have a some type like an
Administrator, Operator,
On Friday 25 August 2006 05:18, Darryl Cousins wrote:
So it 'appears' to me that the security looks up the groups differently?
Or have I missed something?
Your approach is all good. I cannot confirm having problems with groups and I
am using them in a customer project.
Regards,
Stephan
--
On Friday 01 September 2006 09:36, Thierry Florac wrote:
I just discovered the z3c.extfile package that I'd like to use in my
current Zope3 development.
My question is simple : what are the requirements to use this package in
a ZEO context with several servers ?
We have not tried that yet,
On Friday 01 September 2006 12:55, stephen tan wrote:
How can I insert values using direct HTML links?
http://localhost:port/insert_sql?id=234title=manageruser_id=345user_name
=fred
Why would you do this? This seems like an awful design.
Regards,
Stephan
--
Stephan Richter
CBU Physics
On Sunday 27 August 2006 08:14, Darryl Cousins wrote:
Doesn't pass. I can't figure how to use the test to test for what I
expect - which is of course an exception.
Two choices that I commonly use for debugging:
1. print browser.contents; this will fail right away, but shows you the HTML
that
On Tuesday 29 August 2006 16:51, David Johnson wrote:
I decided it's about time to use functional tests. I've been setting them
up with the following code and I get the
following error (I've never gotten it to work):
Two comments:
1. Use zope.testbrowser
2. You must use the Zope 3
On Tuesday 05 September 2006 11:10, Christophe Combelles wrote:
Hello,
I'm currently spending all my time to learn zope3, and while searching some
doc, I have gathered some useful links in the following wiki page :
http://ccomb.free.fr/wiki/wakka.php?wiki=Zope3
(curr in french, but I will
Albertas == Albertas Agejevas [EMAIL PROTECTED] writes:
behaviour in Zope3? The simplest way as I see is use different
skins? But how to dynamically change the skin to user's type?
Albertas You can set the skin in a handler to BeforeTraverseEvent.
Albertas You can find an example of such
Stephan == Stephan Richter [EMAIL PROTECTED] writes:
Stephan I think Albert's solution is okay, but I would also suggest
Stephan that you should consider redirecting to a different URL for
Stephan each user. Those different URLs could reflect the different
Stephan skins.
Do you mean to
On Wed, Sep 06, 2006 at 03:32:45PM +0400, Denis Shaposhnikov wrote:
Could somebody explain me how to find such information by myself. The
my main problem with Zope3 is that I don't known how Zope is working
as whole. I mean, what happend and where. I know about ++apidoc++ but
it seems no so
Le mercredi 06 septembre 2006 06:54 -0400, Stephan Richter a crit:
On Tuesday 05 September 2006 11:10, Christophe Combelles wrote:
2) utf-8 error in i18nfile
--
Why do I always get an error when I try to add some utf-8 text into an
i18nfile? I just add an
Cheers Stephan,
I've made quite a bit of progress since my posting of almost a month ago
with using formlib, espicially with more complex widgets. By keeping on
reading the code and debugging I am getting (slowly) a grip on it.
mpg.de has a good short tutorial that helped me with a
Hi Stephan,
I forget already what I was doing wrong but after some digging in the
code I must have found what I was missing.
Thanks,
Darryl
On Wed, 2006-09-06 at 06:35 -0400, Stephan Richter wrote:
So it 'appears' to me that the security looks up the groups
differently?
Or have I missed
Cheers Stephan,
Yup. I added:
provideAdapter(CollectionInputWidget,[ISequence, \
...IBrowserRequest], \
...IInputWidget)
To the test and now more form can be rendered in the doctest.
Many thanks,
Darryl
On Wed, 2006-09-06 at 06:58
On Wed, 2006-09-06 at 06:45 -0400, Stephan Richter wrote:
On Sunday 27 August 2006 08:14, Darryl Cousins wrote:
Doesn't pass. I can't figure how to use the test to test for what I
expect - which is of course an exception.
Two choices that I commonly use for debugging:
1. print
Hi all,
(This is about : http://kpug.zwiki.org/Zope3Distilled)
This is yet another update of book progress.
Few days back I have requested Stephan Richter
for using Zope 3 Book's [1] content in this work.
Now I got a reply from him, so we can use his works.
I have added attribution
Baiju M wrote:
(This is about : http://kpug.zwiki.org/Zope3Distilled)
I recommend you verify that you can use the Distilled name. I believe
computer book titles of that form are protected by an Addison-Wesley
trademark.
--
Benji York
Senior Software Engineer
Zope Corporation
On 9/6/06, Benji York [EMAIL PROTECTED] wrote:
Baiju M wrote:
(This is about : http://kpug.zwiki.org/Zope3Distilled)
I recommend you verify that you can use the Distilled name. I believe
computer book titles of that form are protected by an Addison-Wesley
trademark.
How can I verify
Stephan Richter wrote:
On Thursday 27 July 2006 05:17, Carlo Cardelli wrote:
- how do I get all my Customers instances? The Customer class is marked
as 'Persistent' and 'IContentType'.
You have several choices:
1. Register your customer object as a utility and then do utility lookups. In
Baiju M wrote:
On 9/6/06, Benji York [EMAIL PROTECTED] wrote:
Baiju M wrote:
(This is about : http://kpug.zwiki.org/Zope3Distilled)
I recommend you verify that you can use the Distilled name. I believe
computer book titles of that form are protected by an Addison-Wesley
trademark.
One way is to use the US Patent and Trademark website search. Here is a
link to a search for Addison-Wesley in ALL fields there is no mention
of distilled being registered as a word mark (not trademark, those are
for logos and such).
On 01.09.2006, at 15:36, Thierry Florac wrote: Hi, I just discovered the "z3c.extfile" package that I'd like to use in my current Zope3 development. My question is simple : what are the requirements to use this package in a ZEO context with several servers ?no problem, as stephan said you just
Thierry, you may want to consider blobs when they become generally
available through zodb. It takes care of the management details for ZEO
and files.
Regard,
David
Bernd Dorn wrote:
On 01.09.2006, at 15:36, Thierry Florac wrote:
Hi,
I just discovered the z3c.extfile package that I'd
Thierry Florac wrote:
[snip]
I had the same problem in my french site where we use many accentuated
characters.
The solution I use until now is just to switch my Python interpreter to
use UTF-8 as default encoding, via the site.py file of my Python
distribution...
If it works for you, so be
Stephan Richter wrote:
[snip]
4) workflow:
Where is zope.app.workflow?
It has never been released with Zope 3, just as an add-on package. People are
now encouraged to use zope.wfmc and zope.app.wfmc. There is also a z3lab
extension specifically for document workflows.
If you
On Wed, 2006-09-06 at 14:20 -0300, David Pratt wrote:
Thierry, you may want to consider blobs when they become generally
available through zodb. It takes care of the management details for ZEO
and files.
Is there any planned release date for this feature ?
Do you think that it could be
On Wednesday 06 September 2006 07:51, Denis Shaposhnikov wrote:
Stephan == Stephan Richter [EMAIL PROTECTED] writes:
Stephan I think Albert's solution is okay, but I would also suggest
Stephan that you should consider redirecting to a different URL for
Stephan each user. Those different
On Wednesday 06 September 2006 09:58, Carlo Cardelli wrote:
1. Register your customer object as a utility and then do utility
lookups. In this case you can reuse code in
zope.app.component.vocabulary.
2. You probably have a convention where to find customers, like a
CustomerContainer.
hello guys.
I have been trying to make a homepage that users can register and have
their own pages which they can change their settings. I also want these
setting to be adjustable by the site owner as well.
I hear that I can not use Principal Annotations anymore because
principals are not
Hello,
I'm working with Philipp Von Weitershausen's book and I get a strong
result concerning the Customizing a site's layout (chapt. 8) : After
setting up all the files my object receipt displays a page which
contains (on the code) the metal tags.
I've reduced the receiptview.pt to a title
On Wednesday 06 September 2006 16:55, Hassan Alirezaei wrote:
I have been trying to make a homepage that users can register and have
their own pages which they can change their settings. I also want these
setting to be adjustable by the site owner as well.
I hear that I can not use Principal
On Wednesday 06 September 2006 17:09, Sébastien VINOT wrote:
I'm a bit disappointed because I check several times my code and find
nothing different with the example. Does someone has any idea where it
can come from ?
Your macro is correctly looked up, but it is not rendered and the byte code
Thierry FLORAC wrote:
On Wed, 2006-09-06 at 14:20 -0300, David Pratt wrote:
Thierry, you may want to consider blobs when they become generally
available through zodb. It takes care of the management details for ZEO
and files.
Is there any planned release date for this feature ?
Do you think
On 9/6/06, Stephan Richter [EMAIL PROTECTED] wrote:
I still use vocabularies. I still don't get sources. Vocabularies have not
been deprecated yet. I think sources have to become much more
developer-friendly before finding wide-spread support.
Odd that you should mention this. ;-) We have a
Thanks Benji and Lupa for your suggestions. I am going to change the book
title now itself to avoid problems in future.
I finalised a simple title for this book, Zope Guide. Yes, no 3 :)
Regards,
Baiju M
___
Zope3-users mailing list
50 matches
Mail list logo