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]>