Hola,
Estoy encantado de entrar en esta gran comunidad.
Tengo una duda existencial, y mi petición es recaudar la mayor información relacionada con duda.
Mi duda se parece a la de este señor:
Trying to create a velocity portlet
12/16/08 1:42 PM
Hi All,
I have been trying to create a velocity portlet, but without success. All I have done is create a portlet with the create.bat command and then instead of the view.jsp file, I am calling in a view.vm file. This file has the following code in it:
#set( $name = "Tom" ) Hello $name
However, all that gets printed on the screen is that exact line [#set( $name = "Tom" ) Hello $name], instead of Hello Tom.
I am guessing that I need to import something to make Liferay interpret my velocity code, but I have no idea what that is. I also tried looking at the "Hello_Velocity" portlet, but that didn't help any.
Any help would be greatly appreciated.
Thanks.
Si alguien me puede decir, en 4 pasos como se realizar un porlet, que al llamar al view.vm, me ejecute el codigo Velocity que este tiene dentro, ya estaré contento.
Gracias por adelantado.
PD: Yo uso Eclipse, y tengo montado el EXT y el portal corriendo, como los tutoriales que hay en el Wiki de Liferay.
Be kell jelentkezni ahhoz, hogy ez helytelenként legyen megjelölve.