29 Jan 17:25
[FormBuilder] Hmm, Here is a patch which will remove auto generated comment in result html, Also, with small enhancement. ; -)
From: Yiyi Hu <yiyihu <at> gmail.com>
Subject: [FormBuilder] Hmm, Here is a patch which will remove auto generated comment in result html, Also, with small enhancement. ; -)
Newsgroups: gmane.comp.lang.perl.modules.formbuilder
Date: 2007-01-29 16:26:21 GMT
Subject: [FormBuilder] Hmm, Here is a patch which will remove auto generated comment in result html, Also, with small enhancement. ; -)
Newsgroups: gmane.comp.lang.perl.modules.formbuilder
Date: 2007-01-29 16:26:21 GMT
Hello, All. FormBuilder rocks anyway. But normally, There is something we don't want. In any case, You don't like to see the message like <!-- Generated by CGI::FormBuilder v$VERSION available from www.formbuilder.org --> But It seems there is no option to remove this without patching the source. Touch symbol table works fine. But doesn't work well when we are in Catalyst::Controller::FormBuilder. So this patch did this. It won't show the hidden trailer if you set debug option off. Another small enhancement is. I add a browser_compat option (Default is 1). The one which most people like.If It is set to 0. Then, You won't see the <!-- hide from old browsers blablabla //--> Things in generated javascript. Modern browsers. Even lynx and w3m, can deal with unknown tags correctly. And I need this feature also.
Any suggestions welcome. Xinming
(Continue reading)
If It is set to 0.
Then, You won't see the
<!-- hide from old browsers
blablabla
//-->
Things in generated javascript.
Modern browsers.
Even lynx and w3m, can deal with unknown tags correctly.
And I need this feature also.
RSS Feed