Foren
call Jsp Object from Velocity Template
Nicolas Tamayo, geändert vor 11 Jahren.
call Jsp Object from Velocity Template
Junior Member Beiträge: 29 Beitrittsdatum: 03.10.12 Neueste Beiträge
Hi All.
I need call the renderResponse and RenderRequest Object from velocity Templeate.
how i can do this?
Thanks and Regards.
I need call the renderResponse and RenderRequest Object from velocity Templeate.
how i can do this?
Thanks and Regards.
Priyanka Dhingra, geändert vor 11 Jahren.
RE: call Jsp Object from Velocity Template
Liferay Master Beiträge: 501 Beitrittsdatum: 20.12.11 Neueste Beiträge
you can directly use $renderRequest
Ref: http://www.liferay.com/community/wiki/-/wiki/Main/Access+Objects+from+Velocity
Ref: http://www.liferay.com/community/wiki/-/wiki/Main/Access+Objects+from+Velocity
Nicolas Tamayo, geändert vor 11 Jahren.
RE: call Jsp Object from Velocity Template
Junior Member Beiträge: 29 Beitrittsdatum: 03.10.12 Neueste Beiträge
HI Priyanka.
i tried this call in the Velocity Template, but the Object is null.
Note: this template is portal_normal.vm that is the Velocity Template by Theme Plugin
i tried this call in the Velocity Template, but the Object is null.
Note: this template is portal_normal.vm that is the Velocity Template by Theme Plugin
Juhi Kumari, geändert vor 11 Jahren.
RE: call Jsp Object from Velocity Template
Expert Beiträge: 347 Beitrittsdatum: 12.12.11 Neueste Beiträge
Hi Nicolas,
Did u put this line in your portal-ext.properties ???
Regards
Juhi
Did u put this line in your portal-ext.properties ???
journal.template.velocity.restricted.variables=
Regards
Juhi
Nicolas Tamayo, geändert vor 11 Jahren.
RE: call Jsp Object from Velocity Template
Junior Member Beiträge: 29 Beitrittsdatum: 03.10.12 Neueste Beiträge
Hi Juhi.
No this property not has been put to the portal-ext.properties yet.
i will try your reply.
Thanks for your reply.
regards.
No this property not has been put to the portal-ext.properties yet.
i will try your reply.
Thanks for your reply.
regards.