From: Rimon B. <ba...@cs...> - 2003-09-23 05:29:25
|
On Sun, 21 Sep 2003, Ken Kinder wrote: >Anyway, I was wondering if anyone knows how to get at the request >module/object from within a tag library? When I try to, it seems that >request evaluates to being a class, not an object, so I can't call >methods like get or uri because I get an unbound method TypeError. >Thoughts? How do I get post/get data from within a tag library? Hi Ken, Have you tried the contextGetModule() function, which is defined in the spyceTagPlus class? I think that it does what you are requesting. See: http://spyce.sourceforge.net/doc-tag_new.html All the best, Rimon. |