[ZPT] pass parameter in href

celtek at wp.pl . celtek at wp.pl
Tue Aug 23 09:59:03 EDT 2005


Hi,
In 2.zpt I have:
<!--tal:define="value python:context.REQUEST.get('firstValue')"-->  this 'firstValue' come from 1.zpt
I want to pass this integer ' value '  into script using link in 2.zpt:
<!--   <a href="script?value=??">Indeks</a>    --> 
but I can't figured out what I should insert in place of  this question marks 
When I insert :
<!--  <a href="script?value=value">Indeks</a>    -->
I receive only word ' value ' not integer value depending on what was 'firstValue'.
 
I know that when I want to pass parameter from script to zpt I can use something like this:
#return RESPONSE.redirect('test_results?%s' % query)
but in this case??
 
Thanks and greetings!

----------------------------------------------------
Weź udział w naszym letnim konkursie AlleJazda!
Główna nagroda to Nisan Micra!
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Faj.html&sid=472




More information about the ZPT mailing list