No it works perfectly!! Stupid me. I already figured it out! Indeed I need to 
render my form first before I put it on my template! Like you said with f.e 
form.as_table()

I've been using KID with django so far without any hitch! I'm so happy with it 
considering django's own {% if %}{{ $blag }} {% endif %} syntax! :)

Thnx Christoph!

Greetz

Thijs Thiessens

On Thu, 13 Sep 2007 11:31:18 +0200
Christoph Zwerschke <[EMAIL PROTECTED]> wrote:

> Thijs Thiessens wrote:
> > AddPersonForm is just a simple Form Object.
> 
> Ok. Then this cannot work since XML expects a string.
> 
> You need to render your form to a string in some way, i.e. use something 
> like XML(form.as_table()).
> 
> I'm using Turbogears where Kid is very nicely integrated. Haven't really 
> looked into Django yet, though it's on my list.
> 
> -- Chris
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> kid-template-discuss mailing list
> kid-template-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/kid-template-discuss


-- 
Thijs Thiessens <[EMAIL PROTECTED]>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kid-template-discuss mailing list
kid-template-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kid-template-discuss

Reply via email to