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

>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: Sat, 4 May 2002 21:00:53 -0400
>
>Thanks but that didn't change the symptoms.
>
>Matt W
>
>  wrote:
>
>>Matthew S. Woodworth wrote:
>>
>>>Friends,
>>>
>>>I can't get even the most basic page to work.  I'm trying to learn the 
>>>framework by mucking around with the sample app.  I added a new vm in the 
>>>newapp/templates/apps/screens dir and I put a java file with a matching 
>>>name in org/mycompany/newapp/modules/screens.
>>>
>>>I had this idea that it would "just work".  It properly sets the title 
>>>and puts the header, footer, etc. on there but it says mswtag = $mswtag 
>>>on my screen.  Any ideas?
>>>Matt W.
>>>
>>>PS  Here's the code
>>>
>>>
>>>public class MSWFirstVM extends VelocityScreen {
>>>     public void doBuild(RunData data, Context context) {
>>>         context.put("mswtag", "Hello World");
>>
>>
>>You should try with :
>>context.put("mswtag", new String("Hello Wold"));
>>
>>>
>>>     }
>>>}
>>>========================================
>>><html>
>>>$page.setTitle("MSW test page")
>>><body>
>>>This is a test
>>><BR><BR>
>>>mswtag = $mswtag
>>><BR><BR>
>>></body>
>>></html>
>>
>>St�phane
>>
>>
>>_________________________________________________________
>>Do You Yahoo!?
>>Get your free @yahoo.com address at http://mail.yahoo.com
>>
>>
>>--
>>To unsubscribe, e-mail:   <mailto:turbine-user-
>>[EMAIL PROTECTED]>
>>For additional commands, e-mail: <mailto:turbine-user-
>>[EMAIL PROTECTED]>
>>
>
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>
>


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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

Reply via email to