Topic: Invalid cfml construct in coldfusion 9


rounok    -- 07-19-2013 @ 9:57 AM
  I am using coldbox with coldfusion 9.im getting this error:

Application Execution Exception
Error Type: Template : [N/A]
Error Messages: Invalid CFML construct found on line 1018 at column 17.
ColdFusion was looking at the following text:

for

The CFML compiler was processing:

    A script statement beginning with for on line 1018, column 17.
    A script statement beginning with private on line 1000, column 9.

my index.cfc:

<cfoutput>
<h1>users.index</h1>
#html.table(data=rc.users)#
</cfoutput>

users.cfc:

component{
     
     
     property name="userService" inject="entityService:User";
          
     function index(event){
          var rc= event.getCollection();
          rc.users= userService.getAll();
          event.setView("users/index");
     }


Webmaster    -- 08-09-2013 @ 1:31 PM
  This looks like an inheritance issue, you might need to
further troubleshoot in the extends pages.


Pablo Varando
Senior Application Architect
EasyCFM.COM, LLC.

904.483.1457 \\ mobile
webmaster@easycfm.com \\email

\m/ (>.<) \m/
--- rock on ---


EasyCFM.COM ColdFusion Forums : http://archive.easycfm.com/forums
Topic: http://archive.easycfm.com/forums/viewmessages.cfm?Forum=12&Topic=15331