简体   繁体   English

Liferay 6.2-如何在JSP中使用Asset Publisher?

[英]Liferay 6.2 - how to use Asset Publisher in JSP?

I want to add an asset publisher in my Portlet and i want to configure the asset and any other portlets to be already configured to be able to deploy (drag and drop) anytime and anywhere in my site so would you please help me to find a solution for my problem 我想在我的Portlet中添加资产发布者,并且我想要配置资产和任何其他已配置为可以在站点中随时随地进行部署(拖放)的Portlet,所以请您帮我找到一个解决我的问题

Thanks 谢谢

Asset Publisher 资产发布者

The asset publisher can be configured to use inside your custom plugin portlet project using the associated taglibs and SDK. 可以将资产发布者配置为使用关联的标签库和SDK在自定义插件Portlet项目中使用。 For the Asset functionality the following programmatic definitions will be used. 对于资产功能,将使用以下程序定义。

Taglibs 标签库

  • asset-categories-error 资产类别误差
  • asset-categories-navigation 资产类别的导航
  • asset-categories-selector 资产类别选择器
  • asset-categories-summary 资产类别-摘要
  • asset-links 资产链接
  • asset-tags-error 资产标签错误
  • asset-tags-navigation 资产标签导航
  • asset-tags-selector 资产标签选择器
  • asset-tags-summary 资产标签 - 小结

Taglibs 标签库

Packages

  • com.liferay.portlet.asset com.liferay.portlet.asset
  • com.liferay.portlet.asset.model com.liferay.portlet.asset.model
  • com.liferay.portlet.asset.service com.liferay.portlet.asset.service
  • com.liferay.portlet.asset.service.persistence com.liferay.portlet.asset.service.persistence
  • com.liferay.portlet.asset.util.comparator com.liferay.portlet.asset.util.comparator
  • com.liferay.portlet.assetpublisher.util com.liferay.portlet.assetpublisher.util

JavaDocs 的JavaDoc

Conclusion 结论

The above information will give you a good place to begin using the Asset functionality in your custom plugin project. 以上信息将为您提供一个开始在自定义插件项目中使用Asset功能的好地方。 I realize this does not give you a concrete explanation of the functionality but in order to do that you need a specific question. 我意识到这并不能给您对功能的具体解释,但是要做到这一点,您需要一个特定的问题。 The Asset functionality is too broad of a topic to describe in a post. 资产功能太广泛,无法在帖子中描述。 Please reference the above material and ask a more pointed question 请参考上述材料,并提出更明确的问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM