Forums de discussion

Passing parameter from jsp to template

Pawel Michalski, modifié il y a 8 années.

Passing parameter from jsp to template

New Member Publications: 12 Date d'inscription: 03/02/15 Publications récentes
Hi.

How I can pass parameter from JSP VIEW to template?
I have code:

JSP
this parameter is avaiable forom JSP and I want to pass this value to content
${somevalue}
<liferay-ui:journal-article articleId="234553" groupId="tmpgroup" />


This article id has template FreemarkerTemplate,
How i can read ${somevalue} in template?

Do you have any idea?
thumbnail
Andew Jardine, modifié il y a 8 années.

RE: Passing parameter from jsp to template

Liferay Legend Publications: 2416 Date d'inscription: 22/12/10 Publications récentes
Hi Pawel,

Are you referrerring to a Web Content Template? or a Application Display Template?
Kamil Ruszczyk, modifié il y a 7 années.

RE: Passing parameter from jsp to template

New Member Publications: 3 Date d'inscription: 16/12/15 Publications récentes
Hi,
I'm also interested in this. I am referring to Web Content Template.

Best regards