Re: [WebDNA] Feature Request: [returnhtml]

This WebDNA talk-list message is from

2016


It keeps the original formatting.
numero = 112681
interpreted = N
texte = 264 Awesome! Can I add two more?=20 1) [dumptable table=3Dblah.tab&type=3Dtext/html] Displays the contents of the table in either tab delimited format (handy = inside a [writefile]),=20 or an HTML table (all made by webdna of course) Debugging tables can be a major pain sometimes, we need some help here. 2) Add an optional second line to the .hdr file defining per field in = the same =20 order as the field names, the field type (text/number/date/autonumber) = so =20 that we don't have to spell it out with each and every search sort we = write. Accounts.hdr ID (tab) Adddate (tab) AddTime (tab) Name (tab) email (tab) zipcode autonumber (tab) date (tab) time (tab) text (tab) text (tab) number Thanks! -Brian B. Burton > On Mar 24, 2016, at 1:47 PM, christophe.billiottet@webdna.us wrote: >=20 > We note all the ideas, and implement what we think are the best ideas. >=20 > - chris >=20 >=20 >=20 >=20 >=20 >> 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= =99t 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 to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Feature Request: [returnhtml] (christophe.billiottet@webdna.us 2016)
  2. Re: [WebDNA] Feature Request: [returnhtml] (Brian Burton 2016)
  3. Re: [WebDNA] Feature Request: [returnhtml] (christophe.billiottet@webdna.us 2016)
  4. [WebDNA] Feature Request: [returnhtml] (Brian Burton 2016)
264 Awesome! Can I add two more?=20 1) [dumptable table=3Dblah.tab&type=3Dtext/html] Displays the contents of the table in either tab delimited format (handy = inside a [writefile]),=20 or an HTML table (all made by webdna of course) Debugging tables can be a major pain sometimes, we need some help here. 2) Add an optional second line to the .hdr file defining per field in = the same =20 order as the field names, the field type (text/number/date/autonumber) = so =20 that we don't have to spell it out with each and every search sort we = write. Accounts.hdr ID (tab) Adddate (tab) AddTime (tab) Name (tab) email (tab) zipcode autonumber (tab) date (tab) time (tab) text (tab) text (tab) number Thanks! -Brian B. Burton > On Mar 24, 2016, at 1:47 PM, christophe.billiottet@webdna.us wrote: >=20 > We note all the ideas, and implement what we think are the best ideas. >=20 > - chris >=20 >=20 >=20 >=20 >=20 >> 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= =99t 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 to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us . Brian Burton

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:

hiding links (1999) [WebDNA] test (2008) Searching multiple Databases (1997) WebMerchant/Macauthorize Suggestions? (1997) triggers (2002) Sending & and other chars thru an append context (2002) WebCat2 - Getting to the browser's username/password data (1997) referrer and no caches (1997) Problem (1997) [OT] See Flash? (2003) RE: Signal Raised (1997) Problems getting parameters passed into email. (1997) Database changes (1998) [WebDNA] COMMITDATABASE in linux unix 64bits FastCGI version 8.6 (2020) suffix mapping for NT? (1997) General WebCatalog Questions (1997) ReadDateFormat bug in 3.x (1998) Where is f2? (1997) Editing only the price field in the database (1998) RE: is sku a REQUIRED field on NT (1997)