掲示板

Use ui taglib in velocity

11年前 に andres digiovanni によって更新されました。

Use ui taglib in velocity

New Member 投稿: 14 参加年月日: 12/09/18 最新の投稿
Hi!

I need to use an ui taglib inside a velocity template. I tried to use:

<liferay-ui:asset-links className="com.liferay.portlet.journal.model.JournalArticle" classPK="$resourceprimKey" />


And this:

$taglibLiferay.asset-links("com.liferay.portlet.journal.model.JournalArticle", $resourceprimKey)


But don't work, the are any method to do this?

Thank you.
Andrés.
11年前 に Bradley Wood によって更新されました。

RE: Use ui taglib in velocity

11年前 に andres digiovanni によって更新されました。

RE: Use ui taglib in velocity

New Member 投稿: 14 参加年月日: 12/09/18 最新の投稿
Hi,

thank you for the information but i need to use a velocity template because i'm using a web content template.

Regards,
Andrés
11年前 に Bradley Wood によって更新されました。

RE: Use ui taglib in velocity

11年前 に andres digiovanni によって更新されました。

RE: Use ui taglib in velocity

New Member 投稿: 14 参加年月日: 12/09/18 最新の投稿
Ok, thank you. I'll think another way to do.

Regards,
Andrés
thumbnail
9年前 に Steven Chen によって更新されました。

RE: Use ui taglib in velocity

New Member 投稿: 3 参加年月日: 14/03/21 最新の投稿
Edit* I believe I entered the answer to the wrong question in the wrong post.

Here is an edit to the right answer.

https://www.liferay.com/community/forums/-/message_boards/message/36678047