how can I fix this??


---------------- the main dtml file has the following
line----------------------------
<dtml-var SomeVar>  <!-- there is a valid namespace SomeVar and this line
prints it out... -->
                                      <!-- the next line works fine with
Number 5, but not if I substitute SomeVar instead of 5 -->
<dtml-var "Some_Header(style=Some_Style_css(SomeKey=5))">
----------------------------------------------------------------------------
---------------------
---------------- the Some_header dtml file has the following
lines-------------
<style>
<--!
<dtml-var style>
--!>
</stile>
----------------------------------------------------------------------------
---------------------
---------------- the Some_Style_css dtml file has the following
lines----------
input    {     position: relative;

                  font-size: <dtml-var SomeKey>
            }
----------------------------------------------------------------------------
----------------------

Now the whole thing works great...... however, if I attempt to make NUMBER 5
by any variable from REQUEST or the current form
the KeyError comes up ::::::::: if instead of 5 I put SomeVar (which was
passed to this dtml from some other form) I get "Error Type: KeyError Error
Value: SomeVar"



_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to