Message Boards

Reasons tablibs wouldn't work in an ADT?

Lee Jordan, modified 3 Years ago.

Reasons tablibs wouldn't work in an ADT?

Expert Posts: 449 Join Date: 5/26/15 Recent Posts
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 ...

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.
thumbnail
Sushil Patidar, modified 3 Years ago.

RE: Reasons tablibs wouldn't work in an ADT?

Expert Posts: 467 Join Date: 10/31/11 Recent Posts
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