ctory to create
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.launchp
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 partic
Hi,
Just to confirm that I merged this change into the trunk.
http://svn.zope.org/Products.CMFCore/trunk/Products/CMFCore/?rev=98305&view=rev
Miles
Miles wrote:
> Hi,
>
> Can anyone tell me if it is possible to register an adapter to provide a
> different IndexableObjectWr
f details
For sites with integration we use PAS. But for small sites with very
simple member requirements, the MemberDataTool 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
is 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.zop
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 w
t.
Ok, well this logic is checked in now on the branch, and tests adjusted
accordingly. 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
g;
3. if no adapter is registered, fall back to the existing
IndexableObjectWrapper class for BBB.
In the case of 3, I 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/desirabl
ummyCatalog test fixture rather
than the real catalog, removing the need for the adapter registration
and making the tests a bit simpler, IMO.
>
>> Otherwise, the branch is here and all the tests pass:
>> /Products.CMFCore/branches/miwa-catalog-adapter/Products/CM
ts/CMFCore
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
ti-adapter, and adapting the catalog would appear to be
sensible - and as you say, could be generic for zope 2 in future. In
some sites, I've derived from catalog so as to use the
allowedRolesAndUsers and date filtering behaviours in other catalogs
within the portal. So I can definitely se
seems cleaner to move
it, but I'm not sure 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
>> 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
TIBILITY: Any catalog implementation 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://
ll write up a short proposal.
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
he wrapper 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
hing relevant to this.
Thanks 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
mplates against 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
Hi,
Thanks, that's really useful: I'll take a look at those.
- 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 enc
g CMFUid and the
obscurity of the use-case, I think this might be acceptable to just
document (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
having 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
__
.zcml.
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
#x27;t seem that there's any 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
sting 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.zop
ired though (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.or
27;s __dict__, which presumably results in a
speed-up.
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
Thanks for any 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
a 'delete' 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/listinf
on used to control anything?
I thought it was used to deal with certain effective/expires ranges,
but from grepping it doesn't seem to ever be used!
Cheers,
Miles
___
Zope-CMF maillist - Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/li
e free to set whatever policy
it wanted.
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 -
take care of including all the
required 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
Dieter Maurer wrote:
Miles Waller wrote at 2006-10-11 16:34 +0100:
...
My question is, does this count as a bug?
I would say "yes"...
Please file a bug report to the CMF collector.
Done (incl. fix + tests): http://www.zope.org/Collecto
y of
achieving the same thing? I cannot think of any simpler way of
detecting whether 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
, 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://collector.zope.org/CMF for bug reports and feature requests
people like Tres, Yvo, Florent etc.
One thing that would be good about this is that the CMFUid suite could
be deprecated in favour of an implementation based on zope3's intids
utility.
There was a discussion a while back about the future of that package:
http://mail.zope.org/pipermail
where
- 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_co
that.
Before I copy in the files and try to get it working, does anyone know
if it should work, or if the content import/export is limited to later
versions than 1.6?
Thanks,
Miles
___
Zope-CMF maillist - Zope-CMF@lists.zope.org
http://mail.z
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.
as noticed until now, is it just
coincidence this fixed it, or what?!
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
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:
fault)
also points to a method (Default), 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 maillis
[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 val
he containing folder). What's the best way round
this?
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/CMF for bug reports and feature requests
43 matches
Mail list logo