Re: [WebDNA] Feature Request: [returnhtml]
This WebDNA talk-list message is from 2016
It keeps the original formatting.
numero = 112899
interpreted = N
texte = 486Hello Brian, I think this was a good idea. We implemented it in WebDNA =8.5Instead of [returnhtml], there is a new tag [hide][/hide] that you can =use anywhere in your page, as many times as you want. What is inside =will not show, but will be normally interpreted by WebDNA.- chris> On Mar 24, 2016, at 21:09, Brian Burton
wrote:>=20> Problem: I have webpages that create a tremendous amount of whitespace =at or near the top of the webpage due to all the webdna stuff going on.=20=> Occasionally it bothers me enough that I comment out the carriage =returns, but that is SUPER MESSY code to look at.=20> In a function, we have the ability to limit the output with a =[return][/return] pair.=20>=20> Proposed Solution:=20> What would be a great addition to WebDNA would be a =[returnhtml][/returnhtml] tag pair. It would only be allowed once per =rendered page.=20> On any page that doesn=E2=80=99t have this pair, everything would work =as it currently does.> On any page that does have the pair, WebDNA only returns to Apache =what=E2=80=99s between the pair.>=20> Now any amount of webdna code stays nicely safe and hidden, doesn=E2=80=99=t generate any whitespace, and means we can make very clean HTML output.=20=>=20> (also helps move us a step closer to MVC, but ignore the man behind =that curtain :)=20>=20> -Brian B. Burton---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us.
Associated Messages, from the most recent to the oldest:
486Hello Brian, I think this was a good idea. We implemented it in WebDNA =8.5Instead of [returnhtml], there is a new tag [hide][/hide] that you can =use anywhere in your page, as many times as you want. What is inside =will not show, but will be normally interpreted by WebDNA.- chris> On Mar 24, 2016, at 21:09, Brian Burton wrote:>=20> Problem: I have webpages that create a tremendous amount of whitespace =at or near the top of the webpage due to all the webdna stuff going on.=20=> Occasionally it bothers me enough that I comment out the carriage =returns, but that is SUPER MESSY code to look at.=20> In a function, we have the ability to limit the output with a =[return][/return] pair.=20>=20> Proposed Solution:=20> What would be a great addition to WebDNA would be a =[returnhtml][/returnhtml] tag pair. It would only be allowed once per =rendered page.=20> On any page that doesn=E2=80=99t have this pair, everything would work =as it currently does.> On any page that does have the pair, WebDNA only returns to Apache =what=E2=80=99s between the pair.>=20> Now any amount of webdna code stays nicely safe and hidden, doesn=E2=80=99=t generate any whitespace, and means we can make very clean HTML output.=20=>=20> (also helps move us a step closer to MVC, but ignore the man behind =that curtain :)=20>=20> -Brian B. Burton---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us.
christophe.billiottet@webdna.us
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
WC2.0 Memory Requirements (1997)
Middle Context (2002)
Multiple prices (1997)
WebDNA 6 (2004)
Exclamation point (1997)
WebCat2b13MacPlugin - nested [xxx] contexts (1997)
test - ignore please (2003)
OT - royalty free images (2002)
Sku numbers (1997)
[WebDNA] Shopping cart code debug (2009)
ShowNext (1997)
webcat- multiple selection in input field (1997)
Running a store on BOTH http and https (1998)
Opinion: [input] should be called [output] ... (1997)
[WebDNA] v.7 and eCommerce (2012)
[WebDNA] [BULK] test (2011)
Extended [ConvertChars] (1997)
[shownext] and descending order (1997)
Adding multiple items to cart with one click? (2003)
RED QUESTION MARKS AGAIN (1999)