[Zope-CMF] SVN: Products.CMFDefault/trunk/Products/CMFDefault/profiles/views_support/types/File.xml Views added to profile.

Tres Seaver tseaver at palladion.com
Tue Jun 29 15:34:17 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Charlie Clark wrote:
> Log message for revision 113936:
>   Views added to profile.
> 
> Changed:
>   U   Products.CMFDefault/trunk/Products/CMFDefault/profiles/views_support/types/File.xml
> 
> -=-
> Modified: Products.CMFDefault/trunk/Products/CMFDefault/profiles/views_support/types/File.xml
> ===================================================================
> --- Products.CMFDefault/trunk/Products/CMFDefault/profiles/views_support/types/File.xml	2010-06-27 13:58:58 UTC (rev 113935)
> +++ Products.CMFDefault/trunk/Products/CMFDefault/profiles/views_support/types/File.xml	2010-06-27 14:01:26 UTC (rev 113936)
> @@ -1,5 +1,7 @@
>  <?xml version="1.0"?>
>  <object name="File">
> + <alias from="(Default)" to="@@view.html"/>
>   <alias from="file_edit_form" to="@@edit.html"/>
>   <alias from="metadata_edit_form" to="@@properties.html"/>
> + <alias from="view" to="@@view.html"/>
>  </object>


That doesn't look right:  the default view for a file or image (the one
where no view name is tacked on at all) is supposed bo be its "download"
view (the 'index_html' defined on the class).


Tres
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkwqSrgACgkQ+gerLs4ltQ6nZgCfV2MOiJ9TYPAp/hqd/BS+qPKn
x40AoKQHe6cOn+xkK5U8fDHIjyln+WzN
=kbl8
-----END PGP SIGNATURE-----



More information about the Zope-CMF mailing list