Josh,
I am trying to use a splash tabbox and CGI::Application to create a mode where you can switch behavior based on the tab selected, ...
If you're willing to look at alternate methods, I can tell you how we do that sort of thing here. (Well, specifically we use OpenThought (http://www.openthought.net/), but the technique is general enough to work on its own too.) I just make a page which has the common bits, and inside that, several different BLOCKs. Each BLOCK represents a different tab. Then I just put a small IF / ELSIF block at the bottom and PROCESS whichever BLOCK is appropriate, based on some template var (which I typically name "which"). Then all I need to do is grab the CGI param that tells me which tab we're on and set the template var (i.e. "which"). Voila.
HTH.
-- Buddy
_______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
