Re: Search inside Include

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 16010
interpreted = N
texte = The other elements necessary for a search [founditems] context and the end [/search] tag are further on in the template (although not in the inlcude). They seems to work correctly when the code is not in an include. The error message:Error: No Search Context Found. Ignoring [FOUNDITEMS] context Error: Error: expected [/HTMLFORM], but found [/search]] instead. The main part of the [Search] context is in the include the [founditems] and the closing [/search] are later in the template. I want to be able to set different search includes depending upon conditions. The other information, the [founditems] and the closing [/search] are the same for each search and are encountered later. The extra bracket at the end of the error message is curious to me. There doesn't seem to be an extra anywhere to me. The code works fine when I put it into the template so I expected the other part of the context set up later in the template were correct as long as it can see the starting elements for the search inside the inlcude.------ Original Message ------>>Is there any reason why a [search] context should not work properly >>inside an include. > >>[search >db=/admin/data/active.db&eqUserIDdatarq=[uppercase][username][/uppercase]&e >qPassdatarq=[uppercase][password][/uppercase]] > >I don't see the [/Search] part. Is that in your include file too? What >was the exact error message? > >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)
The other elements necessary for a search [founditems] context and the end [/search] tag are further on in the template (although not in the inlcude). They seems to work correctly when the code is not in an include. The error message:Error: No Search Context Found. Ignoring [founditems] context Error: Error: expected [/HTMLFORM], but found [/search]] instead. The main part of the [search] context is in the include the [founditems] and the closing [/search] are later in the template. I want to be able to set different search includes depending upon conditions. The other information, the [founditems] and the closing [/search] are the same for each search and are encountered later. The extra bracket at the end of the error message is curious to me. There doesn't seem to be an extra anywhere to me. The code works fine when I put it into the template so I expected the other part of the context set up later in the template were correct as long as it can see the starting elements for the search inside the inlcude.------ Original Message ------>>Is there any reason why a [search] context should not work properly >>inside an include. > >>[search >db=/admin/data/active.db&eqUserIDdatarq=[uppercase][username][/uppercase]&e >qPassdatarq=[uppercase][password][/uppercase]] > >I don't see the [/Search] part. Is that in your include file too? What >was the exact error message? > >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/ > > > > RH Prouty

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:

Limiting user access to .tmpl files (1997) Smart caching problems with 2.1b3? (1997) Forum - Test Request (2005) [WebDNA] Foreign characters (2009) (2009) Getting total number of items ordered (1997) Quickie question on the email templates (1997) Resume Catalog ? (1997) Re: (1997) 40,000+ items = mutiple dbs? (1999) Limit to Field Length in DB (1998) CASTEGORIES IN DIFFERENT FRAMES (1997) WildWEBCAT98 Voting is OPEN! (1999) encrypt but with normal characters for result? (2005) Date Bug (1998) Sorry I didn't pay attention-but ??? (1997) Just Testing (1997) New WebCatalog site! (1997) [WebDNA] it appears that [sessionID] is a reserved variable name (2016) math problems (2000) Problems getting parameters passed into email. (1997)