Sandeep, You may be more interested in writing an action to associate with your portlet than writing an actual portlet class itself.
Scott > -----Original Message----- > From: Wimmer, Matthias [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 15, 2002 5:11 PM > To: 'Jetspeed Users List' > Subject: RE: Jetspeed - Velocity question > > > 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:jetspeed-user- > [EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:jetspeed-user- > [EMAIL PROTECTED]>
