Using CB3 and I am building my handlers and want to create my
navigation using the event.buildLink, but how do I set the links
"name" that the user would click on.
In the default app document it is used like this:
<cfloop list="#getSetting("RegisteredHandlers")#" index="handler">
<li><a href="#event.buildLink(handler)#">#handler#</a></li>
</cfloop>
What would replace #handler# with so it would display "Contact Us" and
how would you set that value in the handler?
Don’t do it dynamically. Looping like that makes sense for that initial start page but, generally speaking, is not something you’d do yourself. You can just make a link yourself like:
<a href="#event.buildlink(“handler.contactus”)#">contact us