留言板
call Jsp Object from Velocity Template
Nicolas Tamayo,修改在11 年前。
call Jsp Object from Velocity Template
Junior Member 帖子: 29 加入日期: 12-10-3 最近的帖子
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,修改在11 年前。
RE: call Jsp Object from Velocity Template
Liferay Master 帖子: 501 加入日期: 11-12-20 最近的帖子
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,修改在11 年前。
RE: call Jsp Object from Velocity Template
Junior Member 帖子: 29 加入日期: 12-10-3 最近的帖子
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,修改在11 年前。
RE: call Jsp Object from Velocity Template
Expert 帖子: 347 加入日期: 11-12-12 最近的帖子
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,修改在11 年前。
RE: call Jsp Object from Velocity Template
Junior Member 帖子: 29 加入日期: 12-10-3 最近的帖子
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.