RE: [coldbox:10398] Newbie Question

The buildLink() function doesn’t actually output the HTML of the anchor tag for you, it just builds the fully-qualified URL. You will need to use it like this:

<a href="#buildLink(“handler.event”)#">Here is my awesome link

or like this:

<button onClick=“document.location.href = '#buildLink(“handler.event”)# ';”>This is my awesome button

buildLink() doesn’t make any assumptions about what you are going to do with the URL, that’s up to you.



Or use the HTML helper to build the HTML for you in combination