[Zope3-Users] Re: viewlets for specific interfaces

Luis De la Parra lparrab at gmx.net
Thu Sep 14 14:21:22 EDT 2006


wow. thanks for the offer... maybe I'm doing something wrong somewhere else
then. I'm attaching a minimal package which (does not) work(s) for me:

as a first step I add a zope.app.file.File called "file.txt" to my site
root, then I visit these two links, and both show "Hello"


I then change my configure.zcml as described, and none of the above links
shows "hello" anymore.. I would expect /viewlet.html to show an empty
message, and /file.txt/viewlet.html to display "hello" again..


Stephan Richter wrote:

> This should work for IFile. I am positive this works correctly; we use it
> all the time.
> The problem is that I cannot help you much here, because we do not have  a
> traceback and I do not have the package. If you make the package
> available, I will try to have a look at it.
> Regards,
> Stephan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.tar.bz2
Type: application/x-bzip2
Size: 965 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope3-users/attachments/20060914/1e57656a/test.tar.bin

More information about the Zope3-users mailing list