Did you try to use what you want in the Action class? You can build a portlet from the rundata object that can then be used in the Action class. However, in general the portlet should be accessible in the way you described I believe. I have not tried it, however, and probably the Action class is a better place to attach functions since it is the code behind the template.
Josh Hone >From: Sandeep Nijsure <[EMAIL PROTECTED]> >Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: How to interact Velocity and Jetspeed? >Date: Mon, 8 Jul 2002 11:59:31 -0500 (CDT) > >Hi all, > >If my Jetspeed portlet has a method public ConcreteElement getFoo(), can >it be called from a Velocity template (a .vm file?) I tried using >$portlet.getFoo(), but that does not work. > >I suspect I can only use getContent(Rundata) and not any other method. But >if I want multiple pieces of info. from the Java portlet code, how do I do >it? > >Thanx a lot >Sandeep > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> > _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
