最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Izpack 5 installer not recognising sub field setting - Stack Overflow

programmeradmin3浏览0评论

I am converting an izpack 4 installer to izpack 5 (5.1.3). I have the following rule based field with sub-fields that has a setting that is in the userInputSpec from the izpack 4 configuration. The settings are not appearing in the sub-fields. Can someone please tell me what is wrong or has changed here? I could not find anything in the documentation:

  <field type="rule" variable="URL">
     <description
     id="ServerSettingsPanel.Server.URL.description"/>
     <spec layout="http:// O:10:U : N:5:5 /myApp"
           resultFormat="displayFormat" set="0:localhost 1:9300"/>
     <validator class="com.izfe.izpack.panels.userinput.validator.RegularExpressionValidator"
                id="HostValidator.validationText"
                txt="Invalid URL!">
        <configuration>
           <pattern>(http://[a-zA-Z0-9_-][a-zA-Z0-9:/_\.-]*[a-zA-Z0-9/])|(http://localhost(:[0-9]+)*)</pattern>
        </configuration>
     </validator>
  </field>

I was expecting the sub-fields to be filled in with the "set" value as they were in the izpack 4 installer, but they are blank.

发布评论

评论列表(0)

  1. 暂无评论