I'm still fairly new to Turbine and am trying to do some customization
of the sample app I built when I did the TDK 2.1 HowTo.  Just as a
trivial trial run, I want to add a timestamp to the page you see when
you first go to the site.  It's a rendering of Login.vm, so I assumed I
could just create a Login.java--I accomplished the same thing by editing
Index.vm and Index.java.  But it seems Login.vm is a special case.  My
Login class is never called.  I even tested it by deliberately putting a
divide-by-zero bug in doBuildTemplate(), but Login.vm comes up without a
whimper.  I just copied Index.java to Login.java and changed the
classname, and saved it in the same directory, so I'm confident I'm not
putting it in the wrong place.

I've read the docs both in the /site directory and on the Jakarta web
site, and nothing jumps out at me.  I've tried to trace the program flow
by reading Turbine.java and trying to trace through the various imports
and method calls, but I'm just confusing myself.

Anybody got a quick and easy pointer for me?  If there's a doc or source
file somewhere, I'm not afraid to read it, I just don't know where to
look.  Of course, more complete answers are welcome as well, even if
it's "You can't do that."

Am I barking up a wrong tree?  My ultimate goal is to have a public
front page with a certain amount of dynamic content that you can see
without having to log in, and then after you log in you get extra
functions.  Do I just have to bite the bullet and go the
custom-SessionValidator route?

Thanks.

Mark Nutter
[EMAIL PROTECTED]
My horoscope says today is a bad day to be superstitious.



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to