I didn't do any TT testing, so I apologize for that -- I didn't know it
doesn't like variables that start with underscores. So I added a branch
in the callback code to look for cgiapp's __TT_OBJECT variable and if
it's there, it puts in the param without underscores.
I also hacked a test together (I think this is a conspiracy to get me to
switch to TT ;)) and added it to the dist.
So I'm thinking of breaking backwards compatibility so I don't have to
feel dirty when using that __TT_OBJECT variable and dumb down the
variable name to not use underscores.
I recommend if you're using TT, to use CAP-TT (v 0.09) - that way, my
load_tmpl callback will be called and your templates will be
automatically populated.
I'll put the for_template idea on my TODO.
So CAP-MessageStack 0.11 has been uploaded to CPAN... Enjoy!
- Jason
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/[email protected]/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]