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

Reply via email to