掲示板

call Jsp Object from Velocity Template

thumbnail
11年前 に Nicolas Tamayo によって更新されました。

call Jsp Object from Velocity Template

Junior Member 投稿: 29 参加年月日: 12/10/03 最新の投稿
Hi All.

I need call the renderResponse and RenderRequest Object from velocity Templeate.

how i can do this?

Thanks and Regards.
thumbnail
11年前 に Priyanka Dhingra によって更新されました。

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
thumbnail
11年前 に Nicolas Tamayo によって更新されました。

RE: call Jsp Object from Velocity Template

Junior Member 投稿: 29 参加年月日: 12/10/03 最新の投稿
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
thumbnail
11年前 に Juhi Kumari によって更新されました。

RE: call Jsp Object from Velocity Template

Expert 投稿: 347 参加年月日: 11/12/12 最新の投稿
Hi Nicolas,

Did u put this line in your portal-ext.properties ???
journal.template.velocity.restricted.variables=


Regards
Juhi
thumbnail
11年前 に Nicolas Tamayo によって更新されました。

RE: call Jsp Object from Velocity Template

Junior Member 投稿: 29 参加年月日: 12/10/03 最新の投稿
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.