<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>liferay theme and liferay portlet taglibs not working in version 7.1</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112523289" />
  <subtitle>liferay theme and liferay portlet taglibs not working in version 7.1</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112523289</id>
  <updated>2026-04-04T01:06:40Z</updated>
  <dc:date>2026-04-04T01:06:40Z</dc:date>
  <entry>
    <title>RE: liferay theme and liferay portlet taglibs not working in version 7.1</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112524109" />
    <author>
      <name>Kevin Neibarger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112524109</id>
    <updated>2019-02-28T19:11:22Z</updated>
    <published>2019-02-28T19:11:22Z</published>
    <summary type="html">Not an issue, figured out it works I was just looking at the incorrect files when exceptions came up.. </summary>
    <dc:creator>Kevin Neibarger</dc:creator>
    <dc:date>2019-02-28T19:11:22Z</dc:date>
  </entry>
  <entry>
    <title>liferay theme and liferay portlet taglibs not working in version 7.1</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112523288" />
    <author>
      <name>Kevin Neibarger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112523288</id>
    <updated>2019-02-28T18:25:10Z</updated>
    <published>2019-02-28T18:25:10Z</published>
    <summary type="html">I&amp;#39;ve noticed that I cannot use the following as I did in 6.2&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&amp;lt;%@ taglib uri=&amp;#34;http://liferay.com/tld/theme&amp;#34; prefix=&amp;#34;liferay-theme&amp;#34; %&amp;gt;&amp;lt;%@taglib uri=&amp;#34;http://liferay.com/tld/portlet&amp;#34; prefix=&amp;#34;liferay-portlet&amp;#34; %&amp;gt;&lt;br /&gt;&amp;lt;portlet:defineObjects /&amp;gt;&amp;lt;liferay-theme:defineObjects /&amp;gt; &amp;lt;%&lt;br /&gt;Role role = RoleLocalServiceUtil.getRole(user.getCompanyId(), &amp;#34;USER_TYPE&amp;#34;);&lt;br /&gt;String[] environment = (String[])themeDisplay.getScopeGroup().getExpandoBridge().getAttribute(&amp;#34;Environment&amp;#34;);&lt;/blockquote&gt;&lt;br /&gt;What is the equivalent in Liferay 7.1? In the code it&amp;#39;s telling me &lt;strong&gt;user&lt;/strong&gt; and &lt;strong&gt;themeDisplay&lt;/strong&gt; are not defined or that the compiler cannot find the symbol. There doesn&amp;#39;t seem to be documentation on this anywhere.. </summary>
    <dc:creator>Kevin Neibarger</dc:creator>
    <dc:date>2019-02-28T18:25:10Z</dc:date>
  </entry>
</feed>
