在 oracle MAF 中隐藏和显示按钮
Hide and show button in oracle MAF
如何使用 AMX
在 oracle 移动应用程序框架中隐藏和显示 commandButton
?
这是否可以在不使用 javascript/jQuery
的情况下在 AMX
中完成。
不需要JS。
使用 inlineStyle 的示例:
<amx:commandButton id="c1" text="#{row.name}" inlineStyle="#{row.salary >4000 ? 'display: none;' : 'display: inline;'}">
您也可以将呈现的属性用作described in the documentation。
如何使用 AMX
在 oracle 移动应用程序框架中隐藏和显示 commandButton
?
这是否可以在不使用 javascript/jQuery
的情况下在 AMX
中完成。
不需要JS。
使用 inlineStyle 的示例:
<amx:commandButton id="c1" text="#{row.name}" inlineStyle="#{row.salary >4000 ? 'display: none;' : 'display: inline;'}">
您也可以将呈现的属性用作described in the documentation。