Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 liferay session .js 中获取应用程序上下文名称的名称?这是必需的,因为我需要在会话超时弹出窗口中放置一个注销链接,一旦单击它会将我重定向到该应用程序的登录页面。非常感谢任何帮助。
在 session.js 中,您应该可以使用具有 getPathContext() 方法的“themeDisplay”对象。
希望能帮助到你!