Sandeep:

You don't need any class to be specified because it has already been
specified within the CustomizerVelocity portlet, which you are referring to.


Maybe you can specify a new class, anyway. I didn't try this out.

You call the methods inside of the VM file with

  $portlet.method(...)


Matthias


> -----Original Message-----
> From: Sandeep Nijsure [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 15, 2002 6:03 PM
> To: [EMAIL PROTECTED]
> Subject: Jetspeed - Velocity question
> 
> 
> Hi all,
> 
> I want to use a Velocity template (.vm) for presenting my 
> portlet. I am
> not sure, though, about the right way of associating the 
> portlet class and
> the VM file. 
> 
> I tried making my portlet a "ref" to CustomizerVelocity portlet, and
> specifying the ".vm" file in the parameter "template". But 
> then where do I
> specify my class file name? and how do I call methods from my 
> portlet code
> in the VM file?
> 
> Thanks in advance.
> Sandeep
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

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

Reply via email to