Using tags inside tags
Iwan Vosloo <[email protected]> Fri, 11 Aug 2006 13:51:00 +0200
| Newsgroups | gmane.comp.python.spyce.general |
|---|---|
| Message-ID | <[email protected]> |
Hi there, When I define my own taglibs in which one taglib uses the other, I get an error saying "active handlers may not be used without a parent form active tag, i.e., f:form". I don't get this - I'm merely writing one taglib that uses another which does not have to do anything other than generate HTML (no active anything). Unless there is a switch somewhere that's on by default which I need to turn off? What am I missing? Here's my example (which can be run with python spyceCmd.py example.spy): ---------------------------- basictags.spi [[.tagcollection ]] [[.begin name=inner]] things [[.end]] ---------------------------- othertags.spi [[.tagcollection ]] [[.taglib from="basictags.spi" as="b"]] [[.begin name=usertag]] <b:inner>sksks</b:inner> [[.end]] ---------------------------- example.spy [[.taglib from="othertags.spi" as="o"]] <o:usertag>whatever</o:usertag> ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642