On 8 Mar 2006, at 16:52, yuppie wrote:
You could access the edit view with 'edit.html' instead of '@@edit.html', but that has a major drawback: View names are not protected in any way if used without '@@'. You can easily screw up your site by adding content with the ID 'edit.html'.

Names used by Method Aliases are protected *and* Method Aliases are looked up first. So it would be safe to define an 'edit.html' alias for 'document_edit_form' or '@@edit.html'. I actually do that on my sites.

OK, thanks for explaining. Sounds good then.


But changing the visible names is not part of my proposal.

Well, I personally would love to change the visible names. The old names are worse than the @@-prefixed new names ;)

jens

_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to