To experiment, I changed
tdk/webapps/newapp/WEB-INF/src/java/org/mycompany/newapp/modules/screens/Ind
ex.java to include the following line in doBuildTemplate :
context.put("blah", "<B>blah!!!!!!</B>");
Then I changed tdk/webapps/newapp/templates/app/screens/Index.vm to include
the line :
here is blah : $blah<BR>
The output of http://localhost:8080/newapp/servlet/newapp/template/Index.vm
is :
here is blah : $blah
Therefore, $blah is null.
My question is, does Turbine know to attempt to compile and use Index.java
when I hit Index.vm? I think that's the idea, but my
tdk/work/localhost/newapp/WEB-INF/lib directory is empty (I'm guessing
that's where the compiled Index.class would be stored).
Note : Everything works fine if I compile my own Index.class, place
Index.class in
tdk/webapps/newapp/WEB-INF/classes/org/mycompany/newapp/modules/screens, and
restart Turbine, but having to bounce the server sucks.
...Casey
==============================================
Casey Bragg - Software Engineer
Allegiance Telecom, Inc. Dallas, TX
469-259-2702 - [EMAIL PROTECTED]
==============================================
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]