[Zope3-Users] Setting custom content type when publishing a resource

FB fbo2 at gmx.net
Wed Oct 18 03:11:55 EDT 2006


Hi,

On Wed, Oct 18, 2006 at 07:58:45PM +1300, Andrew Groom wrote:

[snip]

> 	<browser:page
> 		for="*"
> 		name="vortexgdna.xpi"
> 		class=".xpipublisher.XPIPublisherView"
> 		permission="zope.View"/>
> 
> </configure>
> 
> (It complained if I didn't have the "for" attribute in there, btw)

Sorry, it was late (or early?)...

The browserview code i sent you, was copy'n pasted from my application.
You have to customized it to your needs. context is in case of my autofile
object a persistent non-container object containing a single file which
is stored in the data attribute.

Regards,

Frank


More information about the Zope3-users mailing list