Fórumok
Crear Dynamic Web Project Portlet con Velocity
Aldo de Feo Martínez, módosítva 15 év-val korábban
Crear Dynamic Web Project Portlet con Velocity
New Member Bejegyzések: 17 Csatlakozás dátuma: 2009.02.20. Legújabb bejegyzések
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, módosítva 15 év-val korábban
RE: Crear Dynamic Web Project Portlet con Velocity
Expert Bejegyzések: 357 Csatlakozás dátuma: 2008.01.13. Legújabb bejegyzések
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, módosítva 12 év-val korábban
RE: Crear Dynamic Web Project Portlet con Velocity
Liferay Master Bejegyzések: 658 Csatlakozás dátuma: 2010.06.15. Legújabb bejegyzésekAldo 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