I have tried various ways to make this work, but haven't been able to yet. This works in FB5, but not FW/1:
function onRequest(any targetpage) {
if (ListLast(arguments.targetPage, "/") != 'index.cfm')
{
include arguments.targetPage;
}
else
{
super.onRequest(arguments.targetPage);
--
FW/1 on RIAForge: http://fw1.riaforge.org/
FW/1 on github: http://github.com/seancorfield/fw1
FW/1 on Google Groups: http://groups.google.com/group/framework-one
FW/1 takes over all .cfm requests but you can use the unhandledPaths
framework configuration setting to add specific paths you don't want
handled by FW/1 (either partial directory paths or file paths).
--
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/
"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood
Thanx,
Sean
2010/8/2 Andy Jarrett <ma...@andyjarrett.co.uk>: