16 Jan
2003
16 Jan
'03
10:28 a.m.
Hi, I need to include a fragment identified by a request var in a PT . This is something I tried. I believe there must be an easier way to achieve this. <SPAN tal:condition="exists:request/form/var" tal:repeat="x python:here.objectItems()"> <P tal:condition="python:x[0]==request.form['var']" tal:define="y python:x[1]" tal:replace="structure y"> </P> </SPAN> where the request is issued as <A tal:attributes="href python:here.id + '?var=test' "> inluded </A> Regards, Lieven -- Lieven Van Acker <lieven@elisa.be> ELiSA