Fórum
Getting AssetTags with javascript
Rochad Tlusty, modificado 11 Anos atrás.
Getting AssetTags with javascript
Junior Member Postagens: 42 Data de Entrada: 18/01/12 Postagens Recentes
I'm trying to make a jQuery object of asset tags. The javascript is loaded in the theme, because we will need to load it on several pages. To get the tags, I use:
When I place this in a script tag on a portlet jsp page, I can get the list. When I move this to the themes main.js, it no longer works. Does anyone know how to achieve this?
var tags = $(Liferay.Service.Asset.AssetTag.getGroupsTags({groupIds: groupIds},callback));
When I place this in a script tag on a portlet jsp page, I can get the list. When I move this to the themes main.js, it no longer works. Does anyone know how to achieve this?
Rochad Tlusty, modificado 11 Anos atrás.
RE: Getting AssetTags with javascript
Junior Member Postagens: 42 Data de Entrada: 18/01/12 Postagens Recentes
bump? anyone?
Rochad Tlusty, modificado 10 Anos atrás.
RE: Getting AssetTags with javascript
Junior Member Postagens: 42 Data de Entrada: 18/01/12 Postagens Recentes
dfgdfgfdgfdgfd dfgdfgdfg dfgdfgdf
\\\
yjhghjghjghjt
\\\
yjhghjghjghjt