java - 删除 <af :inputDate> 的日历图标

标签 java calendar jdeveloper

我的页面中有一个,但我不希望输入文本旁边有日历图标。如何删除该日历图标?

谢谢, 肖恩

最佳答案

您可以通过自定义 Oracle ADF 皮肤 CSS 来隐藏日历图标:

https://docs.oracle.com/cd/E21764_01/user.1111/e21420/adfsg_faces.htm#ADFSG581

The process to change a component-specific selector is the same for both the ADF Faces and ADF Data Visualization components. In the Selector Tree, you expand the Faces Components Selectors or Data Visualization Selectors node to select the selector of the component you want to modify. You then set values for this selector using the Property Inspector. You can also set properties for any pseudo-elements, component style classes, component selector aliases, or descendant selectors that the selector you select references.

就您而言:

  • 导航到您的皮肤
  • 导航到皮肤设计面板中名为launch-icon-styleaf:inputDate伪元素
  • 在属性检查器中将其显示属性从内联设置为:

    af|inputDate::启动图标样式 { 显示:无; }

关于java - 删除 <af :inputDate> 的日历图标,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55009926/

相关文章:

calendar - 独立日历应用程序/软件

java - 如何将分钟添加到循环内的日期

java - NoClassDefFoundError 只有一些设备,只能来自 playstore?这甚至可能吗?

java - 如何将创建的文件保存到同一项目目录? java

java - Camel - 将特定参数从路由传递到通用 bean 方法

d3.js:在轴上的刻度之间对齐文本标签

java - 我在运行时创建的 Swing 组件未显示在 JPanel 中

java - 将项目从 JDeveloper 转换为 Netbeans

Java ADF 使用来自数据控制类的存储参数和堆叠条形图

java - Lombok 中带有@Builder 或@Getter 注释的默认字段值