List of usage examples for com.liferay.portal.kernel.util WebKeys ASSET_LAYOUT_TAG_NAMES
String ASSET_LAYOUT_TAG_NAMES
To view the source code for com.liferay.portal.kernel.util WebKeys ASSET_LAYOUT_TAG_NAMES.
Click Source Link
From source file:com.liferay.asset.internal.util.AssetHelperImpl.java
License:Open Source License
@Override public Set<String> addLayoutTags(HttpServletRequest request, List<AssetTag> tags) { Set<String> tagNames = (Set<String>) request.getAttribute(WebKeys.ASSET_LAYOUT_TAG_NAMES); if (tagNames == null) { tagNames = new HashSet<>(); request.setAttribute(WebKeys.ASSET_LAYOUT_TAG_NAMES, tagNames); }//from w ww . j a v a 2s .c om for (AssetTag tag : tags) { tagNames.add(tag.getName()); } return tagNames; }