Example of using bootstrap modal using remote with event.buildlink?

I have a view that contains some buttons. I want to have those buttons call a boostrap modal which uses remote to call another view. I’m trying to use event.buildlink and when I do I get an error. Can I not use event.buildlink?

The error I get is:
Cannot invoke method buildlink on an object of type coldfusion.sql.QueryColumn with named arguments. Use ordered arguments instead.

Does anyone have an example?

My view with a button:

If I take out the event.buildlink the issue goes away but them I’m left with using filename.cfm

Any suggestions?



Sounds like scope hunting. Do you have a query on the page with a column called “event”. ColdFusion might be searching the query “scope” before the variables scope.



ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

BINGO!!! Thank you.