How do you call MSWFirstVM.vm ?!
akmal
>From: Matthew S. Woodworth <[EMAIL PROTECTED]>
>Reply-To: "Turbine Users List" <[EMAIL PROTECTED]>
>To: "Turbine Users List" <[EMAIL PROTECTED]>
>Subject: Re: I can't seem get a basic turbine/velocity page to work
>Date: Sun, 5 May 2002 09:31:39 -0400
>
>I did that. It doesn't seem to be getting called (my text didn't get to
>the console). Here are the file names
>
>/Users/vanguard/src/tdk/webapps/newapp/templates/app/screens/MSWFirstVM.vm
>
>/Users/vanguard/src/tdk/webapps/newapp/WEB-
>INF/classes/org/mycompany/newapp/modules/screens/MSWFirstVM.class
>
>Once again, here's the code:
>
>public class MSWFirstVM extends VelocityScreen {
>
> public void doBuild(RunData data, Context context) {
> System.out.println("In the doBuild method");
> context.put("mswtag", new String("Hello World"));
> }
>
>}
>========================================
><html>
>$page.setTitle("MSW test page")
><body>
>This is a test
><BR><BR>
>mswtag = $mswtag
><BR><BR>
></body>
></html>
>
>Any idea why the doBuild isn't getting called?
>
>Matt W.
>
>On Sunday, May 5, 2002, at 07:30 AM, akmal Sarhan wrote:
>
>>
>>try to put a debug statement in your doBuild() to see if it gets called
>>at all, it might just be a problem of capitalization issue of the class
>>name ;)
>>akmal
>
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>