28 Mar
2002
28 Mar
'02
7:34 p.m.
Colin Fox wrote:
I'm trying to set up a dynamic redirect, and I can't figure out the syntax.
Given there's a variable called 'record_id', and I have a page called 'edit' which takes a parameter called 'r_id', here's the redirect statement I'd like to use:
<dtml-call expr="RESPONSE.redirect('edit?r_id=record_id')">
I need the record_id field to be evaluated, but the rest to be used literally. How do I do this?
<dtml-call expr="RESPONSE.redirect('edit?r_id='+record_id)"> this isn't dtml within dtml, this is python, and you add a fixed string and a string variable, so to say. cheers, oliver