I am currently checking compatibility between Railo and Adobe ColdFusion.
<cfscript>
param request.objCycle = new model.cycle();
...
Just dies on Railo.
Message string Invalid Identifier.
This is nothing to do with the new
operator, it's to do with param
. There's a bug in Railo in that it won't allow for scoped variables in that context. Details here.
You will have to use this syntax:
param name="request.objCycle" default="#new model.cycle()#";