如何更改Oracle MAF的默认跳板图标和对齐方式? [英] How to change Oracle MAF's default springboard icon and alignment?
问题描述
如何从以下位置转换给定的跳板切换按钮:
How can I convert given springboard toggle button from:
此-右对齐菜单图标,单击后打开下拉菜单
This -- Right aligned menu icon, opens dropdown menu on click
为此-左对齐条形图标,单击后直接打开弹跳板.
To This -- Left aligned with bars icon, directly open spring board on click.
推荐答案
我们还可以执行以下操作来实现这一目标.
We can also do the following to achieve this.
-
通过取消选中显示Springboard切换按钮"来禁用默认的Springboard切换按钮.
Disable the default Springboard toggle button by unchecking the "Show Springboard Toggle button".
从应用程序功能数据控件中拖放方法gotoSpringboard()方法,作为所有页面主面上的命令链接.
Drag and drop the method gotoSpringboard() method from ApplicationFeatures data control as a command link in the primary facet in all the pages.
删除文本并为链接添加一个跳板图标,或添加一个CSS类来实现该跳板图标.
Remove the text and add an springboard icon for the link or add an css class to achieve the springboard icon.
我的代码如下.
<amx:commandLink actionListener="#{bindings.gotoSpringboard.execute}"
disabled="#{!bindings.gotoSpringboard.enabled}" id="cl2" styleClass="fa fa-bars fa-2x">
</amx:commandLink>
这篇关于如何更改Oracle MAF的默认跳板图标和对齐方式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!