EasyCFM.COM ColdFusion Forums / Coding Help! / Invalid cfml construct in coldfusion 9

   Reply to Discussion | New Discussion << previous || next >> 
Posted By Discussion Topic: Invalid cfml construct in coldfusion 9

book mark this topic Printer-friendly Version  send this discussion to a friend  new posts last

rounok
07-19-2013 @ 9:57 AM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Member
Posts:
Joined: Jul 2013

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
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Administrator
Posts: 4542
Joined: Jan 2002

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 ---


Website Designed and Developed by Pablo Varando.