Using BuildLink and writing the syntax so it will work on SES and commandbox none SES

I am working on a project where some of my links are broken in commandbox because I did not use BuildLink to make them.

Here is what I am trying to do. I have a link like this. Welcome apple is the module, home is the handler, and index is the method Works fine on the SES web server.
However, I don’t think SES URL’s are available yet in Commandbox. To get this to work in Commandbox I would need something like this. Welcome

What is the syntax in BuildLink to get this to work in either environment? Final question can I use BuildLink in the CKEditor in CommandBox?

Thanks,

George Murphy

I don’t think the issue is SES, just the fact that we don’t have rewrites enabled in the embedded web server so you need the index.cfm in there.

If you were using buildLink(), you’d just need to add the index.cfm to the base ses url set in your routes.cfm and call buildLink() like normal…

can I use BuildLink in the CKEditor

If you’re asking if you can put CFML code in the CKEditor, the answer is no.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

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