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
Rendering assets via javascript
Hi
Im trying to do a portlet which renders other portlets via
assetrenderer in Liferay 7.4.43. I´ve done all the work for asset
publisher to find and display all the assets, but now i need to render
and append the assets content via ajax. I´ve found stuff like
<liferay-ui:display-asset> and such, but that wont work as the
content is added on the fly. I cant find anywhere how to use the jsp
of an asset to render its content. I can get the summary and title,
but the complete render of the asset via the getJspPath does not seem
to be available.
Could anybody help me with this?
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™