在Eclipse中,我有一个我想用自定义属性修改的birt xml。如果我直接将它添加到xml并且我们的用户使用gui修改文件,则直接添加到xml的所有更改都将丢失。有没有办法将它添加到gui或添加属性到xml,以便它会持久存在?
<scalar-parameter name="scStartDate" id="64">
<property name="CUSTOM">field i want to add gets removed on save in gui</property>
<text-property name="helpText">Select a start date</text-property>
<text-property name="promptText">Start Date</text-property>
<property name="valueType">static</property>
<property name="dataType">string</property>
<property name="distinct">true</property>
<simple-property-list name="defaultValue">
<value type="javascript">BirtDateTime.addDay(BirtDateTime.today(), -7) </value>
</simple-property-list>
<list-property name="selectionList"/>
<property name="paramType">simple</property>
<property name="controlType">text-box</property>
<structure name="format">
<property name="category">Unformatted</property>
</structure>
</scalar-parameter>