Hi,

Looks like a simple problem, but how can i open files?
...project/browser/resource/[file1..fileX]

I thought it would be possible with the browser:resourceDirectory directive.
It works somehow.

But I'm having some problems.I can access the resource only once.
..
xslt_dir=getAdapter(self.request,Interface, name='xslt')
xslt_file=xslt_dir.get(filename+'.xslt').GET()
..
The second time xslt is empty. 
No exception is thrown, when accessing the resource.

Is it the wrong way to access the file?

Help appreciated!

Best regards


_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to