-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi Michele,

Michele Cella schrieb:

> 
> The attribute is setted the first time a widget tries to append itself
> to the path:
> 
> http://trac.turbogears.org/turbogears/browser/trunk/turbogears/widgets/forms.py#L60

Thanks for your help, but actually this setting is always to [].
Look at the function, line 61 could also be written as:

request.tg_widgets_path = []

path is at line 61 always [].


def append_to_path(widget, repetition):
56          path = []
57          if request_available():
58              if hasattr(request, "tg_widgets_path"):
59                  path = request.tg_widgets_path
60              else
61                  request.tg_widgets_path = path

- --
Greg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFFLjEyHI511QIQYvkRAiStAJ9DFjqHooLv3pS0MiKvshgG7fgsngCgtaWA
SHpPglmng0qWVnz/jdUkq+k=
=tbK/
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to