On Wednesday 08 March 2006 03:32, Shane Hathaway wrote:
Chapter 27 of the Zope 3 book and the docstring for IPrincipal in Zope
3.2 both suggest Zope has the ability to provide a browser view of
principal annotations. That would be a really great bit of
functionality to have! Unfortunately,
On Mar 11, 2006, at 3:14 AM, Thierry FLORAC wrote:
On Thu, 2006-03-09 at 01:14 -0700, Shane Hathaway wrote:
Your idea of annotating InternalPrincipals rather than Principals
seems
to work, but I apparently did something wrong, because edited
annotations don't persist! I can save edits, but
Shane Hathaway wrote:
Alternatively, it may possible to setup an adapter for
IInternalPrincipal to IPrincipal ?
I tried that first, but it got messy. IPrincipal needs an id, but
InternalPrincipal doesn't know its own id; only the folder that contains
it knows. However, the folder has no
Shane Hathaway wrote:
Your idea of annotating InternalPrincipals rather than Principals seems
to work, but I apparently did something wrong, because edited
annotations don't persist! I can save edits, but when I reload the
page, they're gone. I don't know why.
A quick test, hope it helps...
Tom Dossis wrote:
Shane Hathaway wrote:
Thanks for helping me over a hurdle. You'd think a Zope 2 veteran like
me would have little trouble with Zope 3
Maybe that has something to do with it.
We switched from zope2/cmf/plone to zope3 early on in the development of
a new application.
Chapter 27 of the Zope 3 book and the docstring for IPrincipal in Zope
3.2 both suggest Zope has the ability to provide a browser view of
principal annotations. That would be a really great bit of
functionality to have! Unfortunately, AFAICT, the system doesn't work
at all in Zope 3.2. The Zope
Shane Hathaway wrote:
Was this an accident? Did it work at one time? Are there plans to make
principal annotation views work again? And how can I edit user
annotations in the meanwhile?
No one knows, I guess. After spending many days on a seemingly simple
problem, I've drawn a blank.
Shane Hathaway wrote:
Shane Hathaway wrote:
Was this an accident? Did it work at one time? Are there plans to make
principal annotation views work again? And how can I edit user
annotations in the meanwhile?
No one knows, I guess. After spending many days on a seemingly simple
problem,
Tom Dossis wrote:
Shane Hathaway wrote:
Shane Hathaway wrote:
Was this an accident? Did it work at one time? Are there plans to make
principal annotation views work again? And how can I edit user
annotations in the meanwhile?
No one knows, I guess. After spending many days on a