[Zope] Re: passing variables from one DTML method to another ...

Darran Edmundson Darran.Edmundson@anu.edu.au
Sat, 20 Nov 1999 16:56:10 +1100


I wonder if someone can add to the recent comments about passing 
parameters from one DTML method to another, viz.

> <dtml-if "some_condition">
>  <dtml-var "render_item(_.None, _, input_var1='value1')">
> <dtml-else>
>  <dtml-var "render_item(_.None, _, input_var1='value2')">
> </dtml-if>

My problem is that I am trying to pass parameters from my feedback
form method "feedback_form" to the send method "feedback_send", ie.

  <form action="feedback_send(_.None, _, testvar='testval')"
method="post"> 
   ... </form>

or

  <form action="<dtml-var feedback_send(_.None, _, testvar='3.14')>"
method="post"> 
  ... </form>

Neither of these work.  Note, these parameters aren't the form data, but 
params I don't want the user to have edit access to.  Any ideas are much 
apppreciated.

Cheers,
Darran.


-- 
Darran Edmundson [Darran.Edmundson@anu.edu.au]