Archive of UserLand's first discussion group, started October 5, 1998.
Re: Scalable content via mainResponder
Author: Robert Brook Posted: 4/23/1999; 4:42:31 AM Topic: Scalable content via mainResponder Msg #: 5242 (In response to 5205) Prev/Next: 5240 / 5243
Another way of setting up your firstFilter:
on firstFilter (adrPageTable) { local (adr); if (adrPageTable^.searchArgs contains "printable=true") { adr = @mysite.["#templates"].basic} else { adr = @mysite.["#templates"].default}; table.assign (@adrPageTable^.template, adr^);; return (true)}It may look a little clunky, but this works around an assignment problem I was having. It may help someone out there. It's also easy to extend.
Thanks for this Mini-HOWTO: lots more problems solved!
This page was archived on 6/13/2001; 4:49:29 PM.
© Copyright 1998-2001 UserLand Software, Inc.