On Thu, 25 Jul 2002, Philip S Tellis wrote:

> What I would really like to see though is a <tmpl_elseif> and
> <tmpl_elseunless>.  That would really clean up some of my templates that
> have too many nested ifs.

Mmm..  I've considered it at various points.  Each time I decide it would
only encourage more complicated logic in the templates.  I'm still leaning
in that direction although I will admit it's a close call.

> It would specially make sense with multi state scripts that need to show
> a different body after every step of a form processing, but a lot of
> common stuff.

I tend to use <tmpl_incldue> with a header.tmpl and a footer.tmpl to deal
with that kind of a situation.

> (Is this what CGI::Application does?)

CGI::Application is a state-management system for CGI is mostly
CGI::template-system agnostic.  You could use it with
a single template for all run-modes or with a template for each.

-sam




-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to