Re: [WebDNA] maybe silly suggestion? [founditems]
This WebDNA talk-list message is from 2015
It keeps the original formatting.
numero = 111900
interpreted = N
texte = Maybe I'm missing something, but why can't you simply keep the [search] =open until you're finished with your various founditems loops? Not that =unusual for me to do a search and have more than one founditem loops =before closing the search. In the shopping cart system, aren't =orderfiles routinely opened at the top and closed at the bottom?On Jan 14, 2015, at 12:57 PM, Brian Burton
wrote:> to help separate my controller logic from my display code it would be =awesome to have a shortcut like:> [search db=3Dallthethings.db&blahblahblah][savefounditems =name=3Dpeoplenameddave][/search]>=20>=20>=20>=20> then later in the page, where i=92m rendering the html> [displayfounditems use=3Dpeoplenameddave] html things =[/displayfounditems]>=20>=20>=20> I know it looks like it=92s not saving that much code, but I can see =switching which search I want in the controller, and still being able to =use a universal founditems loop lower in the code. Also the ability to =reuse search results (if needed) without doing the same search again.=20>=20> ok, feel free to start telling me how you can do this with a table =(you=92re missing the point) or how we don=92t need more tags or =whatever :)=20>=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
Associated Messages, from the most recent to the oldest:
Maybe I'm missing something, but why can't you simply keep the [search] =open until you're finished with your various founditems loops? Not that =unusual for me to do a search and have more than one founditem loops =before closing the search. In the shopping cart system, aren't =orderfiles routinely opened at the top and closed at the bottom?On Jan 14, 2015, at 12:57 PM, Brian Burton wrote:> to help separate my controller logic from my display code it would be =awesome to have a shortcut like:> [search db=3Dallthethings.db&blahblahblah][savefounditems =name=3Dpeoplenameddave][/search]>=20>=20>=20>=20> then later in the page, where i=92m rendering the html> [displayfounditems use=3Dpeoplenameddave] html things =[/displayfounditems]>=20>=20>=20> I know it looks like it=92s not saving that much code, but I can see =switching which search I want in the controller, and still being able to =use a universal founditems loop lower in the code. Also the ability to =reuse search results (if needed) without doing the same search again.=20>=20> ok, feel free to start telling me how you can do this with a table =(you=92re missing the point) or how we don=92t need more tags or =whatever :)=20>=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
Terry Wilson
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:
PCS Frames (1997)
Rhapsody? (1997)
Trigger Validation Text Broken (2003)
PIXO (1997)
boldwords funky (1998)
More questions about serial number dishing (1997)
Tracking inbound links for discounts (1997)
[Announce] Newest Commerce Site based on WebCatalog (1997)
OK, here goes... (1997)
WebTV, IPAddress, Cookies, IDEAS?? (1998)
WebCatalog Use Question (1997)
Email within tmpl ? (1997)
Not really WebCat (1997)
Storebuilder Problems...Looking for last minute heroic (2004)
Stay on Products page (2003)
form to search page (2000)
Bad Install... (2003)
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)
Version f1 status (1997)
[WebDNA] XML Help (2009)