[Zope3-Users] Re: index.html

Jeff Rush jeff at taupro.com
Fri Dec 9 06:21:47 EST 2005


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



More information about the Zope3-users mailing list