masa lang wrote:

Hi ,

i want to devleop my first velocity portlet , i put the class file in :
C:\tomcat\webapps\jetspeed\WEB-INF\classes\org\apache\jetspeed\portal\portlets

and the vm file in :
C:\tomcat\webapps\jetspeed\WEB-INF\templates\vm\portlets\html
in myVm.vm , i have a variable $!name this $name is initialised in myClass ..


i created a velocity portlet with {action : myClass & template :myVm}
when i tried to see it  (this variable $name )

What's wrong ?



Your action class should be in:
WEB-INF/classes/org/apache/jetspeed/modules/actions/portlets

portal/portlets is where you'll find the actual complete Portlets
like the XSLPortlet, VelocityPortlet, etc... but since you're using
an existing portlet you don't have to deal with package.

--
Raphael Luta - [EMAIL PROTECTED]

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



Reply via email to