& gets replaced by &
Thanks anyway,
Bernardo

On 6/17/06, Elvelind Grandin <[EMAIL PROTECTED]> wrote:
> replace & with &amp;
>
> On 6/17/06, Bernardo Torres <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I've been trying to use amps in links in a TurboGears+Kid app, but
> > until now, no success. I've tried different forms, like:
> > controllers.py:
> >   return dict(from_date=kw["from"], to_date=["to"])
> >
> > report_show.kid:
> >   <img src="/report/?from=${from_date}&to=${to_date}" />
> > (syntax error)
> >
> > or report_show.kid:
> > <?python
> > url = "/report/?from="+from_date+"&to="+to_date
> > attrs = "src":url
> > ?>
> >
> > <img py:attrs="attrs" />
> >
> > or controllers.py:
> > img = "<img src=\"/report/?from="+from_date+"&to="+to_date+"\" />
> > return dict(img=img)
> >
> > report_show.kid:
> > ${XML(img)}
> >
> > Anybody has any idea?
> > Thanks,
> >
> > Bernardo
> >
> >
> > _______________________________________________
> > kid-template-discuss mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/kid-template-discuss
> >
>
>
> --
> cheers
>     elvelind grandin
>
>
> _______________________________________________
> kid-template-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/kid-template-discuss
>


_______________________________________________
kid-template-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kid-template-discuss

Reply via email to