[英]How to integrate the xbl wizard component in properties-local.xml or properties form-runner.xml?
I want to add a class css 'visited' to wizard-toc so i modified in wizard.xbl with this expression 我想添加一个类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],
}}">
and in wizard.css 在wizard.css中
.orbeon .xbl-fr-wizard .fr-wizard-toc .nav .visited> span > a {
color: #ffffff;
background-color: #ffaa48;
}
so where can I declare the directory /xbl/wizard in properties files and which property I will use? 所以我可以在属性文件的哪里声明目录/ xbl / wizard ,我将使用哪个属性 ?
You can place your modified file under: 您可以将修改后的文件放在以下位置:
WEB-INF/resources/xbl/orbeon/wizard/wizard.xbl
But be very careful: if you upgrade Orbeon Forms, you will have to merge changes with the newer version of wizard.xbl
. 但是请务必小心:如果升级Orbeon Forms,则必须将更改与更新版本的
wizard.xbl
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.