title: How Liferay's portlets name are generated?
body: <p>In most cases it is necessary to know Liferay portlet's actual name.</p>
  
  <p>Particularly in Liferay's theme I can add "Login portlet" like the following:</p>
  
  <pre><code>$theme.runtime("58", "", $velocityPortletPreferences.toString())
  </code></pre>
  
  <p>And it works. But when I try to add some custom portlet with ID "some-portlet-id"</p>
  
  <pre><code>$theme.runtime("some-portlet-id", "", $velocityPortletPreferences.toString())
  </code></pre>
  
  <p>And it doesn't work. I suspect, that Liferay portlet's name doesn't equal to portlet's ID.</p>
  
  <p>In this case could somebody explain me, how those names are generated?</p>
  
  <p>Thanks in advance.</p>