问题标签 [liferay-aui]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
javascript - 如果任何 aui 表单字段值发生更改,则启用 aui 按钮
我有一个用户信息表单,其中我的表单中有合金 aui 按钮。
我已使用属性 disabled="true" 将其设置为禁用。现在,如果我的任何输入文本框或复选框值发生更改,我想启用此按钮。
那么,如果以上输入文本或下拉菜单或复选框值发生更改,我该如何启用我的 aui 按钮?
javascript - Detecting Enter pressed in AUI Dialog
I want to detect if enter was used in html textfield i load into the Dialog.
If enter was pressed i want to simulate a click on the Save
-Button.
i tried many things, basically pushing this code around:
Below is the AUI-Dialog (in which i tried above code)
And this is the html part that defines the body of the dialog:
I checked back with the API of AlloyUI and found this: http://deploy.alloyui.com/api/classes/Dialog.html
Under Attributes: There is no open which is used in every tutorial/code i found. Therefore this cannot work (at least i think so). i tested initialize but this wont work either.
thank you for any help/hints.
jquery - Liferay ajax 请求和 JSON 响应
我是 Liferay 的新手。我使用服务生成器来创建数据库。我手动填充它们。最终我可以在 JSP 中使用PersonLocalServiceUtil class
. 现在我想在我的程序中使用 Ajax。
例如:具有personID
、personWeight
、personTemperature
和属性的人datetime
存储在数据库中。
我想通过 ajax 调用personID
来查看他的体重或特定时间线的温度图。据我所知,我可以从数据库调用列表到控制器但我不知道如何将其转换为JSON
对象并根据请求将其转发给 JSP,以便 JSP 不会刷新页面而是显示新图形。
eclipse - 如何将一些 xyz.war 文件导入 eclipse ide
你好堆栈溢出,
我正在使用 liferay portal-6.0.0 版本,并且我有一个“greeting.war”文件。
WAR 文件正确部署,在其中显示 portlet,Add Category
并且在添加到页面后正确显示输出。
现在我想得到那个war文件的代码,并想把那个代码作为一个greeting-portlet
(即作为一个liferay项目)导入到eclipse中。
所以我希望你能有所帮助。
谢谢你。
liferay - 日期在 Liferay portlet 中没有正确显示
在我的 portlet 中,我有一个表单,我通过以下代码显示日期
JSP:
JSP 中的脚本
它在页面上显示日期,但问题在于布局日期文本字段和日历图标都没有出现在同一行中。请帮帮我
liferay-aui - 奇怪的 AUI 行为
到目前为止,我假设对 AUI 的调用将在嵌入的 JavaScript 中同步处理。现在我注意到以下行为:
我期望执行顺序 (1) (2)
我得到 (2) (2) (2) (1) (1) (1)
我可以忍受三重执行,但我无法解释相反的顺序。
通过在 AUI 沙箱内移动 (2) 可以轻松解决该问题,但我仍然想知道......
liferay-6 - 如何限制其他用户组成员查看文档
我创建了一个包含四个用户组的组织。我想限制用户组查看其他用户组上传的文件。
IE
组织 1
用户组 1
- 一个
- 乙
用户组 2
- C
- D
用户组 3
- 乙
- F
用户组 4
- G
- H
我正在使用 CustomLanding 钩子登陆组织页面。
由上可知,如果 A 上传了一个文档,则只有用户组 1 中的 B 可以查看该文档。
同样,我也想将可见条件限制为其他组。
请指导我实现这一目标。
问候,迪内什。
liferay-6 - 如何在 Liferay 6.1 中创建子组织
我想在 Liferay 6.1 的组织中创建一个子组织。
请指导我实现这一目标。
问候,迪内什。
liferay - 如何在liferay的aui弹出窗口中显示文本框值?
在这个jsp中,当我使用aui在按钮上单击它时,我已经显示了弹出窗口。当我在弹出框上单击它时,我想显示文本框值有人可以帮助我吗?我不知道如何使用pop。
liferay - LiferayWindowState.EXCLUSIVE 无法解析为类型?
这是我的 view.jsp。当我单击 view.jsp 上的超链接时,我想在弹出窗口中显示 jpop.jsp 页面?谁能告诉我这可能吗?我是liferay的新手。我在 LiferayWindowState.EXCLUSIVE 有错误无法解析为类型