<!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.&nbsp; Author is a text box on the form 
that posts to this DTML method and topic is passed in the querystring.&nbsp; The 
following DTML works great with Netscape, Mozilla, and Opera but fails with IE 
on line 3 with a Key error.&nbsp; Any suggestions on how to make this browser 
independent?&nbsp; (I know, tell people to stop using IE was my first 
thought.)&nbsp;&nbsp; I am suspicious that IE is not handling 
_.getitem(file.filename,0) properly.&nbsp; </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>&lt;dtml-with&nbsp;expr="_.getitem(topic,0)"&gt;</FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN 
class=579260300-17022004>&nbsp;&nbsp;&nbsp; </SPAN>&lt;dtml-call 
expr="manage_addFile(id='', file=file, 
title=short_title)"&gt;</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN 
class=579260300-17022004>&nbsp;&nbsp;&nbsp; </SPAN>&lt;dtml-call 
expr="_.getitem(file.filename,0).manage_addProperty('author', author, 
'string')"&gt;</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2>&lt;<SPAN 
class=579260300-17022004>/</SPAN>dtml-with<SPAN 
class=579260300-17022004>&gt;</SPAN></FONT></FONT></DIV></BODY></HTML>