Reputation: 51159
liferay-portlet.xml
file allows <css-class-wrapper>
tag inside <portlet>
tag.
Is it possible to determine it's content programmatically in portlet class or JSP?
Upvotes: 2
Views: 1149
Reputation: 4210
You can get it by code below
Portlet portlet = (Portlet)request.getAttribute(WebKeys.RENDER_PORTLET);
String cssClassWrapper=portlet.getCssClassWrapper();
Upvotes: 4