更新时间:2023-10-02 15:25:58
您可以将以下内容添加到您的主题中以更改表单标签的类:
You can add the following to your theme to change the class of the form tag:
<control mode="override">
<name>Form</name>
<property>
<name>styleClass</name>
<value>newclass otherclass</value>
</property>
</control>
更新:使用以下内容仅在名为 index.xsp 的 XPage 上使用它:
Update: use the following to only use this on an XPage called index.xsp:
<control mode="override">
<name>Form</name>
<property>
<name>styleClass</name>
<value>#{javascript:(view.getPageName() == '/index.xsp')?'newClass otherClass':'xspForm'}</value>
</property>
</control>