MapTools.org

[Chameleon-dev] [Bug 158] [Chameleon 1.1] Enable Commenting out cwc2 tags in template

bugzilla-daemon@www.maptools.org bugzilla-daemon@www.maptools.org
Mon, 5 Apr 2004 15:31:34 -0400
http://www.maptools.org/bugzilla/show_bug.cgi?id=158





------- Additional Comments From pspencer@dmsolutions.ca  2004-04-05 15:31 -------
any solution is going to make chameleon slower.  Should we actually support
this?  If yes, then I propose to run two parser passes on the template, one to
extract comments and a second to extract widgets.   This would remove commented
out widgets from the template, but would require two passes.  Not sure what the
performance implications of this would be.

Note to implementor:

build regex to extract <!-- up to -->, create new instance of TemplateParser
with this regex, process template, insert empty string ("") as replacement for
all comments, run replacements, and then pass resulting page to the regular parser.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


This archive was generated by Pipermail.