I'm just learning, so forgive me if I'm asking something really
elementary.

I'm trying to learn what classes Velocity looks for to run, and I'm
going to ?template=willpage.vm .  (Okay, it uses path info -
/template/willpage.vm).  I wrote Willpage.java and did the build. 
After restarting, the context gets populated by Willpage as expected,
and when I rename Willpage.class to something else, the context gets
populated by org.apache.turbine.modules.screens.Default.class, as
expected.  However, when I rename Willpage.class back, the context is
STILL getting populated by Default.  Any ideas?

For example:
org/apache/turbine/modules/screens/Default.java
context.put("message","Hello from test link");

org/scott/screens/Willpage.java
context.put("message", data.getParameters().getString("userid") + "
is cool!");

When Willpage is there, I get "Whoever is cool".  When renamed, I get
"Hello from test link".  When put back into place, I still get Hello
from test link.

I do have module.cache=false set.

Will Stranathan


__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to