<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1126" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=579260300-17022004>I have a library of
documents arranged by topic, which are folders, and I wish to associate an
Author property with each uploaded file. Author is a text box on the form
that posts to this DTML method and topic is passed in the querystring. The
following DTML works great with Netscape, Mozilla, and Opera but fails with IE
on line 3 with a Key error. Any suggestions on how to make this browser
independent? (I know, tell people to stop using IE was my first
thought.) I am suspicious that IE is not handling
_.getitem(file.filename,0) properly. </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2><dtml-with expr="_.getitem(topic,0)"></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=579260300-17022004> </SPAN><dtml-call
expr="manage_addFile(id='', file=file,
title=short_title)"></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=579260300-17022004> </SPAN><dtml-call
expr="_.getitem(file.filename,0).manage_addProperty('author', author,
'string')"></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><<SPAN
class=579260300-17022004>/</SPAN>dtml-with<SPAN
class=579260300-17022004>></SPAN></FONT></FONT></DIV></BODY></HTML>