Adam Groszer wrote:
I register a page with the following zcml:
  <browser:page
      name="index.html"
      for="..interfaces.IPerson"
      template="person_view.pt"
      permission="dkr.ListContent"
      menu="zmi_views" title="View"
      >
  </browser:page>

I can access it only through .../person01/@@index.html.

What am I missing? What do I have to do to access it as
.../person01/index.html?

Now that's odd! Here I can use @@index.html or index.html, @@contents.html or contents.html and view my own pages. The @@ seems to make no difference, in the cases I'm trying.

And sometimes when type in a URL to reference an object, say

    http://localhost/myobject

it add a /index.html suffix and displays in the browser URL widget as:

    http://localhost/myobject/index.html

and other times it doesn't.  Using firefox here.

-Jeff

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

Reply via email to