Hi,
This is now checked in on the miwa-adapterise-memberdata branch of
CMFCore.
I'll merge it in next week.
Miles
Miles wrote:
Hi,
We have quite a lot of copy-and-paste code here in order to support
using a custom MemberData class for members in particular sites.
The reason
the ExpressionContext. In that way I can register different ones as
required.
Is this a desirable change?
Miles
___
Zope-CMF maillist - Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf
See https://bugs.launchpad.net/zope-cmf
Hi,
Just to confirm that I merged this change into the trunk.
http://svn.zope.org/Products.CMFCore/trunk/Products/CMFCore/?rev=98305view=rev
Miles
Miles wrote:
Hi,
Can anyone tell me if it is possible to register an adapter to provide a
different IndexableObjectWrapper class from
would like to issue some deprecation warning or log
message to alert that a registration is required in future. As 2.2.0 is
not yet released, is it possible/desirable to make it a deprecation?
Miles
___
Zope-CMF maillist - Zope-CMF@lists.zope.org
http
. Without any warnings.
Miles
___
Zope-CMF maillist - Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf
See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests
Hello
Tres Seaver wrote:
Miles wrote:
Can I suggest the following logic:
1. if the object already implements the IIndexableObject marker
interface, no wrapping is required;
If we don't support 3., we can make 'no wrapping' the default.
I think this is a change in the way
that this is changed to use a factory registered
through the CA to create new MemberData objects, in order that this is
pluggable without requiring a custom MemberDataTool.
Any thoughts?
Miles
___
Zope-CMF maillist - Zope-CMF@lists.zope.org
http://mail.zope.org
generally does most of
what's required out of the box.
Miles
___
Zope-CMF maillist - Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf
See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests
/CMFCore
Please try to follow PEP 8 and wrap long lines.
I think this is done now; I don't think any of the files I touched have
lines longer than 79 characters now - but if you do spot one then let me
know!
Miles
___
Zope-CMF maillist - Zope-CMF
Thanks,
Miles
___
Zope-CMF maillist - Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf
See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests
as to use the
allowedRolesAndUsers and date filtering behaviours in other catalogs
within the portal. So I can definitely see a use-case for it.
So +1 from me to a multi-adapter on (object, catalog).
Miles
___
Zope-CMF maillist - Zope-CMF
on the BBB impact.
Miles
___
Zope-CMF maillist - Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf
See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests
.
Miles
___
Zope-CMF maillist - Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf
See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests
that used a
different wrapper class would have to subclass the main catalog and
override the relevant function, so will be unaffected by the change.
Any thoughts?
Miles
___
Zope-CMF maillist - Zope-CMF@lists.zope.org
http://mail.zope.org/mailman
class IndexableObjectWrapper(object):
implements(IIndexableObjectWrapper)
__providedBy__ = IndexableObjectSpecification()
What does this code actually achieve (I get the implements bit, obviously)?!
This makes the wrapper transparent, allowing the index to look up
adapters for
directly using the
class, rather than looking it up via the component architecture.
Can anyone explain what's going on? I've drawn a blank from googling
for examples.
Thanks,
Miles
___
Zope-CMF maillist - Zope-CMF@lists.zope.org
http://mail.zope.org
it for the various changes. However, with formlib,
I can't see how I'd do this. Is there a more elegant solution than just
creating 3 separate forms?
Thanks for your help,
Miles
___
Zope-CMF maillist - Zope-CMF@lists.zope.org
http://mail.zope.org
for your help,
Miles
___
Zope-CMF maillist - Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf
See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests
Hi,
Thanks, that's really useful: I'll take a look at those.
snip
- Is this a generally useful thing to do?
Yes, but beware of migration.
I think this is kinda covered - unless you're alluding to a specific,
nasty experience that I am yet to encounter!
Miles
the concept of uids available a very useful
thing. So, my questions are:
- Has anyone used zope.app.intids at all, or done anything similar?
- Does this sound achievable at all?
- Is this a generally useful thing to do?
Thanks,
Miles
___
Zope-CMF
(and/or provide some sort of adapter-based customisation so
it's easy).
Does that sound BBB enough? I can't think of anything else that might
break but that's what tests are for right :-) ?
Miles
___
Zope-CMF maillist - Zope-CMF@lists.zope.org
.
Originally, the tools did not do this, so for BBB you also need to check
some properties in the annotation tool properties tab (I think): 'assign
on add' and 'assign on clone'.
HTH
Miles
Charlie Clark wrote:
Dear all,
I'm looking at using CMFUid and I'm not quite sure how to use it: do I
way in zope to turn the automatic tag
off...
thanks,
Miles
___
Zope-CMF maillist - Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf
See http://collector.zope.org/CMF for bug reports and feature requests
products, and how much code (aside from
entering column and table names etc) will I need to write?
Thanks for your help,
Miles
___
Zope-CMF maillist - Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf
See http://collector.zope.org
(manage_beforeDelete looks to have had a
'children first' approach, whereas it looks as if dispatchToSublocations
has a 'children last' approach)
Miles
___
Zope-CMF maillist - Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf
See http
opinions
Miles
___
Zope-CMF maillist - Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf
See http://collector.zope.org/CMF for bug reports and feature requests
' workflow action, but that would cause
problems if ever the object were deleted via a different mechanism (e.g.
zmi).
Thanks
Miles
___
Zope-CMF maillist - Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf
See http
.
Is there a special reason why it needs to set the headers after
rendering, rather than before? I can't think of a reason, but then our
policies are about as simple as can be.
Miles
___
Zope-CMF maillist - Zope-CMF@lists.zope.org
http://mail.zope.org
properties, or should there be some way of ensuring that all
common metadata (DC values) are treated via some sort of common route
Thanks,
Miles
___
Zope-CMF maillist - Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf
See http
that
output_page_1 is a macro and requesting output_page_2, but if that's the
answer then I think it should definitely be clearer in the docs.
Miles
___
Zope-CMF maillist - Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf
See http
an item is the 'original' template or a 'subtemplate'
Miles
___
Zope-CMF maillist - Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf
See http://collector.zope.org/CMF for bug reports and feature requests
- the 1.6 branch seems just to have had exportimport.zcml deleted
AFAICT. Is that preferable to a patch in getting it sorted out?
Miles
Jens Vagelpohl wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 5 Sep 2006, at 19:17, Miles Waller wrote:
Hi,
I just went to use the sample_content
Dieter Maurer wrote:
Miles Waller wrote at 2006-8-11 16:17 +0100:
...
I stepped through the code and somehow it thinks the user 'admin' is the
owner. I think this is being acquired from somewhere (not sure where).
I added the line _owner = None at the class level in
CMFCore.DTMLMethod
), should this just be ignored) or is
there some use for this behaviour? I'd like to fix this for my type
infomration, but don't want to mask anything clever.
Thanks
Miles
___
Zope-CMF maillist - Zope-CMF@lists.zope.org
http://mail.zope.org
yuppie wrote:
Hi Miles!
Miles Waller wrote:
I have a question about aliases in the types tool that I'm hoping some
can answer pretty easily.
In the management screen, there's a line which says:
For backwards compatibility there is also a '(Default)' method:
Calls index_html
[EMAIL PROTECTED] wrote:
Miles Waller wrote at 2006-7-5 13:32 +0100:
...
1. When 304 responses are enabled, if the function entered for
modification time or etag return anything other than a string, the
comparison always fails, and so the objects do not validate.
That does
36 matches
Mail list logo