Woohoo! After all this time, I finally found something that's not
actually in my head! (*Maybe* one of these days I'll start looking
at the code to see how that's all getting worked out.)
w
--- [EMAIL PROTECTED] wrote:
> >
> > 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
>
> Hi Will,
>
> Hmmm...module.cache *should* be enough. Must be a bug somewhere in
> the caching
> code that decides which file to look at. :-( This one might be
> pretty hard to
> track down.
>
> -jon
>
> --
> Scarab -
> Java Servlet Based - Open Source
> Bug/Issue Tracking System
> <http://scarab.tigris.org/>
>
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search:
> <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
>
__________________________________________________
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]