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

remove calendar icon for <af:inputDate>

我在页面中有一个,我不想要输入文本旁边的日历图标。我怎样才能删除那个日历图标?

谢谢, 肖恩

您可以通过自定义 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 伪元素
  • Display 属性 in the 属性 inspector 从 inline 设置为 none:

    af|inputDate::launch-icon-style { 显示:none; }