On Fri, Dec 19, 2008 at 5:36 PM, Shamail Tayyab <[email protected]> wrote:
>
> Hi,
>  I am not able to pass multiple parameters from template.
> e.g <a href="/method?arg1=this&arg2=that"> text </a>
>   Generates an error of this kind..
>
> ExpatError: Error parsing XML file '/home/shamail/Code/bcbox/bcbox/
> templates/groups.kid':
>       <li><a href="/dispbc?gid=th&topic=${i.topic}"> ${i.topic} </a></

this is invalid XML. You should use

<a href="${tg.url('/dispbc', dict(gid=th, topic=i.topic))}
py:content="i.topic"> The topic </a>

instead.

Florent.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to