如何在properties-local.xml或properties form-runner.xml中集成xbl wizard组件?

How to integrate the xbl wizard component in properties-local.xml or properties form-runner.xml?

我想添加一个 class css 'visited' 到 wizard-toc 所以我在 wizard.xbl 中修改了这个表达式

<xh:li class="{{
    'has-errors' [$top-level-section-has-any-errors],
    'invalid'    [$top-level-section-has-visible-errors],
    'incomplete' [$top-level-section-incomplete],
    'not-started'[$top-level-section-not-started],

    'disabled'   [$top-level-section-disabled],
    'active'     [$top-level-section-active],
    'visited'     [$top-level-section-visited],

}}">

wizard.css

.orbeon .xbl-fr-wizard .fr-wizard-toc .nav .visited> span > a {
  color: #ffffff;
  background-color: #ffaa48;
}

所以我在哪里可以在属性文件中声明目录 /xbl/wizard 以及我将使用哪个 属性

您可以将修改后的文件放在:

WEB-INF/resources/xbl/orbeon/wizard/wizard.xbl

但要非常小心:如果升级 Orbeon Forms,则必须将更改与新版本 wizard.xbl 合并。