Hi raphael,
i did what you said but i saw something bizzare , there is no portlet (.class like
XSLPortlet, VelocityPortlet, etc...):
C:\tomcat\webapps\jetspeed\WEB-INF\classes\org\apache\jetspeed\modules\actions\portlets
but in the interface of jetspeed i saw them in portlets browser ....and i can use
them !!!
What is wrong ?
thanks
raphael <[EMAIL PROTECTED]> wrote:
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]
---------------------------------
Post your free ad now! Yahoo! Canada Personals