Hi,
I'm new to Turbine. I've gotten the sample 'newapp' working with MySql on
W2K and have figured out how to add templates and screens to it. So far so
good.
But I'm having problems calling actions. In my experimental "HelloWorld"
template, I'm trying to call my action, called "Counter" (guess what it
does). I read the docs and followed how the other sample 'newapp' actions
were written. I run "ant compile" and the class gets successfully put into
...\WEB-INF\classes\org\mycompany\newapp\modules\actions\Counter.class along
with all the other sample action classes.
My template calls the action with an href like this:
<a href="$link.setPage("HelloWorld.vm").setAction("Counter")">Counter is:
$!count</a>
When I click the link, I get the standard error template back. So I go
check the ...\newapp\logs\turbine.log, and I see this:
Turbine.handleException:
Requested Action not found: Counter
Turbine looked in the following modules.packages path:
[org.mycompany.newapp.modules, org.apache.turbine.flux.modules,
org.apache.turbine.modules]
That's about it. I've looked at it long and hard, but can't figure it out.
Can somebody please give me some advice?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]