Forms' name in quixote2

Santiago Ruano Rincón <[email protected]> Tue, 13 Mar 2007 18:37:25 -0500
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
Hi,

Recently, DeStar [1] was upgraded from quixote 1.X to quixote 2.4. Now,
we have a problem with some javascript functions which order the columns
in a table, according the data submited from a form, these functions
worked with quixote1.form2, but don't with quixote2.form. 

The problem is due the new form class doesn't have a "name" attribute. 


this is the __init__ method in form.py from quixote1.2

    def __init__(self,
                 name=None,
                 method="post",
                 action_url=None,
                 enctype=None,
                 use_tokens=True,
                 attrs=None):

and this is from quixote2.5a1 (the same from 2.4):

    def __init__(self,
                 method="post",
                 action=None,
                 enctype=None,
                 use_tokens=True,
                 **attrs):

name=None is missing.

Why this was changed? is this a bug?

[1] http://destar.berlios.de

Best regards,

-- 
Santiago Ruano Rincón
http://www.avatar.com.co

_______________________________________________
Quixote-users mailing list
[email protected]
http://mail.mems-exchange.org/mailman/listinfo/quixote-users
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQBF9zW1QUuEI2/szeARAtC7AJ9l71gTNetCqKNLLIQxHIvyvd0z7gCeJmJP
Zxy5yNQlPsQaW3ONLIwLPRc=
=17ok
-----END PGP SIGNATURE-----