What is k before the first line?
{{=k}}
What is the behaviour? Do you get a exception or only an unexpected
behaviour of your code?
On Sunday, October 14, 2012 7:47:36 PM UTC+2, k vamshi wrote:
>
> {{if k ==0:}}
> {{for i in dic:}}
> {{=k}}
> {{=i.Nam}}
> {{=LI(A(i.Nam, _href=URL("download",args=i.File)))}}
>      
> <strong>CREATED ON</strong> :{{=i.Given_on}}
> {{pass}}
> {{pass}}
> {{if k!=0:}}
> {{for i in dic:}}
> {{if k == i.Nam:}}
> {{l=i}}
> {{pass}}
> {{pass}}
> {{=LI(A(k, _href=URL("download",args=l.File)))}}
>      
> <strong>CREATED ON</strong> :{{=l.Given_on}}
> {{pass}}
>
>
--