[Zope-CMF] Re: [dev] CMF 2.0 browser views and Five traversal
Jens Vagelpohl
jens at dataflake.org
Wed Mar 8 17:00:23 EST 2006
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
More information about the Zope-CMF
mailing list