I was trying to get through <the beginner tutorial...
# cfml-beginners
m
I was trying to get through the beginner tutorial. All was rolling along well until I got to the part about adding a second action. When you hover over the "goodbye" you only see it link to the controller and it won't show the action (see bottom left corner). Anyone know what is this issue?
a
This isn't an answer to your question, but if yer a CFML beginner - and if which framework you use doesn't matter and you only picked CFWheels at random - I advise against running with CFWheels. ColdBox is a better bet. To get help with CFWheels, there is also a CFWheels subchannel here, too. Also when asking questions, it's best to post yer code. It's hard for us to tell what you might have done wrong if we can't see it. Is it the "Linking Hello to Goodbye" stage yer up to? Where you add this code:
Copy code
<p>Time to say <cfoutput>#linkTo(text="goodbye", action="goodbye")#?</cfoutput></p>
?
@Mr M in case you don't see it (although I pinged you), I worked through the tutorial too and got to the same spot you did, and it's a bug in CFWheels. It's interesting cos I did the same tutorial a few months ago, but for CFWheels 1.4.x, and that one worked fine. Some of the routing stuff (which is what the issue is here) is new in 2.x, so I guess they have not ironed out all the bugs in it yet? Dunno. I don't use 2.x. I was about to upgrade our app from 1.4.x to 2.2, but... not so sure now 😕
p
@Mr M this is a bug in the current CFWheels codebase that I am trying get fixed. But if you like, you can use the CFWheels CLI to install the framework and that has the fix implemented already. The best way is to install CommandBox then install the CFWheels command line using
box install cfwheels-cli
then once you have the CFWheels CLI installed you can use
box wheels g app-wizard
That wizard will walk you through installing the framework using one of the templates.
1