<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
</HEAD>
<BODY>
I'm moving from a frames layout to a css-p layout and I'm having a problem pushing a variable into the namespace.<BR>
Here's my main dtml document:<BR>
<BR>
<html><BR>
<head><BR>
<dtml-var head><BR>
</head><BR>
<body><BR>
<dtml-var top_html-css><BR>
<dtml-var left_html-css><BR>
<dtml-let account_id="Accounts.get_account_ids(location_code=location_code, start=start)"><BR>
<dtml-var table><BR>
</dtml-let><BR>
</body><BR>
</html><BR>
<BR>
The 3 dtml-var tags in the middle insert my css positioned div tags. 'Table' is my main content and the others are a header and navigation section. The table needs an account_id passed to it and I was hoping the dtml-let tag would work but it's apparently not making the variable available for use like I need. I get an error about account_id not being available unless I specifically pass it in through the url. <BR>
Is there something I'm doing wrong or should I be approaching this from a completely different way? I've tried a couple of different methods, including a dtml-in and putting the dtml-let in the actual 'table' document and neither worked.<BR>
<BR>
Thanks,<BR>
Aaron Kunkle
</BODY>
</HTML>