<?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>Need info about the javascript function</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112433612" />
  <subtitle>Need info about the javascript function</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112433612</id>
  <updated>2026-04-04T05:29:04Z</updated>
  <dc:date>2026-04-04T05:29:04Z</dc:date>
  <entry>
    <title>RE: Need info about the javascript function</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112452825" />
    <author>
      <name>Mohammed Sulaiman</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112452825</id>
    <updated>2019-02-25T10:15:27Z</updated>
    <published>2019-02-25T10:15:27Z</published>
    <summary type="html">Thank you once again @Nader Jafari.</summary>
    <dc:creator>Mohammed Sulaiman</dc:creator>
    <dc:date>2019-02-25T10:15:27Z</dc:date>
  </entry>
  <entry>
    <title>RE: Need info about the javascript function</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112451861" />
    <author>
      <name>Nader Jafari</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112451861</id>
    <updated>2019-02-25T09:47:09Z</updated>
    <published>2019-02-25T09:47:09Z</published>
    <summary type="html">This is a url pattern that you can find in liferay-web.xml and handled with com.liferay.portal.servlet.filters.secure.SecureFilter .&lt;br /&gt; in a simple word : The user needs to be logged on to the portal first to see these URls.</summary>
    <dc:creator>Nader Jafari</dc:creator>
    <dc:date>2019-02-25T09:47:09Z</dc:date>
  </entry>
  <entry>
    <title>RE: Need info about the javascript function</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112451229" />
    <author>
      <name>Mohammed Sulaiman</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112451229</id>
    <updated>2019-02-25T09:23:17Z</updated>
    <published>2019-02-25T09:23:17Z</published>
    <summary type="html">Thank you so much for your reply. &lt;br /&gt;But  in the view.jsp, resource url  has &amp;#34;themeDisplay.getPathMain()&amp;#34; is appended which in turn returns &amp;#34;/c&amp;#34; ,&lt;br /&gt;but in the GetUsersCountMVCResourceCommand.java class we have component property&lt;br /&gt;&amp;#34;mvc.command.name=/users_admin/get_users_count&amp;#34; in which we dont have any  &amp;#34;/c&amp;#34;,&lt;br /&gt;so why &amp;#34;/c&amp;#34; is added and what does it convey&amp;#39;s here ?.&lt;br /&gt;&lt;br /&gt;Once again thanks for help @Nader Jafari.</summary>
    <dc:creator>Mohammed Sulaiman</dc:creator>
    <dc:date>2019-02-25T09:23:17Z</dc:date>
  </entry>
  <entry>
    <title>RE: Need info about the javascript function</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112450017" />
    <author>
      <name>Nader Jafari</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112450017</id>
    <updated>2019-02-25T06:58:11Z</updated>
    <published>2019-02-25T06:58:11Z</published>
    <summary type="html">I just find &lt;strong&gt;get_users_count  &lt;/strong&gt;mvc command in this class : com.liferay.users.admin.web.internal.portlet.action.GetUsersCountMVCResourceCommand.&lt;br /&gt;you can found this class in this path : modules\apps\users-admin\users-admin-web\src\main\java\com\liferay\users\admin\web\internal\portlet\action</summary>
    <dc:creator>Nader Jafari</dc:creator>
    <dc:date>2019-02-25T06:58:11Z</dc:date>
  </entry>
  <entry>
    <title>RE: Need info about the javascript function</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112448562" />
    <author>
      <name>Mohammed Sulaiman</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112448562</id>
    <updated>2019-02-24T16:52:34Z</updated>
    <published>2019-02-24T16:52:34Z</published>
    <summary type="html">Sorry,I couldn&amp;#39;t find this path in struct-config.xml file</summary>
    <dc:creator>Mohammed Sulaiman</dc:creator>
    <dc:date>2019-02-24T16:52:34Z</dc:date>
  </entry>
  <entry>
    <title>RE: Need info about the javascript function</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112438435" />
    <author>
      <name>Nader Jafari</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112438435</id>
    <updated>2019-02-22T18:37:09Z</updated>
    <published>2019-02-22T18:37:09Z</published>
    <summary type="html">Hi&lt;br /&gt;Search this path in struts-config.xml file.&lt;br /&gt;This is like a json action.</summary>
    <dc:creator>Nader Jafari</dc:creator>
    <dc:date>2019-02-22T18:37:09Z</dc:date>
  </entry>
  <entry>
    <title>Need info about the javascript function</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112433611" />
    <author>
      <name>Mohammed Sulaiman</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112433611</id>
    <updated>2019-02-22T14:54:41Z</updated>
    <published>2019-02-22T14:54:41Z</published>
    <summary type="html">I was going through the source code of usergroup admin portlet&amp;#39;s view.jsp, where we have javascript function to get the user&amp;#39;s count of user group.&lt;br /&gt;&lt;br /&gt;function &amp;lt;portlet:namespace /&amp;gt;getUsersCount(className, ids, status, callback) {&lt;br /&gt;        &lt;br /&gt;        AUI.$.ajax(&lt;br /&gt;            &amp;#39;&amp;lt;%= themeDisplay.getPathMain() %&amp;gt;/user_groups_admin/get_users_count&amp;#39;,&lt;br /&gt;            {&lt;br /&gt;                data: {&lt;br /&gt;                    className: className,&lt;br /&gt;                    ids: ids,&lt;br /&gt;                    status: status&lt;br /&gt;                },&lt;br /&gt;            }&lt;br /&gt;        );&lt;br /&gt;    }  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt; but iam unable to understand this line  &amp;#34;&amp;lt;%=themeDisplay.getPathMain() %&amp;gt;/user_groups_admin/get_users_count &amp;#34;.&lt;br /&gt;Is this a json web service or just invocation of method which returns a count number.&lt;br /&gt;&lt;br /&gt;Thanks.</summary>
    <dc:creator>Mohammed Sulaiman</dc:creator>
    <dc:date>2019-02-22T14:54:41Z</dc:date>
  </entry>
</feed>
