Fórum
Crear Dynamic Web Project Portlet con Velocity
Aldo de Feo Martínez, modificado 15 Anos atrás.
Crear Dynamic Web Project Portlet con Velocity
New Member Postagens: 17 Data de Entrada: 20/02/09 Postagens Recentes
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:
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.
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.
Alberto Montero, modificado 15 Anos atrás.
RE: Crear Dynamic Web Project Portlet con Velocity
Expert Postagens: 357 Data de Entrada: 13/01/08 Postagens Recentes
Hola Adolfo.
En Liferay hay un portlet de ejemplo de velocity. Puedes echarle un vistazo a la clase VelocityPortlet.java .
Un saludo
Alberto Montero
Liferay España
En Liferay hay un portlet de ejemplo de velocity. Puedes echarle un vistazo a la clase VelocityPortlet.java .
Un saludo
Alberto Montero
Liferay España
Apoorva Prakash, modificado 12 Anos atrás.
RE: Crear Dynamic Web Project Portlet con Velocity
Liferay Master Postagens: 658 Data de Entrada: 15/06/10 Postagens RecentesAldo de Feo Martínez:
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.
Hi all,
I hope this link can help you in this regard...
Thanks and regards...
Apoorva Prakash