Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Reasons tablibs wouldn't work in an ADT?
Anyone know of a reason why a taglib wouldn't work in an asset publisher ADT?
I'm trying to take a copy of this template:
https://github.com/liferay/liferay-portal/blob/master/portal-web/test/functional/com/liferay/portalweb/dependencies/adt_asset_publisher_rich_summary.ftl
Into my own template to customize the rich summary. The document in my asset publisher has a related document and the template above works in 7.0. However a copy of that template in the global scope refuses to bring in taglibs. The error I get on related assets from that macro is ...
I'm trying to take a copy of this template:
https://github.com/liferay/liferay-portal/blob/master/portal-web/test/functional/com/liferay/portalweb/dependencies/adt_asset_publisher_rich_summary.ftl
Into my own template to customize the rich summary. The document in my asset publisher has a related document and the template above works in 7.0. However a copy of that template in the global scope refuses to bring in taglibs. The error I get on related assets from that macro is ...
The following has evaluated to null or missing:
==> liferay_asset["asset-links"] [in template "20116#20160#379048" at line 39, column 19]
----
Tip: It's the final [] step that caused this error, not those before it.
Hi,It doesn't make any difference for the taglib to work in any scope. Probably the reason for error is something different.It looks like in the global scope attributes passed are not correct. And the specific line is throwing null values.Detailed stack trace would be helpful to identify the cause of the error.Regards
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™