I'm moving from a frames layout to a css-p layout and I'm having a problem pushing a variable into the namespace.
Here's my main dtml document:
<html>
<head>
<dtml-var head>
</head>
<body>
<dtml-var top_html-css>
<dtml-var left_html-css>
<dtml-let account_id="Accounts.get_account_ids(location_code=location_code, start=start)">
<dtml-var table>
</dtml-let>
</body>
</html>
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.
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.
Thanks,
Aaron Kunkle