Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
I'm wondering if there's an easy way to access form data from within tag
libraries. I've already tried Python's cgi module, but as expected it
did not work.
>I'm wondering if there's an easy way to access form data from within tag
>libraries. I've already tried Python's cgi module, but as expected it did
Not yet... The tag library infrastructure has been developed (quite
recently), but there aren't many tags defined yet. You are welcome to
define such tags, and it would not be difficult. This is still an active
area of development in Spyce.
However, the module framework has existed for a while, and many modules
are already implemented. Specifically, to do what you are asking, there is
the request module. The documentation is at:
And, the following examples should help:
All the best,