[Zope] LocalFS

Rubinstein Fredrik fredrik.rubinstein@ivf.se
Mon, 26 Feb 2001 13:45:06 +0100


	Hi there.
The following piece of code works like a dream.
      <UL>
      <dtml-in read_meeting_dokument_tab>
        <dtml-in "fil_struktur.fileValues()">
          <LI><a href="<dtml-var expr="fil_struktur.basepath">/<!--#var
url-->">
                       <dtml-var dokument_namn></a></TD>
        </dtml-in>
      </dtml-in>
      </UL>

Which creates an table with clickable items for download

However ( This is what I want to do )

      <UL>
      <dtml-in read_meeting_dokument_tab>
        <dtml-in "fil_struktur.fileValues([fil_namn])">
          <LI><a href="<dtml-var expr="fil_struktur.basepath">/<!--#var
url-->">
                       <dtml-var dokument_namn></a></TD>
        </dtml-in>
      </dtml-in>
      </UL>
  
This creates an table with non-clickable objects. If you hold the pointer
over the object on the webpage one can
see in the lower left corner
"file://server/folder/filename.doc%20%20%20%20%20.
Where does the %20%20 come from. How do I get rid of that garbage.


With kind regards.

Fredrik.