[Zope3-dev] Re: [Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Container/Views/Browser- main.pt:1.1.2.2

Jim Fulton jim@zope.com
Sat, 09 Mar 2002 13:12:11 -0500


Steve Alexander wrote:
> 
> Tres Seaver wrote:
> > Steve Alexander wrote:
> >
> >> Update of
> >> /cvs-repository/Zope3/lib/python/Zope/App/OFS/Container/Views/Browser
> >> In directory cvs.zope.org:/tmp/cvs-serv15148/Views/Browser
> >>
> >> Modified Files:
> >>       Tag: Zope-3x-branch
> >>     main.pt Log Message:
> >> changed form action to make delete button work properly
> >>
> >> === Zope3/lib/python/Zope/App/OFS/Container/Views/Browser/main.pt
> >> 1.1.2.1 => 1.1.2.2 ===
> >>  <div metal:fill-slot="body">
> >>
> >> -<form action="contents;view" method="get">
> >> +<form action="" method="get">
> >>    <table class="ContentListing">
> >>         <caption>Folder Contents <a href="../adder;view"> Add... </a>
> >> </caption>
> >
> >
> > ISTR that IE had problems with empty actions, at least in some
> > versions; 

I would think an empty action would be illegal.

> > could we replace with TAL that substitued "here/absolute_url"?

It would be "container/absolute_url".

Note that absolute_url is no longer around as a method.

I'm thinking of adding it as a view. Maybe something like:

  container/url;view


> > (just using "." was a workaround, too).
> 
> Would omitting the action altogether work?

I doubt it.

> Otherwise, given the choice, I'd prefer to use the "." than using
> here/absolute_url.

I seem to remember . alone causing a problem with netscape enterprise
server, which made us avoid it. My memory is vague on this.

Brian, do you remember this?
 
Jim

--
Jim Fulton           mailto:jim@zope.com       Python Powered!        
CTO                  (888) 344-4332            http://www.python.org  
Zope Corporation     http://www.zope.com       http://www.zope.org