Re: Search inside Include

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 16014
interpreted = N
texte = >This is a new way of thinking about includes for me. I always expected >they were just inserting; then the page was executing in the page in the >sequence I see reading HTML page. Wrapped up means Webcat is doing >some checking at the end of the include. Does it require all contexts to >be resolved that are in the inlcude? What else?Yes, it's not quite like pasting the text of your file into the spot where the include is (like C does), which is probably what you're thinking. It's a little more like a ShowPage being executed at that spot, or perhaps a subroutine being called. We do make sure you get access to variables from the outer page, though.I think for your particular situation, you should consider using variables for the search context as your means of generalizing the page.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Search inside Include (Grant Hulbert 1998)
  2. Re: Search inside Include (RH Prouty 1998)
  3. Re: Search inside Include (Grant Hulbert 1998)
  4. Re: Search inside Include (RH Prouty 1998)
  5. Re: Search inside Include (Grant Hulbert 1998)
  6. Search inside Include (RH Prouty 1998)
>This is a new way of thinking about includes for me. I always expected >they were just inserting; then the page was executing in the page in the >sequence I see reading HTML page. Wrapped up means Webcat is doing >some checking at the end of the include. Does it require all contexts to >be resolved that are in the inlcude? What else?Yes, it's not quite like pasting the text of your file into the spot where the include is (like C does), which is probably what you're thinking. It's a little more like a ShowPage being executed at that spot, or perhaps a subroutine being called. We do make sure you get access to variables from the outer page, though.I think for your particular situation, you should consider using variables for the search context as your means of generalizing the page.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Grant Hulbert

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:

Is there a way to just get to the last record in the database? (1997) More than one db with the same namn (was: WC2f3) (1997) Which GUI HTML editors work with WC ? (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) webcat restarting script on Linux? (1999) Locking up with WebCatalog... (1997) Exclamation point (1997) More questions about serial number dishing (1997) [WebDNA] On click show hidden include (2009) Separate SSL Server (1997) TEXTA-D (2003) Hide Ifs (2000) OK, here goes... (1997) WebCat B13 Mac CGI -- Frames question (1997) Authenticate (1999) [Announce] Newest Commerce Site based on WebCatalog (1997) Restart of DBserver (1997) Merging databases (1997) Trouble creating a temp database (2000) taxTotal, grandTotal (1997)